diff options
author | Enver Balalic <balalic.enver@gmail.com> | 2022-03-14 13:14:53 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-03-15 10:49:37 +0100 |
commit | 286e937efbc7177c114e80aae9b402131e3886c1 (patch) | |
tree | 0c59ee5acbc6d3120bcd38f5c5640c97ba448e83 /drivers/platform/x86/thinkpad_acpi.c | |
parent | 4b4967cbd2685f313411e6facf915fb2ae01d796 (diff) | |
download | linux-stable-286e937efbc7177c114e80aae9b402131e3886c1.tar.gz linux-stable-286e937efbc7177c114e80aae9b402131e3886c1.tar.bz2 linux-stable-286e937efbc7177c114e80aae9b402131e3886c1.zip |
platform/x86: hp-wmi: support omen thermal profile policy v1
As it turns out, these laptops have 2 thermal profile versions.
A previous patch added support for v0, this patch adds support
for v1 thermal policies that are in use on some devices.
We obtain the thermal policy version by querying the get system
design data WMI call and looking at the fourth byte it returns,
except if the system board DMI Board ID is in a specific array
that the windows command center app overrides to thermal policy
v0 for some reason.
Signed-off-by: Enver Balalic <balalic.enver@gmail.com>
Link: https://lore.kernel.org/r/20220314121453.kjszdciymtg6ctbq@omen
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
0 files changed, 0 insertions, 0 deletions