ACPI / video: Add disable_native_backlight quirk for Dell XPS15 L521X
authorHans de Goede <hdegoede@redhat.com>
Mon, 5 Jan 2015 07:57:04 +0000 (08:57 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Jan 2015 22:34:48 +0000 (23:34 +0100)
The L521X variant of the Dell XPS15 has integrated nvidia graphics, and
backlight control does not work properly when using the native interfaces.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1163574
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video.c

index c72e79d2c5ad2559bce9f45ec9d26e99c04c8c2d..032db459370f85481ba091dc3761e727284fe0f3 100644 (file)
@@ -522,6 +522,16 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
                DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"),
                },
        },
+
+       {
+        /* https://bugzilla.redhat.com/show_bug.cgi?id=1163574 */
+        .callback = video_disable_native_backlight,
+        .ident = "Dell XPS15 L521X",
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+               DMI_MATCH(DMI_PRODUCT_NAME, "XPS L521X"),
+               },
+       },
        {}
 };