msm: Add frequency backoff to thermal monitor
Make thermal monitor performance hit more gradual by stepping down limit frequency instead of jumping directly to that frequency. The monitor now steps down to the lowest available cpufreq frequency, instead of fixing the limit frequency to 918MHz. Also update the polling frequency to 250ms to improve responsiveness. Change-Id: I6edb0cfc057284023978de04d7835e9783da5ebd Signed-off-by: Eugene Seah <eseah@codeaurora.org>
This commit is contained in:
committed by
Stephen Boyd
parent
a71dc49243
commit
1e1403391d
@@ -17,9 +17,9 @@
|
||||
struct msm_thermal_data {
|
||||
uint32_t sensor_id;
|
||||
uint32_t poll_ms;
|
||||
uint32_t limit_temp;
|
||||
uint32_t temp_hysteresis;
|
||||
uint32_t limit_freq;
|
||||
uint32_t limit_temp_degC;
|
||||
uint32_t temp_hysteresis_degC;
|
||||
uint32_t freq_step;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_THERMAL_MONITOR
|
||||
|
||||
Reference in New Issue
Block a user