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 13:58:28 +0000 (09:58 -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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c

index fe100e4..cc21337 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;