[PATCH] drm/edid: Add 10 bpc quirk for HP z27x monitor

Lee Shawn C shawn.c.lee at intel.com
Mon Jan 13 09:56:49 UTC 2020


Found EDID byte 14 value was 0x80 that report unknown color depth.
Based on monitor's spec to add it into quirk list.

Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
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 474ac04d5600..58dfc6332fd2 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -140,6 +140,9 @@ static const struct edid_quirk {
 	/* LGD panel of HP zBook 17 G2, eDP 10 bpc, but reports unknown bpc */
 	{ "LGD", 764, EDID_QUIRK_FORCE_10BPC },
 
+	/* HP z27x monitor support max 10 bpc, but reports unknown bpc */
+	{ "HWP", 0x3105, EDID_QUIRK_FORCE_10BPC },
+
 	/* LG Philips LCD LP154W01-A5 */
 	{ "LPL", 0, EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE },
 	{ "LPL", 0x2a00, EDID_QUIRK_DETAILED_USE_MAXIMUM_SIZE },
-- 
2.17.1



More information about the dri-devel mailing list