]> git.hungrycats.org Git - linux/commit
drm/amd/display: Consult MCCS FreeSync cap only if requested & supported
authorMichel Dänzer <mdaenzer@redhat.com>
Mon, 18 May 2026 15:48:09 +0000 (17:48 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Sep 2026 16:52:39 +0000 (12:52 -0400)
commitcfdcf5571c3107bf636002fc0c16ce93c19bd671
treebc9cfdebaf0efbc0dfe4794a686912f8cde33b23
parentdf2908090cda368b01ff43709f51890076c56157
drm/amd/display: Consult MCCS FreeSync cap only if requested & supported

When the do_mccs parameter is false, we don't call
dm_helpers_read_mccs_caps, so sink->mccs_caps.freesync_supported is
unlikely to be true.

Fixes: 6f71d5dd3206 ("drm/amd/display: Read sink freesync support via mccs")
Bug: https://gitlab.freedesktop.org/drm/amd/-/work_items/5286
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ac3aea794fb4156467b4b3b92c3155d95bf435c9)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c