[PATCH] drm/edid: Add 6 bpc quirk for edp panel enabling.

Lee, Shawn C shawn.c.lee at intel.com
Mon Nov 12 05:56:52 UTC 2018


BOE panel (ID: 0x0770) that reports "DFP 1.x compliant TMDS".
But it's 6bpc panel only instead of 8 bpc.

Add panel ID to edid quirk list and set 6 bpc as default to
work around this issue.

Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Gustavo Padovan <gustavo at padovan.org>
Cc: Cooper Chiou <cooper.chiou at intel.com>
Signed-off-by: Lee, Shawn C <shawn.c.lee at intel.com>
---
 drivers/gpu/drm/drm_edid.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 08821dfa3327..8c93779d3b2f 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -119,6 +119,9 @@ static const struct edid_quirk {
 	/* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */
 	{ "SDC", 0x3652, EDID_QUIRK_FORCE_6BPC },
 
+	/* BOE model 0x0770 reports 8 bpc, but is a 6 bpc panel */
+	{ "BOE", 0x0770, EDID_QUIRK_FORCE_6BPC },
+
 	/* BOE model 0x0771 reports 8 bpc, but is a 6 bpc panel */
 	{ "BOE", 0x0771, EDID_QUIRK_FORCE_6BPC },
 
-- 
2.7.4



More information about the dri-devel mailing list