ACPI / video: Add quirk to force acpi-video backlight on Samsung 670Z5E
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Mar 2018 17:01:45 +0000 (18:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:32:06 +0000 (09:32 +0200)
commit bbf038618a24d72e2efc19146ef421bb1e1eda1a upstream.

Just like many other Samsung models, the 670Z5E needs to use the acpi-video
backlight interface rather then the native one for backlight control to
work, add a quirk for this.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1557060
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/video_detect.c

index b48ecbfc4498890be2de685f6a52bf27badb0904..8c5503c0bad7c61ccf969be1fb23594bdcc35958 100644 (file)
@@ -205,6 +205,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                          "3570R/370R/470R/450R/510R/4450RV"),
                },
        },
+       {
+        /* https://bugzilla.redhat.com/show_bug.cgi?id=1557060 */
+        .callback = video_detect_force_video,
+        .ident = "SAMSUNG 670Z5E",
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
+               DMI_MATCH(DMI_PRODUCT_NAME, "670Z5E"),
+               },
+       },
        {
         /* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */
         .callback = video_detect_force_video,