]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/acpi/video_detect.c
ACPI: video: Force backlight native for some TongFang devices
[mirror_ubuntu-jammy-kernel.git] / drivers / acpi / video_detect.c
index 7b9793cb55c504c6b027d031d7e435677a61cf66..3021254597f95fa2c988662322d892b2f8bf9034 100644 (file)
@@ -484,7 +484,56 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"),
                },
        },
-
+       /*
+        * The TongFang PF5PU1G, PF4NU1F, PF5NU1G, and PF5LUXG/TUXEDO BA15 Gen10,
+        * Pulse 14/15 Gen1, and Pulse 15 Gen2 have the same problem as the Clevo
+        * NL5xRU and NL5xNU/TUXEDO Aura 15 Gen1 and Gen2. See the description
+        * above.
+        */
+       {
+       .callback = video_detect_force_native,
+       .ident = "TongFang PF5PU1G",
+       .matches = {
+               DMI_MATCH(DMI_BOARD_NAME, "PF5PU1G"),
+               },
+       },
+       {
+       .callback = video_detect_force_native,
+       .ident = "TongFang PF4NU1F",
+       .matches = {
+               DMI_MATCH(DMI_BOARD_NAME, "PF4NU1F"),
+               },
+       },
+       {
+       .callback = video_detect_force_native,
+       .ident = "TongFang PF4NU1F",
+       .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"),
+               DMI_MATCH(DMI_BOARD_NAME, "PULSE1401"),
+               },
+       },
+       {
+       .callback = video_detect_force_native,
+       .ident = "TongFang PF5NU1G",
+       .matches = {
+               DMI_MATCH(DMI_BOARD_NAME, "PF5NU1G"),
+               },
+       },
+       {
+       .callback = video_detect_force_native,
+       .ident = "TongFang PF5NU1G",
+       .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"),
+               DMI_MATCH(DMI_BOARD_NAME, "PULSE1501"),
+               },
+       },
+       {
+       .callback = video_detect_force_native,
+       .ident = "TongFang PF5LUXG",
+       .matches = {
+               DMI_MATCH(DMI_BOARD_NAME, "PF5LUXG"),
+               },
+       },
        /*
         * Desktops which falsely report a backlight and which our heuristics
         * for this do not catch.