diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2023-12-20 23:17:52 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-12-29 18:01:01 +0100 |
commit | bfc57bd1685981730bfe9802d9de7603a0a43bc4 (patch) | |
tree | e5043e60f15a1b4407813d0f7dddacfc496edd5d /include | |
parent | 879c9dc511732b74a04f11336e00f12783337a8a (diff) | |
download | linux-stable-bfc57bd1685981730bfe9802d9de7603a0a43bc4.tar.gz linux-stable-bfc57bd1685981730bfe9802d9de7603a0a43bc4.tar.bz2 linux-stable-bfc57bd1685981730bfe9802d9de7603a0a43bc4.zip |
thermal/sysfs: Update governors when the 'weight' has changed
Support governors update when the thermal instance's weight has changed.
This allows to adjust internal state for the governor.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
[ rjw: Add two empty code lines aroung the locking ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/thermal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 4d96fefb2767..9d0427da32af 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -53,6 +53,7 @@ enum thermal_notify_event { THERMAL_EVENT_KEEP_ALIVE, /* Request for user space handler to respond */ THERMAL_TZ_BIND_CDEV, /* Cooling dev is bind to the thermal zone */ THERMAL_TZ_UNBIND_CDEV, /* Cooling dev is unbind from the thermal zone */ + THERMAL_INSTANCE_WEIGHT_CHANGED, /* Thermal instance weight changed */ }; /** |