summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-05-28 18:29:48 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-15 13:53:16 +0200
commit7f5c1882add891f7420a327e908f206fafed3670 (patch)
tree3d181ce9b9997da4f85c9e54594e0a6979e78143 /drivers/acpi
parent0f57d86787d8b1076ea8f9cbdddda2a46d534a27 (diff)
downloadlinux-7f5c1882add891f7420a327e908f206fafed3670.tar.bz2
ACPI / video: Add enable_native_backlight quirk for MacbookPro12,1
It seems that the latest generation of MacbookPro needs to use the native backlight driver, just like most modern laptops do, but it does not automatically get enabled as the Apple BIOS does not advertise Windows 8 compatibility. So add a quirk for this. Reported-by: Christopher Beland <beland@alum.mit.edu> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/video.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index cc79d3fedfb2..518f0e1d274d 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -583,6 +583,15 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
DMI_MATCH(DMI_PRODUCT_NAME, "102434U"),
},
},
+ {
+ /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
+ .callback = video_enable_native_backlight,
+ .ident = "Apple MacBook Pro 12,1",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro12,1"),
+ },
+ },
{}
};