summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-10-30 02:23:03 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-10-30 02:23:03 +0000
commit685f262f0d5c5a2424cafdad0654665f65dbcfde (patch)
treef3f668375ecccc1ac11a57ae4bd5d558006b3777
parent74e102f6c10f6eba2c14f2a70a25b831e819ea9a (diff)
drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50
From Kai-Heng Feng 33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81 11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux
-rw-r--r--sys/dev/pci/drm/drm_edid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_edid.c b/sys/dev/pci/drm/drm_edid.c
index 622489132d3..ebd1792ffcd 100644
--- a/sys/dev/pci/drm/drm_edid.c
+++ b/sys/dev/pci/drm/drm_edid.c
@@ -166,6 +166,9 @@ static const struct edid_quirk {
/* Medion MD 30217 PG */
{ "MED", 0x7b8, EDID_QUIRK_PREFER_LARGE_75 },
+ /* Lenovo G50 */
+ { "SDC", 18514, EDID_QUIRK_FORCE_6BPC },
+
/* Panel in Samsung NP700G7A-S01PL notebook reports 6bpc */
{ "SEC", 0xd033, EDID_QUIRK_FORCE_8BPC },