]> git.ipfire.org Git - thirdparty/kernel/linux.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 17:02:03 +0000 (13:02 -0400)
commit56fb276d0244d430496f249335a44ae114dd5f54
tree5eae33f7d197d00f4b97d195dc4a31b32437ffcf
parent737222cebecbdbcdde2b69475c52bcb9ecfeb830
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>
(cherry picked from commit 8f9b23abbae5ffcd64856facd26a86b67195bc2f)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c