aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorTaimur Hassan <Syed.Hassan@amd.com>2022-08-25 12:33:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-09-13 14:33:00 -0400
commit39fc82b7e031dbf5145de485d66f4a23ef711786 (patch)
tree2d902ebc97b2ba5c1478d3fd1d4a30f5dae1c505 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent247a94a627dbd9fed370b575288b874ef4a01991 (diff)
downloadlinux-39fc82b7e031dbf5145de485d66f4a23ef711786.tar.gz
linux-39fc82b7e031dbf5145de485d66f4a23ef711786.tar.bz2
linux-39fc82b7e031dbf5145de485d66f4a23ef711786.zip
drm/amd/display: Round cursor width up for MALL allocation
[Why & How] When calculating cursor size for MALL allocation, the cursor width should be the actual width rounded up to 64 alignment. Additionally, the bit depth should vary depending on color format. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com> Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com> Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions