]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
Add support for DYTC MMC_GET BIOS API.
authorMark Pearson <markpearson@lenovo.com>
Tue, 6 Apr 2021 23:32:03 +0000 (19:32 -0400)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Apr 2021 17:47:23 +0000 (19:47 +0200)
commit7a47f86bba748b31cd16e3acbf9fb8b1f4a49c6d
tree0b4eecd9a260275a0d2f851bd12ceb97ac5bc035
parent8145476fc782541996282387d28ab99ffe7ff0ef
Add support for DYTC MMC_GET BIOS API.

The BIOS team have added a new API that allows us to retrieve the
current performance profile without having to disable/enable CQL
mode. Adding the changes to use this API.

Tested on P15 and X1C8

Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20210406233203.232860-1-markpearson@lenovo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c