diff mbox

[v4,3/3] drm: Add EDID quirk for LG L246WP

Message ID 1344802080-9575-4-git-send-email-arequipeno@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Pilcher Aug. 12, 2012, 8:08 p.m. UTC
This display is apparently confused by any InfoFrames (see
https://bugzilla.redhat.com/show_bug.cgi?id=806091).

Tested on a ThinkPad T510 (nVidia GT218 [NVS 3100M]) and a co-
workers ThinkPad X220 with Intel graphics.  EDID_QUIRK_NO_AUDIO
makes this display work with the Intel driver; nouveau requires
EDID_QUIRK_DISABLE_INFOFRAMES.

Signed-off-by: Ian Pilcher <arequipeno@gmail.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 drivers/gpu/drm/drm_edid.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Paul Menzel Sept. 4, 2012, 2:52 p.m. UTC | #1
Am Sonntag, den 12.08.2012, 15:08 -0500 schrieb Ian Pilcher:
> This display is apparently confused by any InfoFrames (see
> https://bugzilla.redhat.com/show_bug.cgi?id=806091).
> 
> Tested on a ThinkPad T510 (nVidia GT218 [NVS 3100M]) and a co-
> workers ThinkPad X220 with Intel graphics.  EDID_QUIRK_NO_AUDIO
> makes this display work with the Intel driver; nouveau requires
> EDID_QUIRK_DISABLE_INFOFRAMES.

Judging from the Newegg.com description [1] it has a VGA (D-Sub) and
HDMI connector. (Downloading the manual from [2] fails for me with
Midori.)

Ian, could you please test if the monitor is sending the same EDID
information over VGA and HDMI? Unfortunately I do not have the means
(for HDMI) for the TVs here, so it would be great, if you could test
that.

> Signed-off-by: Ian Pilcher <arequipeno@gmail.com>
> Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
> ---
>  drivers/gpu/drm/drm_edid.c | 4 ++++
>  1 file changed, 4 insertions(+)

[…]


Thanks,

Paul


[1] http://www.newegg.com/Product/Product.aspx?Item=N82E16824005099
[2] http://www.lg.com/us/support-product/lg-L246WP
diff mbox

Patch

diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 61586b4..1f50e09 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -160,6 +160,10 @@  union edid_quirk edid_quirk_list[EDID_QUIRK_LIST_SIZE] = {
 	{ { { { EDID_MFG_ID('V', 'S', 'C'), cpu_to_le16(5020) } },
 		EDID_QUIRK_FORCE_REDUCED_BLANKING } },
 
+	/* LG L246WP */
+	{ { { { EDID_MFG_ID('G', 'S', 'M'), cpu_to_le16(0x563f) } },
+		EDID_QUIRK_DISABLE_INFOFRAMES | EDID_QUIRK_NO_AUDIO } },
+
 	/*
 	 * When adding built-in quirks, please adjust EDID_QUIRK_LIST_SIZE to
 	 * provide some room for user-supplied quirks.