summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/hisilicon
diff options
context:
space:
mode:
authorMelissa Wen <mwen@igalia.com>2023-01-31 19:05:46 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-02-09 06:19:20 +0300
commit49d0555976f0972af68397ed996375c135b38ba7 (patch)
tree28ddc36f5c945b6d433bb40afb5e183dbd31b87c /drivers/gpu/drm/hisilicon
parent5630a35024d12432827bd7e7986dd60cfe2f983b (diff)
downloadlinux-49d0555976f0972af68397ed996375c135b38ba7.tar.xz
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: https://gitlab.freedesktop.org/drm/amd/-/issues/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: Xaver Hugl <xaver.hugl@gmail.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Fixes: 9d84c7ef8a87 ("drm/amd/display: Correct cursor position on horizontal mirror") Signed-off-by: Melissa Wen <mwen@igalia.com> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/hisilicon')
0 files changed, 0 insertions, 0 deletions