mirror_ubuntu-kernels/drivers/gpu/drm/amd
Samson Tam aceeeea38a drm/amd/display: fix cursor calculation for 1xnY rotated display groups
[Why]
Cursor is missing on displays 2 and up when doing rotated
 display groups in 1xnY setup.  Calculation puts cursor
 out of bounds so it is not enabled.

[How]
In dcn10_set_cursor_position(), add in viewport.y into cursor
 calculations for 1xnY rotated display groups.
For pipe split, check viewport.y for both pipes and use lower one
 to normalize cursor position before calculations.
Add odm 2:1 support ( using same calculations as pipe split ).

Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-11-16 12:19:01 -05:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu/sriov: reopen sienna_child smu ip block under sriov 2020-11-16 12:18:25 -05:00
amdkfd drm/amdkfd: Put ACPI table after using it 2020-11-13 17:29:46 -05:00
display drm/amd/display: fix cursor calculation for 1xnY rotated display groups 2020-11-16 12:19:01 -05:00
include drm/amd/include/vega10_ip_offset: Mark _BASE structs as __maybe_unused 2020-11-13 17:29:46 -05:00
pm drm/amd/pm: update driver if file for sienna cichlid 2020-11-16 12:18:10 -05:00