diff options
author | Jaehyun Chung <[email protected]> | 2019-08-07 11:20:16 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-08-23 11:43:09 -0500 |
commit | c005762253523044c5afade490129fc0dd6f868b (patch) | |
tree | b0093dcd8014b985f9d07d67cf3fca2c9e8a0486 /lib/mpi/mpi-internal.h | |
parent | 5e1613e21fc1ea5c0888f4c858aa220ff8464d53 (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 <[email protected]>
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions