]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ACPI: video: Use vendor backlight on Sony VPCEH3U1E
authorZhang Rui <rui.zhang@intel.com>
Mon, 1 Apr 2019 01:24:39 +0000 (09:24 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Apr 2019 09:04:54 +0000 (11:04 +0200)
On Sony Vaio VPCEH3U1E, ACPI backlight control does not work, and native
backlight works. Thus force use vendor backlight control on this system.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=202401
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c

index 43587ac680e472afe6ac5cbb0bbbfa3b0c9f93e7..0e0a3929e34e25112f0822bf70244962195598e7 100644 (file)
@@ -141,6 +141,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"),
                },
        },
+       {
+       .callback = video_detect_force_vendor,
+       .ident = "Sony VPCEH3U1E",
+       .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "VPCEH3U1E"),
+               },
+       },
 
        /*
         * These models have a working acpi_video backlight control, and using