ACPI / video: Add quirks for the Dell Precision 7510
authorShih-Yuan Lee (FourDollars) <sylee@canonical.com>
Wed, 14 Jun 2017 08:29:16 +0000 (16:29 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Jun 2017 21:41:03 +0000 (23:41 +0200)
The Dell Precision 7510 has a broken acpi-video implementation.

The backlight control bits work, but when the brightness is changed via
the acpi-video interface the backlight flickers annoyingly before settling
at the new brightness, switching to using the native interface fixes the
flickering so add a quirk for this (the vendor interface can not change the
brightness at all).

Signed-off-by: Shih-Yuan Lee (FourDollars) <sylee@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c

index 7f48156cbc0c0b47a22943b60bf374d8a86ea6e3..d179e8d9177dec40261e578f6e4a041ee9e404c3 100644 (file)
@@ -305,6 +305,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "Dell System XPS L702X"),
                },
        },
+       {
+        .callback = video_detect_force_native,
+        .ident = "Dell Precision 7510",
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+               DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"),
+               },
+       },
        { },
 };