diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-07-19 21:27:15 +0000 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-19 20:41:53 -0700 |
commit | f9c2d375c343febd0346900f3c8d2d016e2ec09a (patch) | |
tree | 7bcb586ac18cd777ebcb177afd34675552135980 | |
parent | 3036dcdb1efb873656c3c56868e83441fce825cf (diff) | |
download | chrome-ec-f9c2d375c343febd0346900f3c8d2d016e2ec09a.tar.gz |
link: update fan policy
As per James advice :
- increase fan speed at low temperature up to maximum "silent RPM",
this will give us more margin for later operations.
- lower the maximum fan RPM threshold to 86 C to try to lower CPU
temperature impact on skin temp.
- do not take into account "object" temp sensors, they are too random
at the moment.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=None
TEST=adhoc
Change-Id: I3b60570e33f82e4015c6588d9e2ae538a33ad14f
Reviewed-on: https://gerrit.chromium.org/gerrit/27921
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | common/thermal.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/common/thermal.c b/common/thermal.c index 7d2640a1ad..344279c0b3 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -29,18 +29,20 @@ extern const struct temp_sensor_t temp_sensors[TEMP_SENSOR_COUNT]; static struct thermal_config_t thermal_config[TEMP_SENSOR_TYPE_COUNT] = { /* TEMP_SENSOR_TYPE_CPU */ {THERMAL_CONFIG_WARNING_ON_FAIL, - {368, 373, 383, 328, 338, 348, 358, 368}}, + {368, 373, 383, 327, 335, 343, 351, 359} } , /* TEMP_SENSOR_TYPE_BOARD */ {THERMAL_CONFIG_NO_FLAG, {THERMAL_THRESHOLD_DISABLE_ALL}}, /* TEMP_SENSOR_TYPE_CASE */ {THERMAL_CONFIG_NO_FLAG, {341, THERMAL_THRESHOLD_DISABLE, 353, - 318, 323, 328, 333, 338}}, + THERMAL_THRESHOLD_DISABLE, THERMAL_THRESHOLD_DISABLE, + THERMAL_THRESHOLD_DISABLE, THERMAL_THRESHOLD_DISABLE, + THERMAL_THRESHOLD_DISABLE} }, }; /* Fan speed settings. */ -/* Max RPM is about 11000. Setting each step to be 20% of the max RPM. */ -static const int fan_speed[THERMAL_FAN_STEPS + 1] = {0, 2200, 4400, 6600, - 8800, -1}; +/* Real max RPM is about 9300. */ +static const int fan_speed[THERMAL_FAN_STEPS + 1] = {0, 3000, 4575, 6150, + 7725, -1}; /* Number of consecutive overheated events for each temperature sensor. */ static int8_t ot_count[TEMP_SENSOR_COUNT][THRESHOLD_COUNT + THERMAL_FAN_STEPS]; |