]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fix cursor issues with ODMs and HW rotations
authorNevenko Stupar <nevenko.stupar@amd.com>
Mon, 10 Jun 2024 19:32:05 +0000 (15:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:10:36 +0000 (17:10 -0400)
commitee8287e068a3995b0f8001dd6931e221dfb7c530
tree424a74e59b9e462831cb43be813cbe6fa3588e2c
parentc6dfe8f20b00d0ac6addc0024d4c70693e78e7cd
drm/amd/display: Fix cursor issues with ODMs and HW rotations

[WHY & HOW]
Current code for cursor positions does not work properly
with different ODM options and HW rotations like ODM
2to1, 3to1 and 4to1, and has different issues depending on
angle of HW rotations.

[HOW]
Fixed these issues so to work properly when ODM is used with HW rotations.

Reviewed-by: Sridevi Arvindekar <sridevi.arvindekar@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nevenko Stupar <nevenko.stupar@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/dpp/dcn401/dcn401_dpp_cm.c
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c