]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Jan 2023 19:50:18 +0000 (14:50 -0500)
commit4b069553246f993c4221e382d0d0ae34f5ba730e
treebe139d2d446d70251c9e8d9e1fa69883bd0bcbfc
parentd8bf2df715bb8ac964f91fe8bf67c37c5d916463
drm/amd/display: Fix timing not changning when freesync video is enabled

[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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c