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
..
2020-03-02 09:22:43 +01:00
2020-03-31 15:15:47 +10:00
2020-03-31 15:15:47 +10:00
2020-03-31 15:15:47 +10:00
2020-03-11 07:27:21 +10:00
2020-03-31 15:15:47 +10:00
2020-02-21 05:44:40 +10:00
2020-03-20 13:08:38 +10:00
2020-03-02 09:22:49 +01:00
2020-03-19 11:01:58 +10:00
2020-03-12 12:42:56 +10:00
2020-03-02 09:22:56 +01:00
2020-03-31 15:15:47 +10:00
2020-03-11 07:27:21 +10:00
2020-03-19 10:11:09 +10:00
2020-03-19 11:01:58 +10:00
2020-03-12 12:42:56 +10:00
2020-03-16 09:26:18 +01:00
2020-03-11 07:27:21 +10:00
2020-01-14 16:22:17 -05:00
2019-10-08 18:29:00 +02:00
2020-03-19 10:40:27 +10:00
2020-03-31 15:15:47 +10:00
2020-01-14 16:22:17 -05:00
2020-01-14 16:22:17 -05:00
2020-03-16 09:27:09 +01:00
2020-03-09 09:22:50 +00:00
2020-03-16 09:25:22 +01:00