OSDN Git Service

platform/surface: Add platform profile driver
authorMaximilian Luz <luzmaximilian@gmail.com>
Thu, 11 Feb 2021 20:17:03 +0000 (21:17 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sat, 6 Mar 2021 09:23:26 +0000 (10:23 +0100)
commitb78b4982d7637ededbc40b5f4aa59394acee8a60
treec8b7bc329624b9600cb3e8b04eaabfd0c4749be3
parentaebf0a11a8c1fb6444d1365db97f90672199a867
platform/surface: Add platform profile driver

Add a driver to provide platform profile support on 5th- and later
generation Microsoft Surface devices with a Surface System Aggregator
Module. On those devices, the platform profile can be used to influence
cooling behavior and power consumption.

For example, the default 'quiet' profile limits fan noise and in turn
sacrifices performance of the discrete GPU found on Surface Books. Its
full performance can only be unlocked on the 'performance' profile.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210211201703.658240-5-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
MAINTAINERS
drivers/platform/surface/Kconfig
drivers/platform/surface/Makefile
drivers/platform/surface/surface_platform_profile.c [new file with mode: 0644]