+6
−0
+1
−0
drivers/thermal/step_wise.c
0 → 100644
+194
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This patch adds a simple step_wise governor to the generic thermal layer. This algorithm throttles the cooling devices in a linear fashion. If the 'trend' is heating, it throttles by one step. And if the thermal trend is cooling it de-throttles by one step. This actually moves the throttling logic from thermal_sys.c and puts inside step_wise.c, without any change. Signed-off-by:Durgadoss R <durgadoss.r@intel.com> Signed-off-by:
Zhang Rui <rui.zhang@intel.com>