ACPI: video: Add backlight=native DMI quirk for Dell Vostro 15 3535
authorChia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Thu, 2 Mar 2023 09:33:00 +0000 (17:33 +0800)
committerRafael J. Wysocki <rjw@rjwysocki.net>
Tue, 7 Mar 2023 13:12:21 +0000 (14:12 +0100)
Sometimes the system boots up with a acpi_video0 backlight interface
which doesn't work. So add Dell Vostro 15 3535 into the
video_detect_dmi_table to set it to native explicitly.

Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Signed-off-by: Rafael J. Wysocki <rjw@rjwysocki.net>
drivers/acpi/video_detect.c

index 710ac640267dd301da56d7e504b1f3435fe91b42..14d6d81e536fe8ba81c42394c72814dbbca98b1d 100644 (file)
@@ -716,6 +716,13 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5515"),
                },
        },
+       {
+        .callback = video_detect_force_native,
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+               DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 15 3535"),
+               },
+       },
 
        /*
         * Desktops which falsely report a backlight and which our heuristics