summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-03-13 10:17:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-03-13 10:17:31 +0000
commitdbc572b57f0c4abf56a3886e8dbfb6fef964abed (patch)
tree4e8aa36b6766a562c596aac33d1b632225492d23 /sys
parent1e2506d20942a4211e4eab8c034c53414014c9b9 (diff)
drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA
From Kai-Heng Feng 5b7ed414974320d7ebda71d18c85f505f3d959c0 in linux 4.4.y/4.4.119 06998a756a3865817b87a129a7e5d5bb66dc1ec3 in mainline linux
Diffstat (limited to 'sys')
-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 bdda3745e4f..8689badc0a6 100644
--- a/sys/dev/pci/drm/drm_edid.c
+++ b/sys/dev/pci/drm/drm_edid.c
@@ -108,6 +108,9 @@ static struct edid_quirk {
/* AEO model 0 reports 8 bpc, but is a 6 bpc panel */
{ "AEO", 0, EDID_QUIRK_FORCE_6BPC },
+ /* CPT panel of Asus UX303LA reports 8 bpc, but is a 6 bpc panel */
+ { "CPT", 0x17df, EDID_QUIRK_FORCE_6BPC },
+
/* Belinea 10 15 55 */
{ "MAX", 1516, EDID_QUIRK_PREFER_LARGE_60 },
{ "MAX", 0x77e, EDID_QUIRK_PREFER_LARGE_60 },