summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShih-Yuan Lee (FourDollars) <sylee@canonical.com>2017-06-14 16:29:16 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-06-28 23:41:03 +0200
commitd37efb79bc1cc5763d5ac4a96b9ad2ecbddcbe8a (patch)
tree0b2cb827b6f4ed3b2e5b5c143dcd60c7a1fa4f1b
parentc0bc126f97fb929b3ae02c1c62322645d70eb408 (diff)
ACPI / video: Add quirks for the Dell Precision 7510
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>
-rw-r--r--drivers/acpi/video_detect.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 7f48156cbc0c..d179e8d9177d 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -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"),
+ },
+ },
{ },
};