From dbc572b57f0c4abf56a3886e8dbfb6fef964abed Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 13 Mar 2018 10:17:31 +0000 Subject: 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 --- sys/dev/pci/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev') 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 }, -- cgit v1.2.3