diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2023-12-21 02:17:53 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-12-29 20:01:01 +0300 |
commit | a3cd6db4cc2ed70fc3468cdb5eb20745e7fefba9 (patch) | |
tree | c9caa7d11209e83ea86486ff9c5c788f948fcadb /drivers/thermal/loongson2_thermal.c | |
parent | bfc57bd1685981730bfe9802d9de7603a0a43bc4 (diff) | |
download | linux-a3cd6db4cc2ed70fc3468cdb5eb20745e7fefba9.tar.xz |
thermal: gov_power_allocator: Support new update callback of weights
When the thermal instance's weight is updated from the sysfs the governor
update_tz() callback is triggered. Implement proper reaction to this
event in the IPA, which would save CPU cycles spent in throttle().
This will speed-up the main throttle() IPA function and clean it up
a bit.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal/loongson2_thermal.c')
0 files changed, 0 insertions, 0 deletions