diff options
author | Durgadoss R <durgadoss.r@intel.com> | 2012-09-21 02:36:04 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-11-05 01:00:07 -0500 |
commit | e151a202a084f9f4310d1aa4398325c56ca95fda (patch) | |
tree | 200f8dcd62f7702e5bda755253d99ec98f5d0fa4 /drivers/thermal/Kconfig | |
parent | 4ccc5743ae70530f758c7d7ec9a0ca58878e584b (diff) |
Thermal: Introduce a step_wise thermal governor
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>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 84b0f0382e5d..7e1b6de68566 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -61,3 +61,9 @@ config FAIR_SHARE | |||
61 | depends on THERMAL | 61 | depends on THERMAL |
62 | help | 62 | help |
63 | Enable this to manage platform thermals using fair-share governor. | 63 | Enable this to manage platform thermals using fair-share governor. |
64 | |||
65 | config STEP_WISE | ||
66 | bool "Step_wise thermal governor" | ||
67 | depends on THERMAL | ||
68 | help | ||
69 | Enable this to manage platform thermals using a simple linear | ||