]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
platform/surface: platform_profile: add fan profile switching
authorIvor Wanders <ivor@iwanders.net>
Thu, 14 Mar 2024 22:37:33 +0000 (18:37 -0400)
committerHans de Goede <hdegoede@redhat.com>
Mon, 25 Mar 2024 14:55:29 +0000 (15:55 +0100)
commit3427c443a6dc2f6171616c2381d037d004af1df0
tree76b719dc10c9aea5b2ae6014fe937305e5a3ed50
parente526da8f8875267ccb8f4c4782668ebfa160b2c0
platform/surface: platform_profile: add fan profile switching

Change naming from tmp to platform profile to clarify the module may
interact with both the TMP and FAN subystems. Add functionality that
switches the fan profile when the platform profile is changed when
a fan is present.

Signed-off-by: Ivor Wanders <ivor@iwanders.net>
Link: https://github.com/linux-surface/kernel/pull/145
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20240314223733.6236-2-ivor@iwanders.net
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/surface_aggregator_registry.c
drivers/platform/surface/surface_platform_profile.c