ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3
authorHans de Goede <hdegoede@redhat.com>
Wed, 17 May 2023 09:23:58 +0000 (11:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 May 2023 18:23:44 +0000 (20:23 +0200)
Linux defaults to picking the non-working ACPI video backlight interface
on the Apple iMac11,3 .

Add a DMI quirk to pick the working native radeon_bl0 interface instead.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c

index bcc25d4..61586ca 100644 (file)
@@ -471,6 +471,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                },
        },
        {
+        .callback = video_detect_force_native,
+        /* Apple iMac11,3 */
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
+               DMI_MATCH(DMI_PRODUCT_NAME, "iMac11,3"),
+               },
+       },
+       {
         /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */
         .callback = video_detect_force_native,
         /* Apple MacBook Pro 12,1 */