]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
acpi: platform_profile - Add max-power profile option
authorDerek J. Clark <derekjohn.clark@gmail.com>
Thu, 27 Nov 2025 15:16:03 +0000 (07:16 -0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 28 Nov 2025 10:03:22 +0000 (12:03 +0200)
commit5aefbf5b68794870ccec126cd68bbfd1ee09283a
tree4c7a9e673a8987aec471123a8ec922b52f8424d8
parent0b39ce8f71c92c72681d9a678298a9a59ff9b5d3
acpi: platform_profile - Add max-power profile option

Some devices, namely Lenovo Legion devices, have an "extreme" mode where
power draw is at the maximum limit of the cooling hardware. Add a new
"max-power" platform profile to properly reflect this operating mode.

Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Acked-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://patch.msgid.link/20251127151605.1018026-2-derekjohn.clark@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Documentation/ABI/testing/sysfs-class-platform-profile
drivers/acpi/platform_profile.c
include/linux/platform_profile.h