Searched hist:"3 b6a70be5ac81673af1ca8b4dae84743cb9fcc87" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/acpi/x86/ |
H A D | utils.c | diff 3b6a70be5ac81673af1ca8b4dae84743cb9fcc87 Sun Jul 09 14:05:12 CDT 2017 Hans de Goede <hdegoede@redhat.com> ACPI / x86: Allow matching always_present_id array entries by DMI
On some x86 systems the DSDT hides APCI devices to work around Windows driver bugs. On one such system the device is even hidden until a certain time after _SB.PCI0.GFX0.LCD.LCD1._ON gets called has passed *and* _STA has been called at least 3 times since. TL;DR: it is a mess.
Until now the always_present_id matching was used to force status for a whole class of devices, e.g. always enable PWM1 on CHerry Trail devices.
This commit extends the always_present_id matching code to optionally also check for a DMI match so that we can also add system specific quirks to the always_present_id array.
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|