Skip to content

Commit 2959918

Browse files
jonodenorafaeljw
authored andcommitted
ACPI: video: force native for Apple MacbookPro11,2 and Air7,2
There is a bug in the Macbook Pro 11,2 and Air 7,2 firmware similar to what is described in: commit 7dc918d ("ACPI: video: force native for Apple MacbookPro9,2") This bug causes their backlights not to come back after resume. Add DMI quirks to select the working native Intel firmware interface such that the backlght comes back on after resume. Signed-off-by: Jonathan Denose <jdenose@google.com> Link: https://patch.msgid.link/20241112222516.1.I7fa78e6acbbed56ed5677f5e2dacc098a269d955@changeid [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 2d5404c commit 2959918

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

drivers/acpi/video_detect.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
549549
DMI_MATCH(DMI_PRODUCT_NAME, "iMac12,2"),
550550
},
551551
},
552+
{
553+
.callback = video_detect_force_native,
554+
/* Apple MacBook Air 7,2 */
555+
.matches = {
556+
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
557+
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir7,2"),
558+
},
559+
},
552560
{
553561
.callback = video_detect_force_native,
554562
/* Apple MacBook Air 9,1 */
@@ -565,6 +573,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
565573
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro9,2"),
566574
},
567575
},
576+
{
577+
.callback = video_detect_force_native,
578+
/* Apple MacBook Pro 11,2 */
579+
.matches = {
580+
DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
581+
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro11,2"),
582+
},
583+
},
568584
{
569585
/* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
570586
.callback = video_detect_force_native,

0 commit comments

Comments
 (0)