summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-05-28 16:29:48 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-15 11:53:16 (GMT)
commit7f5c1882add891f7420a327e908f206fafed3670 (patch)
tree3d181ce9b9997da4f85c9e54594e0a6979e78143
parent0f57d86787d8b1076ea8f9cbdddda2a46d534a27 (diff)
downloadlinux-7f5c1882add891f7420a327e908f206fafed3670.tar.xz
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>
-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 cc79d3f..518f0e1 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"),
+ },
+ },
{}
};