Skip to contentSkip to conversation

drm/i915: Add HP nx9020/Samsung SX20S to ACPI LID quirk list

PATCH In review Len Brown 2 participants 2 messages Jan 11, 2010 – Jan 12, 2010

Subsystems (3)
lore
Share & tools
lore

Len Brown

author reviewer
#0 lore raw

PATCH 1/1 drm/i915: Add HP nx9020/Samsung SX20S to ACPI LID quirk list

From: Zhao Yakui <[email protected]>

The HP comaq nx9020/Samsung SX20S laptop always report that the LID status is closed and we can't use it reliabily for LVDS detection. So add the two boxes into the quirk list.

http://bugzilla.kernel.org/show_bug.cgi?id=14957
http://bugzilla.kernel.org/show_bug.cgi?id=14554

---

Dave,
As this is an ACPI BIOS workaround bug that touches DRM code, if you ack this I'll be happy to send this upstream w/ your ack.

thanks,
-Len

 drivers/gpu/drm/i915/intel_lvds.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
drivers/gpu/drm/i915/intel_lvds.c +14 -0
index f4b4aa2..160283a 100644
@@ -602,6 +602,20 @@ static void intel_lvds_mode_set(struct drm_encoder *encoder,
 /* Some lid devices report incorrect lid status, assume they're connected */
 static const struct dmi_system_id bad_lid_status[] = {
 	{
+		.ident = "Compaq nx9020",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+			DMI_MATCH(DMI_BOARD_NAME, "3084"),
+		},
+	},
+	{
+		.ident = "Samsung SX20S",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Samsung Electronics"),
+			DMI_MATCH(DMI_BOARD_NAME, "SX20S"),
+		},
+	},
+	{
 		.ident = "Aspire One",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
Signature · 1 line
1.6.6.136.g637af
#1 lore raw
Quoted 1 line · Len Brown

From: Zhao Yakui <[email protected]>

Hi, Len
Thanks for caring this issue.
Now this patch is already picked up by Eric. And it is Eric's
drm-intel-next tree.

Thanks.
Yakui.

Quoted 48 lines

The HP comaq nx9020/Samsung SX20S laptop always report that the LID status is closed and we can't use it reliabily for LVDS detection. So add the two boxes into the quirk list.

http://bugzilla.kernel.org/show_bug.cgi?id=14957
http://bugzilla.kernel.org/show_bug.cgi?id=14554

---

Dave,
As this is an ACPI BIOS workaround bug that touches DRM code, if you ack this I'll be happy to send this upstream w/ your ack.

thanks,

(quoted diff) +0 -1
-Len
 
 drivers/gpu/drm/i915/intel_lvds.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
drivers/gpu/drm/i915/intel_lvds.c +14 -0
index f4b4aa2..160283a 100644
@@ -602,6 +602,20 @@ static void intel_lvds_mode_set(struct drm_encoder *encoder,
 /* Some lid devices report incorrect lid status, assume they're connected */
 static const struct dmi_system_id bad_lid_status[] = {
 	{
+		.ident = "Compaq nx9020",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+			DMI_MATCH(DMI_BOARD_NAME, "3084"),
+		},
+	},
+	{
+		.ident = "Samsung SX20S",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Samsung Electronics"),
+			DMI_MATCH(DMI_BOARD_NAME, "SX20S"),
+		},
+	},
+	{
 		.ident = "Aspire One",
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Acer"),