]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amd/display: Adjust cursor position
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Thu, 1 Aug 2024 22:16:35 +0000 (16:16 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 16:12:51 +0000 (12:12 -0400)
commit8f9b23abbae5ffcd64856facd26a86b67195bc2f
treefd409c1907cf88fea16686a0f1f7ecebdbdb4d6b
parent1fd2cf090096af8a25bf85564341cfc21cec659d
drm/amd/display: Adjust cursor position

[why & how]
When the commit 9d84c7ef8a87 ("drm/amd/display: Correct cursor position
on horizontal mirror") was introduced, it used the wrong calculation for
the position copy for X. This commit uses the correct calculation for that
based on the original patch.

Fixes: 9d84c7ef8a87 ("drm/amd/display: Correct cursor position on horizontal mirror")
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c