aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuke D. Jones <[email protected]>2024-04-04 13:16:48 +1300
committerHans de Goede <[email protected]>2024-04-08 18:30:27 +0200
commit5fc378183d94186a768d6727fe5610d34f0dc4f6 (patch)
treed2813f4fdce91fa34420f4f7758110b3bc1929da /tools/perf/scripts/python
parente0ae0ecce4869f841ea7cb20fca1b2c865c13339 (diff)
platform/x86: asus-wmi: store a min default for ppt options
Laptops with any of the ppt or nv tunables default to the minimum setting on boot so we can safely assume a stored value is correct. This patch adds storing of those values in the local struct, and enables reading of those values back. To prevent creating a series of byte holes in the struct the "<name>_available" bool is removed and `asus_sysfs_is_visible()` uses the `ASUS_WMI_DEVID_<name>` directly. Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Luke D. Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions