]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix timing not changning when freesync video is enabled
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 11 Jan 2023 19:56:22 +0000 (14:56 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:14 +0000 (11:28 +0100)
commit4f12b24c2c3f69bfbbebcc24fa1df6950a2056c1
tree45798bde6870478ed06b4f5eb96f4a6f6993f0c1
parent32ddb0ae609fc468d116c86f71b881562df73e15
drm/amd/display: Fix timing not changning when freesync video is enabled

[ Upstream commit 4b069553246f993c4221e382d0d0ae34f5ba730e ]

[Why&How]
Switching between certain modes that are freesync video modes and those
are not freesync video modes result in timing not changing as seen by
the monitor due to incorrect timing being driven.

The issue is fixed by ensuring that when a non freesync video mode is
set, we reset the freesync status on the crtc.

Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c