Searched hist:"0952177 f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/thermal/ |
H A D | gov_power_allocator.c | 0952177f Thu Apr 22 06:43:08 CDT 2021 Lukasz Luba <lukasz.luba@arm.com> thermal/core/power_allocator: Update once cooling devices when temp is low
The cooling device state change generates an event, also when there is no need, because temperature is low and device is not throttled. Avoid to unnecessary update the cooling device which means also not sending event. The cooling device state has not changed because the temperature is still below the first activation trip point value, so we can do this. Add a tracking mechanism to make sure it updates cooling devices only once - when the temperature dropps below first trip point.
Reported-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20210422114308.29684-4-lukasz.luba@arm.com
|