From c302d25ba5d8eb72f77981da35ca818ad0848f4e Mon Sep 17 00:00:00 2001 From: victor10520 Date: Mon, 30 Aug 2021 20:05:25 +0300 Subject: [PATCH] sdm710-common: Use old thermal config *Works better --- configs/thermal-engine.conf | 138 +++++++++++++++++++++++++----------- 1 file changed, 95 insertions(+), 43 deletions(-) diff --git a/configs/thermal-engine.conf b/configs/thermal-engine.conf index 6e769cf..99cd6ab 100644 --- a/configs/thermal-engine.conf +++ b/configs/thermal-engine.conf @@ -1,55 +1,107 @@ -[SS-SKIN-MID-CPU6] +[MSM-THERM0-0] algo_type ss -sampling 5000 +sampling 100 +sensor msm-therm-adc +device cpu0 +set_point 50000 +set_point_clr 48000 +device_max_limit 1612800 + +[MSM-THERM0-1] +algo_type ss +sampling 100 +sensor msm-therm-adc +device cpu0 +set_point 52000 +set_point_clr 50000 +device_max_limit 1516800 + +[MSM-THERM0-2] +algo_type ss +sampling 100 +sensor msm-therm-adc +device cpu0 +set_point 54000 +set_point_clr 52000 +device_max_limit 1324800 + +[MSM-THERM0-PERF] +algo_type ss +sampling 100 +sensor msm-therm-adc +device cpu0 +set_point 54000 +set_point_clr 52000 +device_max_limit 1708800 + +[MSM-THERM1-0] +algo_type ss +sampling 100 sensor msm-therm-adc device cpu6 -set_point 43000 -set_point_clr 42000 +set_point 50000 +set_point_clr 48000 +device_max_limit 2054400 + +[MSM-THERM1-1] +algo_type ss +sampling 100 +sensor msm-therm-adc +device cpu6 +set_point 52000 +set_point_clr 50000 +device_max_limit 1843200 + +[MSM-THERM1-2] +algo_type ss +sampling 100 +sensor msm-therm-adc +device cpu6 +set_point 54000 +set_point_clr 52000 device_max_limit 1747200 -time_constant 0 -[SS-SKIN-LOW-CPU6] +[MSM-THERM1-3] algo_type ss -sampling 5000 +sampling 100 sensor msm-therm-adc device cpu6 -set_point 45000 -set_point_clr 44000 -device_max_limit 1363200 -time_constant 0 +set_point 56000 +set_point_clr 54000 +device_max_limit 1536000 -[SKIN-MONITOR] -algo_type monitor -sampling 1000 -sensor msm-therm-adc -thresholds 47000 49000 50000 60000 -thresholds_clr 46000 48000 49000 59000 -actions cpu0+cpu6 cpu0+cpu6 cpu0+cpu6 shutdown -action_info 1209600+1363200 998400+979200 748800+825600 1 +[MSM-THERM1-PERF] +algo_type ss +sampling 100 +sensor msm-therm-adc +device cpu6 +set_point 56000 +set_point_clr 54000 +device_max_limit 2054400 -[GPU-SKIN-MONITOR] -algo_type monitor -sampling 1000 -sensor msm-therm-adc -thresholds 50000 -thresholds_clr 49000 -actions gpu -action_info 355000000 +[SS-GPU] +algo_type ss +sampling 250 +sensor gpu0-usr +device gpu +set_point 85000 +set_point_clr 60000 -[MODEM-MONITOR] -algo_type monitor -sampling 1000 -sensor msm-therm-adc -thresholds 51000 53000 55000 -thresholds_clr 48000 51000 53000 -actions modem+modem_proc modem+modem_proc modem+modem_proc -action_info 1+1 1+2 3+3 -[BATTERY-MONITOR] -algo_type monitor -sampling 2000 -sensor msm-therm-adc -thresholds 40000 42500 45000 46000 47000 -thresholds_clr 39000 41500 44000 45000 46000 -actions battery battery battery battery battery -action_info 1 2 3 4 5 +[MODEM_PROC_TEMP_MITIGATION] +disable 1 + +[MODEM_PA_MITIGATION] +disable 1 + +[CAMERA_SKIN_EXIT_MITIGATION] +disable 1 + +[BATTERY_CHARGING_CTL] +algo_type monitor +sampling 1000 +sensor xo-therm-adc +thresholds 45000 47000 49000 51000 53000 +thresholds_clr 45000 47000 49000 51000 53000 +actions battery battery battery battery battery +action_info 1 2 3 4 5