Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6b140d9 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

drivers: step_wise: Add support for hysteresis temperature



Step wise governor will increase the mitigation when the temperature
goes above a threshold and will decrease the mitigation when the
temperature goes below the threshold. If there is a case where the
temperature is wavering around the threshold, the mitigation will be
applied and removed every iteration, which may not be efficient.
Introduction of hysteresis temperature could avoid this by relaxing
the mitigation only when the temperature goes below this lower
hysteresis value.

Add support for hysteresis temperature in the step wise governor. With
this support, step wise governor will relax the mitigation only
if the temperature goes below the hysteresis temperature.

Change-Id: I6367edaf83e558b2919826342c59346399f53d9b
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent caafe206
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment