drm/amd/display: Fix CAB cursor size allocation for DCN32/321
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 18 Aug 2022 21:25:05 +0000 (17:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Aug 2022 21:03:29 +0000 (17:03 -0400)
commit4fd7f14b56b2e727dd66a62e217e57015da4e9fd
treee848fa8dc262b6cf2c0cd966e4b237c1b08d865e
parent6783e6bbc2457dbed351fb0d2477aa6060a7d32b
drm/amd/display: Fix CAB cursor size allocation for DCN32/321

For calculating cursor size allocation, surface size was used, resulting
in over allocation

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c