]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: use actual cursor size instead of max for CAB allocation
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 18 Aug 2022 21:55:01 +0000 (17:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 21:58:48 +0000 (17:58 -0400)
commit3f0b62489e4a058489006f3f3fb1e834b179aa98
treec2f83df550a7d17849a1e456c46093b15f80a488
parentcb1034b8ef3383a702af614f130c99685d8748df
drm/amd/display: use actual cursor size instead of max for CAB allocation

[Why&How]
When calculating allocation for cursor size, get the real cursor through
the HUBP instead of using the maximum cursor size for more optimal
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