]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fix ODM + underscan case with cursor
authorAlvin Lee <alvin.lee2@amd.com>
Fri, 10 May 2024 19:44:57 +0000 (15:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 May 2024 20:20:25 +0000 (16:20 -0400)
commit44b9a7cfc035166f23b9fddecac3219133a8a15f
treead974221ecaedc253ef9783ad26d711fb5de429b
parent6b7fd8306efbd406fca9e8d27b2c103f951760c8
drm/amd/display: Fix ODM + underscan case with cursor

[Description]
There is a corner case where we're in an ODM config that
has recout.x != 0. In these scenarios we have to take into
account the extra offset in the ODM adjustment for cursor.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@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/hwss/dcn401/dcn401_hwseq.c