]> Git Repo - J-linux.git/commitdiff
ACPI: video: force native for Apple MacbookPro11,2 and Air7,2
authorJonathan Denose <[email protected]>
Tue, 12 Nov 2024 22:25:17 +0000 (22:25 +0000)
committerRafael J. Wysocki <[email protected]>
Wed, 13 Nov 2024 11:48:50 +0000 (12:48 +0100)
There is a bug in the Macbook Pro 11,2 and Air 7,2 firmware similar to
what is described in:

commit 7dc918daaf29 ("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 <[email protected]>
Link: https://patch.msgid.link/20241112222516.1.I7fa78e6acbbed56ed5677f5e2dacc098a269d955@changeid
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/acpi/video_detect.c

index 015bd8e66c1cf85f301b74c1184a7a760c601915..d507d5e084354bca52688f26cfc74534aca1e398 100644 (file)
@@ -549,6 +549,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "iMac12,2"),
                },
        },
+       {
+        .callback = video_detect_force_native,
+        /* Apple MacBook Air 7,2 */
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+               DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir7,2"),
+               },
+       },
        {
         .callback = video_detect_force_native,
         /* Apple MacBook Air 9,1 */
@@ -565,6 +573,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro9,2"),
                },
        },
+       {
+        .callback = video_detect_force_native,
+        /* Apple MacBook Pro 11,2 */
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+               DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro11,2"),
+               },
+       },
        {
         /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
         .callback = video_detect_force_native,
This page took 0.050153 seconds and 4 git commands to generate.