]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Add HDR workaround for a specific eDP
authorAlex Hung <alex.hung@amd.com>
Fri, 17 Oct 2025 02:08:10 +0000 (20:08 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Oct 2025 15:04:40 +0000 (11:04 -0400)
[WHY & HOW]
Some eDP panels suffer from flicking when HDR is enabled in KDE or
Gnome.

This add another quirk to worksaround to skip VSC that is incompatible
with an eDP panel.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/4452
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 99441824bec63549a076cd86631d138ec9a0c71c)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c

index fe100e4c98010b449f7c41dda13025f2bf882096..cc21337a182f5314f925a81be89a19a3c4e999a0 100644 (file)
@@ -83,6 +83,7 @@ static void apply_edid_quirks(struct drm_device *dev, struct edid *edid, struct
                edid_caps->panel_patch.remove_sink_ext_caps = true;
                break;
        case drm_edid_encode_panel_id('S', 'D', 'C', 0x4154):
+       case drm_edid_encode_panel_id('S', 'D', 'C', 0x4171):
                drm_dbg_driver(dev, "Disabling VSC on monitor with panel id %X\n", panel_id);
                edid_caps->panel_patch.disable_colorimetry = true;
                break;