From e64e9459addb9739611f71cc62200dc4b699b5b6 Mon Sep 17 00:00:00 2001 From: klozz Date: Sun, 17 Mar 2019 04:23:49 +0100 Subject: [PATCH] vince: (WIP) thermal config for 4.9 --- configs/thermal-engine.conf | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/configs/thermal-engine.conf b/configs/thermal-engine.conf index 11b5015..4112eaf 100644 --- a/configs/thermal-engine.conf +++ b/configs/thermal-engine.conf @@ -1,25 +1,28 @@ # SENSOR : ALIAS # tsens_tz_sensor5 : cpu5 -# tsens_tz_sensor4 : cpu4 +# tsens_tz_sensor4 : cpu4 apc1-cpu0-usr # tsens_tz_sensor2 : pop_mem # tsens_tz_sensor15 : gpu -# tsens_tz_sensor13 : L2_cache_0 -# tsens_tz_sensor12 : cpu3 -# tsens_tz_sensor11 : cpu2 -# tsens_tz_sensor10 : cpu1 -# tsens_tz_sensor9 : cpu0 -# tsens_tz_sensor8 : L2_cache_1 -# tsens_tz_sensor7 : cpu7 +# tsens_tz_sensor13 : L2_cache_0 apc0-l2-usr +# tsens_tz_sensor12 : cpu3 apc0-cpu3-usr +# tsens_tz_sensor11 : cpu2 apc0-cpu2-usr +# tsens_tz_sensor10 : cpu1 apc0-cpu1-usr +# tsens_tz_sensor9 : cpu0 apc0-cpu0-usr +# tsens_tz_sensor8 : L2_cache_1 apc1-l2-usr +# tsens_tz_sensor7 : cpu7 # tsens_tz_sensor6 : cpu6 +# Author: Carlos 'Klozz' Jesus (TeamMEX@XDA-Developers) +# custom thermal configuration for msm8953 4.9 kernel +# #Conf file: system/vendor/etc/thermal-engine.conf [VIRTUAL-CPUS] #algo_type virtual -trip_sensor tsens_tz_sensor9 +trip_sensor apc0-cpu0-usr set_point 75000 set_point_clr 65000 -sensors tsens_tz_sensor9 tsens_tz_sensor10 tsens_tz_sensor11 tsens_tz_sensor12 tsens_tz_sensor13 tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7 tsens_tz_sensor8 +sensors apc0-cpu0-usr apc0-cpu1-usr apc0-cpu2-usr apc0-cpu3-usr apc0-l2-usr apc1-cpu0-usr apc1-cpu1-usr apc1-cpu2-usr apc1-cpu3-usr apc1-l2-usr weights sampling 50 math 2 @@ -27,7 +30,7 @@ math 2 [SS-GPU] #algo_type ss sampling 250 -sensor gpu +sensor gpu0-usr gpu1-usr device gpu set_point 95000 set_point_clr 65000 @@ -55,7 +58,7 @@ time_constant 0 [SPEAKER-CAL] sampling 30000 30000 10 1800000 sensor pm8953_tz -sensors tsens_tz_sensor1 tsens_tz_sensor2 tsens_tz_sensor3 tsens_tz_sensor14 tsens_tz_sensor15 +sensors qdsp-usr gpu0-usr gpu1-usr temp_range 6000 10000 2000 max_temp 45000 offset -4000 @@ -81,16 +84,16 @@ action_info 1 3 [BATTERY_CHARGING_CTL] #algo_type monitor sampling 10000 -sensor case_therm +sensor case-therm-adc chg-temp-adc thresholds 38000 40000 43000 48000 thresholds_clr 35000 38000 40000 43000 actions battery battery battery battery action_info 2 3 4 5 -[VDD_RSTR_MONITOR-TSENS15] +[VDD_RSTR_MONITOR-GPU] #algo_type monitor sampling 1000 -sensor tsens_tz_sensor15 +sensor gpu0-usr gpu1-usr gpu thresholds 5000 thresholds_clr 10000 actions vdd_restriction @@ -245,4 +248,4 @@ thresholds 5000 thresholds_clr 10000 actions vdd_restriction action_info 1 -descending \ No newline at end of file +descending