]> Git Repo - J-linux.git/commitdiff
ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7
authorTakashi Iwai <[email protected]>
Mon, 6 May 2024 14:08:50 +0000 (16:08 +0200)
committerRafael J. Wysocki <[email protected]>
Tue, 7 May 2024 11:43:19 +0000 (13:43 +0200)
Lenovo Slim 7 16ARH7 is a machine with switchable graphics between AMD
and Nvidia, and the backlight can't be adjusted properly unless
acpi_backlight=native is passed.  Although nvidia-wmi-backlight is
present and loaded, this doesn't work as expected at all.

For making it working as default, add the corresponding quirk entry
with a DMI matching "LENOVO" "82UX".

Link: https://bugzilla.suse.com/show_bug.cgi?id=1217750
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/acpi/video_detect.c

index 9fdcc620c6524d66a417690ccf75f4c82db0dbf2..2cc3821b2b16efe46f712e2d6211831d6d4f44db 100644 (file)
@@ -497,6 +497,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "82BK"),
                },
        },
+       {
+        .callback = video_detect_force_native,
+        /* Lenovo Slim 7 16ARH7 */
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "82UX"),
+               },
+       },
        {
         .callback = video_detect_force_native,
         /* Lenovo ThinkPad X131e (3371 AMD version) */
This page took 0.051516 seconds and 4 git commands to generate.