aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee, Shawn C <shawn.c.lee@intel.com>2018-10-29 01:49:33 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2018-10-29 05:08:32 -0400
commit922dceff8dc1fb4dafc9af78139ba65671408103 (patch)
tree4f1ce54156d07ce6c6d4540b46485fd51f697d2f
parentf2bfc71aee75feff33ca659322b72ffeed5a243d (diff)
drm/edid: Add 6 bpc quirk for BOE panel.
BOE panel (ID: 0x0771) 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@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Gustavo Padovan <gustavo@padovan.org> Cc: Cooper Chiou <cooper.chiou@intel.com> Signed-off-by: Lee, Shawn C <shawn.c.lee@intel.com>> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/1540792173-7288-1-git-send-email-shawn.c.lee@intel.com
-rw-r--r--drivers/gpu/drm/drm_edid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 3c9fc99648b7..08821dfa3327 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -119,6 +119,9 @@ static const struct edid_quirk {
119 /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */ 119 /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */
120 { "SDC", 0x3652, EDID_QUIRK_FORCE_6BPC }, 120 { "SDC", 0x3652, EDID_QUIRK_FORCE_6BPC },
121 121
122 /* BOE model 0x0771 reports 8 bpc, but is a 6 bpc panel */
123 { "BOE", 0x0771, EDID_QUIRK_FORCE_6BPC },
124
122 /* Belinea 10 15 55 */ 125 /* Belinea 10 15 55 */
123 { "MAX", 1516, EDID_QUIRK_PREFER_LARGE_60 }, 126 { "MAX", 1516, EDID_QUIRK_PREFER_LARGE_60 },
124 { "MAX", 0x77e, EDID_QUIRK_PREFER_LARGE_60 }, 127 { "MAX", 0x77e, EDID_QUIRK_PREFER_LARGE_60 },