diff options
author | Zhang Rui <rui.zhang@intel.com> | 2012-11-19 02:33:51 -0500 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-01-04 02:22:36 -0500 |
commit | d069015e268bcac6c8bd8997b3235f5f977d3ab6 (patch) | |
tree | 907bf00966fcb2fa3261f7a81ec6212ca3d71f0e | |
parent | 5f738967e89584f99c6a11c6bf09b16c50b6a03e (diff) |
Introduce THERMAL_TREND_RAISE_FULL and THERMAL_TREND_DROP_FULL
These two new thermal_trend types are used to tell the governor
that the temeprature is raising/dropping quickly.
Thermal cooling governors should handle this situation and make
proper decisions, e.g. set cooling state to upper/lower limit directly
instead of one step each time.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r-- | include/linux/thermal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index fe82022478e7..883bcda7e1e4 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h | |||
@@ -74,6 +74,8 @@ enum thermal_trend { | |||
74 | THERMAL_TREND_STABLE, /* temperature is stable */ | 74 | THERMAL_TREND_STABLE, /* temperature is stable */ |
75 | THERMAL_TREND_RAISING, /* temperature is raising */ | 75 | THERMAL_TREND_RAISING, /* temperature is raising */ |
76 | THERMAL_TREND_DROPPING, /* temperature is dropping */ | 76 | THERMAL_TREND_DROPPING, /* temperature is dropping */ |
77 | THERMAL_TREND_RAISE_FULL, /* apply highest cooling action */ | ||
78 | THERMAL_TREND_DROP_FULL, /* apply lowest cooling action */ | ||
77 | }; | 79 | }; |
78 | 80 | ||
79 | /* Events supported by Thermal Netlink */ | 81 | /* Events supported by Thermal Netlink */ |