linux/drivers/gpu/drm/amd
Jaehyun Chung c005762253 drm/amd/display: Enable HW rotation
[Why] HW rotation is not enabled. Calculations for cursor rotation
are wrong for the values passed to set_cursor_position.

[How] Swap Src rect and height and vertically mirror surface for
the correct surface rotation direction. Cursor position is rotated
according to angle. Offset calculations are tweaked for non-rotated
cursor hotspot and width/height.

Signed-off-by: Jaehyun Chung <jaehyun.chung@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-23 11:43:09 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: set adev->num_vmhubs for gmc6,7,8 2019-08-23 11:35:25 -05:00
amdkfd amd/amdkfd: add Arcturus vf DID support 2019-08-23 11:30:52 -05:00
display drm/amd/display: Enable HW rotation 2019-08-23 11:43:09 -05:00
include drm/amdgpu/display: add flag for multi-display mclk switching 2019-08-23 11:33:00 -05:00
powerplay drm/amdgpu/powerplay/vega10: enable mclk switching if monitors are synced 2019-08-23 11:31:45 -05:00