ACPI: platform: Add balanced-performance platform profile
authorMaximilian Luz <luzmaximilian@gmail.com>
Thu, 11 Feb 2021 20:17:02 +0000 (21:17 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 Feb 2021 13:52:41 +0000 (14:52 +0100)
commit6c0b5e3fc6b536b125a66dfee103f3bc26d386f6
tree3a0b6932931dbe1f35e8e1fb7ce580dc02730164
parent6120484ef2bd4ffea7d2f11d2f06167b8f848349
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>
Documentation/ABI/testing/sysfs-platform_profile
drivers/acpi/platform_profile.c
include/linux/platform_profile.h