]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: restore invalid MSA timing check for freesync
authorMelissa Wen <mwen@igalia.com>
Tue, 28 Jan 2025 00:41:10 +0000 (21:41 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Feb 2025 09:02:24 +0000 (10:02 +0100)
commitd718dadff4454071cc34aa3701b1906c8e1af878
treef81bbd8db538ee771c49adbcba94bf7757d685fb
parente6693595bd1b55af62d057a4136a89d5c2ddf0e9
drm/amd/display: restore invalid MSA timing check for freesync

commit 7f2b5237e313e39008a85b33ca94ab503a8fdff9 upstream.

This restores the original behavior that gets min/max freq from EDID and
only set DP/eDP connector as freesync capable if "sink device is capable
of rendering incoming video stream without MSA timing parameters", i.e.,
`allow_invalid_MSA_timing_params` is true. The condition was mistakenly
removed by 0159f88a99c9 ("drm/amd/display: remove redundant freesync
parser for DP").

CC: Mario Limonciello <mario.limonciello@amd.com>
CC: Alex Hung <alex.hung@amd.com>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3915
Fixes: 0159f88a99c9 ("drm/amd/display: remove redundant freesync parser for DP")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c