From eeabfa339adab2afd74f5a6396296a85a3313583 Mon Sep 17 00:00:00 2001 From: kame_wang Date: Thu, 20 Apr 2017 03:34:21 +0800 Subject: [PATCH] update thermal table with CPU/GPU throttling and back_therm shutdown mechanism bug: 3700896 Test: build Change-Id: Ic233dab0237cd90df6216f43e22757d059778192 --- thermal-engine.conf | 74 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 16 deletions(-) diff --git a/thermal-engine.conf b/thermal-engine.conf index f9e952f..2b2b353 100755 --- a/thermal-engine.conf +++ b/thermal-engine.conf @@ -1,17 +1,59 @@ -[SKIN_SHUTDOWN] -algo_type monitor -sampling 1000 -sensor quiet_therm -thresholds 60000 -thresholds_clr 59000 -actions shutdown -action_info 1 +sampling 5000 -[BATT_SHUTDOWN] -algo_type monitor -sampling 1000 -sensor battery -thresholds 60000 -thresholds_clr 59000 -actions shutdown -action_info 1 +[SKIN-MID-FLOOR-BC] +algo_type ss +sampling 2000 +sensor msm_therm +device cluster1 +set_point 55000 +set_point_clr 54000 +device_perf_floor 1804800 +time_constant 0 + +[SKIN-LOW-FLOOR-BC] +algo_type ss +sampling 2000 +sensor msm_therm +device cluster1 +set_point 60000 +set_point_clr 59000 +device_perf_floor 1190400 +time_constant 0 + +[HOT-SKIN-VIRTUAL] +algo_type virtual +trip_sensor back_therm +sensors tsens_tz_sensor12 tsens_tz_sensor7 +list_cnt 2 +weights 1 -1 +set_point 42000 +set_point_clr 39000 +sampling 1000 +math 0 + +[VIRTUAL-SS-GPU-SKIN] +algo_type ss +sensor HOT-SKIN-VIRTUAL +device gpu +sampling 2000 +set_point 7000 +set_point_clr 2000 +device_max_limit 414000000 + +[SKIN-MONITOR] +algo_type monitor +sampling 2000 +sensor back_therm +thresholds 50000 52000 56000 +thresholds_clr 49000 51000 55000 +actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu +action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000 + +[SKIN-SHUTDOWN] +algo_type monitor +sampling 1000 +sensor back_therm +thresholds 58000 +thresholds_clr 57000 +actions shutdown +action_info 1