summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2021-02-11 21:17:02 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-02-24 14:52:41 +0100
commit6c0b5e3fc6b536b125a66dfee103f3bc26d386f6 (patch)
tree3a0b6932931dbe1f35e8e1fb7ce580dc02730164 /include
parent6120484ef2bd4ffea7d2f11d2f06167b8f848349 (diff)
downloadlinux-6c0b5e3fc6b536b125a66dfee103f3bc26d386f6.tar.gz
linux-6c0b5e3fc6b536b125a66dfee103f3bc26d386f6.tar.bz2
linux-6c0b5e3fc6b536b125a66dfee103f3bc26d386f6.zip
ACPI: platform: Add balanced-performance platform profile
Some devices, including most Microsoft Surface devices, have a platform profile somewhere inbetween balanced and performance. More specifically, adding this profile allows the following mapping on Surface devices: Vendor Name Platform Profile ------------------------------------------ Battery Saver low-power Recommended balanced Better Performance balanced-performance Best Performance performance Suggested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_profile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_profile.h b/include/linux/platform_profile.h
index b4794027e759..a6329003aee7 100644
--- a/include/linux/platform_profile.h
+++ b/include/linux/platform_profile.h
@@ -21,6 +21,7 @@ enum platform_profile_option {
PLATFORM_PROFILE_COOL,
PLATFORM_PROFILE_QUIET,
PLATFORM_PROFILE_BALANCED,
+ PLATFORM_PROFILE_BALANCED_PERFORMANCE,
PLATFORM_PROFILE_PERFORMANCE,
PLATFORM_PROFILE_LAST, /*must always be last */
};