mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

The class interface allows changing multiple platform profiles on a system to different values. The semantics of it are similar to the legacy interface. Reviewed-by: Armin Wolf <W_Armin@gmx.de> Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20241206031918.1537-23-mario.limonciello@amd.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
40 lines
1.7 KiB
Text
40 lines
1.7 KiB
Text
What: /sys/firmware/acpi/platform_profile_choices
|
|
Date: October 2020
|
|
Contact: Hans de Goede <hdegoede@redhat.com>
|
|
Description: This file contains a space-separated list of profiles supported for this device.
|
|
|
|
Drivers must use the following standard profile-names:
|
|
|
|
==================== ========================================
|
|
low-power Low power consumption
|
|
cool Cooler operation
|
|
quiet Quieter operation
|
|
balanced Balance between low power consumption
|
|
and performance
|
|
balanced-performance Balance between performance and low
|
|
power consumption with a slight bias
|
|
towards performance
|
|
performance High performance operation
|
|
==================== ========================================
|
|
|
|
Userspace may expect drivers to offer more than one of these
|
|
standard profile names.
|
|
|
|
What: /sys/firmware/acpi/platform_profile
|
|
Date: October 2020
|
|
Contact: Hans de Goede <hdegoede@redhat.com>
|
|
Description: Reading this file gives the current selected profile for this
|
|
device. Writing this file with one of the strings from
|
|
platform_profile_choices changes the profile to the new value.
|
|
|
|
This file can be monitored for changes by polling for POLLPRI,
|
|
POLLPRI will be signalled on any changes, independent of those
|
|
changes coming from a userspace write; or coming from another
|
|
source such as e.g. a hotkey triggered profile change handled
|
|
either directly by the embedded-controller or fully handled
|
|
inside the kernel.
|
|
|
|
This file may also emit the string 'custom' to indicate
|
|
that multiple platform profiles drivers are in use but
|
|
have different values. This string can not be written to
|
|
this interface and is solely for informational purposes.
|