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