]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/2.6.32.9/drm-i915-add-hp-nx9020-samsungsx20s-to-acpi-lid-quirk-list.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 2.6.32.9 / drm-i915-add-hp-nx9020-samsungsx20s-to-acpi-lid-quirk-list.patch
CommitLineData
4d3fdb08
GKH
1From 40f33a92100f4d9b6e85ad642100cfe42d7ff57d Mon Sep 17 00:00:00 2001
2From: Zhao Yakui <yakui.zhao@intel.com>
3Date: Wed, 6 Jan 2010 13:30:36 +0800
4Subject: drm/i915: Add HP nx9020/SamsungSX20S to ACPI LID quirk list
5
6From: Zhao Yakui <yakui.zhao@intel.com>
7
8commit 40f33a92100f4d9b6e85ad642100cfe42d7ff57d upstream.
9
10The HP comaq nx9020/Samsung SX20S laptop always report that the LID status is
11closed and we can't use it reliabily for LVDS detection. So add the two boxes
12into the quirk list.
13
14http://bugzilla.kernel.org/show_bug.cgi?id=14957
15http://bugzilla.kernel.org/show_bug.cgi?id=14554
16
17Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
18Signed-off-by: Eric Anholt <eric@anholt.net>
19Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20
21---
22 drivers/gpu/drm/i915/intel_lvds.c | 14 ++++++++++++++
23 1 file changed, 14 insertions(+)
24
25--- a/drivers/gpu/drm/i915/intel_lvds.c
26+++ b/drivers/gpu/drm/i915/intel_lvds.c
27@@ -602,6 +602,20 @@ static void intel_lvds_mode_set(struct d
28 /* Some lid devices report incorrect lid status, assume they're connected */
29 static const struct dmi_system_id bad_lid_status[] = {
30 {
31+ .ident = "Compaq nx9020",
32+ .matches = {
33+ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
34+ DMI_MATCH(DMI_BOARD_NAME, "3084"),
35+ },
36+ },
37+ {
38+ .ident = "Samsung SX20S",
39+ .matches = {
40+ DMI_MATCH(DMI_SYS_VENDOR, "Phoenix Technologies LTD"),
41+ DMI_MATCH(DMI_BOARD_NAME, "SX20S"),
42+ },
43+ },
44+ {
45 .ident = "Aspire One",
46 .matches = {
47 DMI_MATCH(DMI_SYS_VENDOR, "Acer"),