drm/dp: Lenovo X13 Yoga OLED panel brightness fix
authorMark Pearson <mpearson.lenovo@gmail.com>
Tue, 19 May 2020 02:56:35 +0000 (22:56 -0400)
committerLyude Paul <lyude@redhat.com>
Thu, 21 May 2020 00:06:00 +0000 (20:06 -0400)
Add another panel that needs the edid quirk to the list so that
brightness control works correctly. Fixes issue seen on Lenovo X13 Yoga
with OLED panel

Co-developed-by: jendrina@lenovo.com
Signed-off-by: Mark Pearson <mpearson@gmail.com>
[fixed commit message, sobs]
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200519025635.22846-1-mpearson@lenovo.com
drivers/gpu/drm/drm_dp_helper.c

index c6fbe6e..41f0e79 100644 (file)
@@ -1313,6 +1313,7 @@ static const struct edid_quirk edid_quirk_list[] = {
        { MFG(0x06, 0xaf), PROD_ID(0xeb, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
        { MFG(0x4d, 0x10), PROD_ID(0xc7, 0x14), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
        { MFG(0x4d, 0x10), PROD_ID(0xe6, 0x14), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
+       { MFG(0x4c, 0x83), PROD_ID(0x47, 0x41), BIT(DP_QUIRK_FORCE_DPCD_BACKLIGHT) },
 };
 
 #undef MFG