Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI / video: Add force_none quirk for Dell OptiPlex 9020M

Dell OptiPlex 9020M is a micro PC desktop that has no built-in
LCD panel and its acpi_video does not work.

Signed-off-by: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Alex Hung and committed by
Rafael J. Wysocki
1f59ab27 5771a8c0

+14
+14
drivers/acpi/video_detect.c
··· 103 103 return 0; 104 104 } 105 105 106 + static int video_detect_force_none(const struct dmi_system_id *d) 107 + { 108 + acpi_backlight_dmi = acpi_backlight_none; 109 + return 0; 110 + } 111 + 106 112 static const struct dmi_system_id video_detect_dmi_table[] = { 107 113 /* On Samsung X360, the BIOS will set a flag (VDRV) if generic 108 114 * ACPI backlight device is used. This flag will definitively break ··· 317 311 .matches = { 318 312 DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), 319 313 DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"), 314 + }, 315 + }, 316 + { 317 + .callback = video_detect_force_none, 318 + .ident = "Dell OptiPlex 9020M", 319 + .matches = { 320 + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), 321 + DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 9020M"), 320 322 }, 321 323 }, 322 324 { },