summaryrefslogtreecommitdiff
path: root/lib/xz
diff options
context:
space:
mode:
authorJaehyun Chung <jaehyun.chung@amd.com>2019-08-07 11:20:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-08-23 11:43:09 -0500
commitc005762253523044c5afade490129fc0dd6f868b (patch)
treeb0093dcd8014b985f9d07d67cf3fca2c9e8a0486 /lib/xz
parent5e1613e21fc1ea5c0888f4c858aa220ff8464d53 (diff)
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>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions