bianbu-linux-6.6/drivers/gpu/drm/amd
Nicholas Kazlauskas 56b922c106 drm/amd/display: Fix incorrect cursor pos on scaled primary plane
[Why]
Cursor pos is correctly adjusted from DC side for source rect offset
on DCN ASIC, but only on the overlay.

This is because DM places offsets the cursor for primary planes only
to workaround missing code in DCE for the adjustment we're now correctly
doing in DC for DCN ASIC.

[How]
Drop the adjustment for source rect from the DM side of things and put
the code where it actually belongs - in DC on the pipe level.

This matches what we do for DCN now.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Zhan Liu <Zhan.Liu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-04-07 14:20:45 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu/psp: dont warn on missing optional TA's 2020-04-07 14:07:41 -04:00
amdkfd drm/amdkfd: kfree the wrong pointer 2020-04-01 14:44:22 -04:00
display drm/amd/display: Fix incorrect cursor pos on scaled primary plane 2020-04-07 14:20:45 -04:00
include drm/amdkfd: Consolidate duplicated bo alloc flags 2020-03-10 15:54:34 -04:00
powerplay drm/amd/powerplay: avoid using pm_en before it is initialized 2020-04-03 17:22:44 -04:00