5ef0eab
From: Hans de Goede <hdegoede@redhat.com>
5ef0eab
Date: Fri, 21 Nov 2014 13:39:19 +0100
5ef0eab
Subject: [PATCH] acpi-video: Add disable_native_backlight quirk for Dell XPS15
5ef0eab
 L521X
5ef0eab
5ef0eab
The L521X variant of the Dell XPS15 has integrated nvidia graphics, and
5ef0eab
backlight control does not work properly when using the native interfaces.
5ef0eab
5ef0eab
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1163574
5ef0eab
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
5ef0eab
---
f046ab9
 drivers/acpi/video.c | 9 +++++++++
f046ab9
 1 file changed, 9 insertions(+)
5ef0eab
5ef0eab
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
f046ab9
index 8a61e5dd397b..25863442b6ae 100644
5ef0eab
--- a/drivers/acpi/video.c
5ef0eab
+++ b/drivers/acpi/video.c
f046ab9
@@ -522,6 +522,15 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
f046ab9
 		DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"),
5ef0eab
 		},
5ef0eab
 	},
5ef0eab
+	{
5ef0eab
+	 /* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */
5ef0eab
+	 .callback = video_disable_native_backlight,
5ef0eab
+	 .ident = "Dell XPS15 L521X",
5ef0eab
+	 .matches = {
5ef0eab
+		DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
5ef0eab
+		DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"),
5ef0eab
+		},
5ef0eab
+	},
5ef0eab
 	{}
5ef0eab
 };
5ef0eab
 
5ef0eab
-- 
5ef0eab
2.1.0
5ef0eab