ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad X131e (3371 AMD version)
authorHans de Goede <hdegoede@redhat.com>
Wed, 17 May 2023 09:23:59 +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 Lenovo ThinkPad X131e (3371 AMD version).

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 61586ca..b87783c 100644 (file)
@@ -472,6 +472,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
        },
        {
         .callback = video_detect_force_native,
+        /* Lenovo ThinkPad X131e (3371 AMD version) */
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "3371"),
+               },
+       },
+       {
+        .callback = video_detect_force_native,
         /* Apple iMac11,3 */
         .matches = {
                DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),