Skip to content
Snippets Groups Projects
Unverified Commit 81da609d authored by Melissa Wen's avatar Melissa Wen Committed by Hamza Mahfooz
Browse files

drm/amd/display: fix cursor offset on rotation 180

Cursor gets clipped off in the middle of the screen with hw rotation
180. Fix a miscalculation of cursor offset when it's placed near the
edges in the pipe split case.

Cursor bugs with hw rotation were reported on AMD issue tracker:
drm/amd#2247

The issues on rotation 270 was fixed by:
https://lore.kernel.org/amd-gfx/20221118125935.4013669-22-Brian.Chang@amd.com/


that partially addressed the rotation 180 too. So, this patch is the
final bits for rotation 180.

Reported-by: default avatarXaver Hugl <xaver.hugl@gmail.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Fixes: 9d84c7ef ("drm/amd/display: Correct cursor position on horizontal mirror")
Signed-off-by: default avatarMelissa Wen <mwen@igalia.com>
Signed-off-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
parent f90a13e4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment