[PATCH 2/2] drm/i915: blacklist lid status: Elite Co. G335

From: Surbhi Palande
Date: Mon Mar 15 2010 - 15:33:26 EST


BugLink: http://launchpad.net/bug/515246

Elite Computers G335 reports the lid status as closed when it is open. This
leads to a "no connectors reported" error at startup. Blacklisting
it to always return a connected status for the default lvds connector.

Signed-off-by: Surbhi Palande <surbhi.palande@xxxxxxxxxxxxx>
---
drivers/gpu/drm/i915/intel_lvds.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index afd0ee7..b75a941 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -650,6 +650,13 @@ static const struct dmi_system_id bad_lid_status[] = {
DMI_MATCH(DMI_BOARD_NAME, "VGN-BX196VP"),
},
},
+ {
+ .ident = "Elitegroup ECS G335",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Elitegroup Co."),
+ DMI_MATCH(DMI_BOARD_NAME, "ECS G335"),
+ },
+ },
{ }
};

--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/