Skip to content

Commit

Permalink
vince: (WIP) thermal config for 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Klozz authored and mdeejay committed Mar 17, 2019
1 parent 9853c67 commit e64e945
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions configs/thermal-engine.conf
Original file line number Diff line number Diff line change
@@ -1,33 +1,36 @@
# 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

[SS-GPU]
#algo_type ss
sampling 250
sensor gpu
sensor gpu0-usr gpu1-usr
device gpu
set_point 95000
set_point_clr 65000
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -245,4 +248,4 @@ thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
descending

0 comments on commit e64e945

Please sign in to comment.