ACPI: video: Add force_native quirk for Sony Vaio VPCY11S1E
authorHans de Goede <hdegoede@redhat.com>
Mon, 14 Nov 2022 14:44:57 +0000 (15:44 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Nov 2022 18:52:48 +0000 (19:52 +0100)
The Sony Vaio VPCY11S1E advertises both native and ACPI video backlight
control interfaces, but only the native interface works and the default
heuristics end up picking ACPI video on this model.

Add a video_detect_force_native DMI quirk for this.

Reported-by: Stefan Joosten <stefan@atcomputing.nl>
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 43f667523ab053ed8d08464994c56fd7a6627f32..0e217bf79f17fd534a2942d1a6f22a5d3be681a9 100644 (file)
@@ -621,6 +621,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "VPCEH3U1E"),
                },
        },
+       {
+        .callback = video_detect_force_native,
+        /* Sony Vaio VPCY11S1E */
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "VPCY11S1E"),
+               },
+       },
 
        /*
         * These Toshibas have a broken acpi-video interface for brightness