Skip to content

Commit c9aa36f

Browse files
committed
Merge back new ACPI backlight material for v6.7.
2 parents f4dcf06 + 2ce3262 commit c9aa36f

File tree

1 file changed

+50
-8
lines changed

1 file changed

+50
-8
lines changed

drivers/acpi/video_detect.c

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -229,14 +229,6 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
229229
DMI_MATCH(DMI_BOARD_NAME, "NC210/NC110"),
230230
},
231231
},
232-
{
233-
.callback = video_detect_force_vendor,
234-
/* Xiaomi Mi Pad 2 */
235-
.matches = {
236-
DMI_MATCH(DMI_SYS_VENDOR, "Xiaomi Inc"),
237-
DMI_MATCH(DMI_PRODUCT_NAME, "Mipad2"),
238-
},
239-
},
240232

241233
/*
242234
* Models which should use the vendor backlight interface,
@@ -799,6 +791,56 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
799791
DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 15 3535"),
800792
},
801793
},
794+
795+
/*
796+
* x86 android tablets which directly control the backlight through
797+
* an external backlight controller, typically TI's LP8557.
798+
* The backlight is directly controlled by the lp855x driver on these.
799+
* This setup means that neither i915's native nor acpi_video backlight
800+
* control works. Add a "vendor" quirk to disable both. Note these
801+
* devices do not use vendor control in the typical meaning of
802+
* vendor specific SMBIOS or ACPI calls being used.
803+
*/
804+
{
805+
.callback = video_detect_force_vendor,
806+
/* Lenovo Yoga Book X90F / X90L */
807+
.matches = {
808+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
809+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
810+
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
811+
},
812+
},
813+
{
814+
.callback = video_detect_force_vendor,
815+
/*
816+
* Lenovo Yoga Tablet 2 830F/L or 1050F/L (The 8" and 10"
817+
* Lenovo Yoga Tablet 2 use the same mainboard)
818+
*/
819+
.matches = {
820+
DMI_MATCH(DMI_SYS_VENDOR, "Intel Corp."),
821+
DMI_MATCH(DMI_PRODUCT_NAME, "VALLEYVIEW C0 PLATFORM"),
822+
DMI_MATCH(DMI_BOARD_NAME, "BYT-T FFD8"),
823+
/* Partial match on beginning of BIOS version */
824+
DMI_MATCH(DMI_BIOS_VERSION, "BLADE_21"),
825+
},
826+
},
827+
{
828+
.callback = video_detect_force_vendor,
829+
/* Lenovo Yoga Tab 3 Pro YT3-X90F */
830+
.matches = {
831+
DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
832+
DMI_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
833+
DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"),
834+
},
835+
},
836+
{
837+
.callback = video_detect_force_vendor,
838+
/* Xiaomi Mi Pad 2 */
839+
.matches = {
840+
DMI_MATCH(DMI_SYS_VENDOR, "Xiaomi Inc"),
841+
DMI_MATCH(DMI_PRODUCT_NAME, "Mipad2"),
842+
},
843+
},
802844
{ },
803845
};
804846

0 commit comments

Comments
 (0)