Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stuff of thermal monitoring what decrases overall system perfo… #6

Open
wants to merge 1 commit into
base: cm-14.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
274 changes: 81 additions & 193 deletions proprietary/etc/A6020l36/thermal-engine.conf
Original file line number Diff line number Diff line change
@@ -1,208 +1,96 @@
# SENSOR : ALIAS
# tsens_tz_sensor9 : cpu4-5-6-7
# tsens_tz_sensor8 : cpu3
# tsens_tz_sensor7 : cpu2
# tsens_tz_sensor6 : cpu1
# tsens_tz_sensor5 : cpu0
# tsens_tz_sensor2 : pop_mem

debug
#Conf file: /system/etc/thermal-engine.conf

[LCD_SKIN_MANAGEMENT]
algo_type monitor
sampling 5000
sensor xo_therm
thresholds 41000 43000 45000 47000 50000
thresholds_clr 39000 41000 43000 45000 47000
actions lcd lcd lcd lcd lcd
action_info 255 225 200 175 150

[CHARGING_MONITOR]
[LCD_LED_MONITOR]
algo_type monitor
sensor xo_therm
sampling 5000
thresholds 44000 46000 48000 52000
thresholds_clr 42000 44000 46000 48000
actions battery battery battery battery
action_info 0 1 2 3
sampling 80
thresholds 52000 58000
thresholds_clr 45000 54000
actions lcd lcd
action_info 100 60

[CHARGER_LIMITER_MONITOR]
algo_type monitor
sensor pm8916_tz
sampling 1000
thresholds 52000 56000 58000
thresholds_clr 50000 53000 55000
actions battery battery battery
action_info 1 2 3

[SS-CLUSTER1]
algo_type ss
sampling 65
sensor cpu0
device cluster1
set_point 76000
set_point_clr 70000

[SS-CLUSTER0]
algo_type ss
sampling 65
sensor cpu4
device cluster0
set_point 76000
set_point_clr 70000

[SS-GPU]
#algo_type ss
algo_type ss
sampling 65
sensor tsens_tz_sensor3
device gpu
set_point 55000
set_point_clr 50000
set_point 76000
set_point_clr 72000
time_constant 0
device_max_limit 300000000

[SS-POPMEM]
#algo_type ss
sampling 250
[BOARD_HOTPLUG1_MONITOR]
algo_type monitor
sensor xo_therm
device cluster1
set_point 43000
set_point_clr 41000
time_constant 2
device_max_limit 800000
sampling 65
thresholds 55000
thresholds_clr 50000
actions hotplug_1
action_info 1

[SS-CPU4-5-6-7]
#algo_type ss
sampling 50
[BOARD_HOTPLUG2_MONITOR]
algo_type monitor
sensor xo_therm
device cluster0
set_point 45000
set_point_clr 43000
time_constant 0
device_max_limit 800000

[SS-CPU3]
#algo_type ss
sampling 50
sensor cpu3
device cluster1
set_point 80000
set_point_clr 55000
time_constant 0
device_max_limit 800000

[SS-CPU2]
#algo_type ss
sampling 50
sensor cpu2
device cluster1
set_point 80000
set_point_clr 55000
time_constant 0
device_max_limit 800000

[SS-CPU1]
#algo_type ss
sampling 50
sensor cpu1
device cluster1
set_point 80000
set_point_clr 55000
time_constant 0
device_max_limit 800000

[SS-CPU0]
#algo_type ss
sampling 50
sensor cpu0
device cluster1
set_point 80000
set_point_clr 55000
time_constant 0
device_max_limit 800000

[CPU2_HOTPLUG_MONITOR]
#algo_type monitor
sampling 1000
sensor cpu2
thresholds 80000
thresholds_clr 75000
sampling 65
thresholds 55000
thresholds_clr 50000
actions hotplug_2
action_info 1

[VDD_RSTR_MONITOR-TSENS10]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor10
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS9]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor9
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS8]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor8
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS7]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor7
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS6]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor6
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS5]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor5
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS3]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor3
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS2]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor2
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS1]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor1
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[VDD_RSTR_MONITOR-TSENS0]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor0
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending

[CPU0_MONITOR]
algo_type monitor
sensor cpu0
sampling 70
thresholds 90000
thresholds_clr 85000
actions shutdown
action_info 0

[CPU1_MONITOR]
algo_type monitor
sensor cpu1
sampling 70
thresholds 90000
thresholds_clr 85000
actions shutdown
action_info 0

[CPU2_MONITOR]
algo_type monitor
sensor cpu2
sampling 70
thresholds 90000
thresholds_clr 85000
actions shutdown
action_info 0

[CPU3_MONITOR]
algo_type monitor
sensor cpu3
sampling 70
thresholds 90000
thresholds_clr 85000
actions shutdown
action_info 0