On modern systems the platform performance, temperature, fan and other hardware related characteristics are often dynamically configurable. The profile is often automatically adjusted to the load by some automatic-mechanism (which may very well live outside the kernel). These auto platform-adjustment mechanisms often can be configured with one of several 'platform-profiles', with either a bias towards low-power consumption or towards performance (and higher power consumption and thermals). Introduce a new platform_profile sysfs API which offers a generic API for selecting the performance-profile of these automatic-mechanisms. Co-developed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Pearson <markpearson@lenovo.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
24 lines
977 B
Text
24 lines
977 B
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
|
|
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.
|