]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use correct plane for CAB cursor size allocation
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Fri, 19 Aug 2022 19:11:19 +0000 (15:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Aug 2022 21:08:07 +0000 (17:08 -0400)
commitdc8db61b6b37de0bcf71851da317a34229b57db2
tree625420d138ad6b5600ebe630d4574e0c1d0abad9
parent8bb9516f5cac72c076560d9c223e5eda7050cbdb
drm/amd/display: Use correct plane for CAB cursor size allocation

[Why&How]
plane and stream variables used for cursor size allocation calculation
were stale from previous iteration. Redo the iteration to find the
correct cursor plane for the calculation.

Reviewed-by: Alvin Lee <Alvin.Lee2@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