]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6857ff6d1789f3279ea2a4589421c6c7d31e759
tree3a0b6932931dbe1f35e8e1fb7ce580dc02730164
parentd594a68f710e788d6e1c1e2579d442e8a52000b1
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