Skip to contentSkip to conversation

drm/i915: blacklist lid status: Sony VGN-BX196VP, Dell Inspiron 700m

PATCH Applied [email protected] 2 participants 2 messages Mar 11, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 drm/i915: blacklist lid status: Sony VGN-BX196VP, Dell Inspiron 700m

From: Surbhi Palande <[email protected]>

Sony VGN-BX196VP and Dell Inspiron 700m report lid status as closed when it is open. This leads to a "no connectors reported" error at startup. Blacklisting them, to always return a connected status for the default lvds connector.

Addresses https://bugs.launchpad.net/bugs/515246

---

 drivers/gpu/drm/i915/intel_lvds.c |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/gpu/drm/i915/intel_lvds.c renamed from drivers/gpu/drm/i915/intel_lvds.c~drm-i915-blacklist-lid-status-sony-vgn-bx196vp-dell-inspiron-700m +14 -0
diff -puN drivers/gpu/drm/i915/intel_lvds.c~drm-i915-blacklist-lid-status-sony-vgn-bx196vp-dell-inspiron-700m drivers/gpu/drm/i915/intel_lvds.c
@@ -651,6 +651,20 @@ static const struct dmi_system_id bad_li
 			DMI_MATCH(DMI_BOARD_NAME, "M5x0N"),
 		},
 	},
+	{
+		.ident = "Sony VGN-BX196VP",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+			DMI_MATCH(DMI_BOARD_NAME, "VGN-BX196VP"),
+		},
+	},
+	{
+		.ident = "Dell Inspiron 700m",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+			DMI_MATCH(DMI_BOARD_NAME, "Inspiron 700m"),
+		},
+	},
 	{ }
 };
 

_

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

#1 lore raw

drivers/gpu/drm/i915/intel_lvds.c static const struct dmi_system_id bad_li · line 667

Quoted 7 lines · On Thu, 11 Mar 2010 14:01:40 -0800, [email protected] wrote:
drivers/gpu/drm/i915/intel_lvds.c renamed from drivers/gpu/drm/i915/intel_lvds.c~drm-i915-blacklist-lid-status-sony-vgn-bx196vp-dell-inspiron-700m +7 -0
+	{
+		.ident = "Dell Inspiron 700m",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+			DMI_MATCH(DMI_BOARD_NAME, "Inspiron 700m"),
+		},
+	},

The Inspiron 700m has a 855GME part, so is caught by (which is heading upstream, if not already been pulled into Linus' tree):

commit 7b9c5abee98c54f85bcc04bd4d7ec8d5094c73f4

Author: Jesse Barnes <[email protected]>
Date:   Fri Feb 12 09:30:00 2010 -0800

drm/i915: give up on 8xx lid status

These old machines more often than not lie about their lid state. So don't use it to detect LVDS presence, but leave the event handler to deal with lid open/close, when we might need to reset the mode.

Fixes kernel bug #15248

The Sony has a GMA 900, so does indeed need the quirk. -ickle

Signature · 9 lines
Chris Wilson, Intel Open Source Technology Centre

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--