Skip to content

Commit

Permalink
X00TD: Import thermal-engine.conf
Browse files Browse the repository at this point in the history
* From UL-ASUS_X00T-WW-17.2017.2006.429-user

Change-Id: If69cb8a5f8c7ed88a944e12e5f77838fdba39f15
  • Loading branch information
Vivekachooz committed Aug 12, 2020
1 parent 0cb6967 commit beeef6f
Show file tree
Hide file tree
Showing 2 changed files with 276 additions and 0 deletions.
272 changes: 272 additions & 0 deletions configs/thermal-engine.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,272 @@
# SENSOR : ALIAS
# tsens_tz_sensor1 : cpu0-cpu1-cpu2-cpu3
# tsens_tz_sensor8 : gpu
# tsens_tz_sensor6 : cpu7
# tsens_tz_sensor5 : cpu6
# tsens_tz_sensor4 : cpu5
# tsens_tz_sensor3 : cpu4

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

[DUMPSYS_SENSORSERVICE]
algo_type monitor
sensor battery_therm
sampling 60000
thresholds 100000
thresholds_clr 90000
actions cluster0
action_info 1843200

[LCD_MONITOR]
algo_type monitor
sampling 1000
sensor msm_therm
thresholds 40000 43000
thresholds_clr 38000 41000
actions lcd lcd
action_info 225 200

[ASUS_THERM]
algo_type monitor
sampling 1000
sensor msm_therm
thresholds 45000 47000 50000 52000 72000 75000
thresholds_clr 43000 45000 48000 50000 70000 73000
actions cluster0+cluster1 cluster0+cluster1 cluster0+cluster1+camcorder cluster0+cluster1+camcorder cluster0+cluster1+battery+gpu+camcorder cluster0+cluster1+battery+gpu+camcorder+shutdown
action_info 1536000+1747200 1401600+1747200 1113600+1401600+1 902400+1113600+1 633600+1113600+2+370000000+1 633600+1113600+3+160000000+10+5000

[VIRTUAL-CLUSTER1]
#algo_type virtual
trip_sensor tsens_tz_sensor3
set_point 60000
set_point_clr 50000
sensors tsens_tz_sensor3 tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7 tsens_tz_sensor12
weights
sampling 10
math 2

[VIRTUAL-CLUSTER0]
#algo_type virtual
trip_sensor tsens_tz_sensor1
set_point 60000
set_point_clr 50000
sensors tsens_tz_sensor1 tsens_tz_sensor2
weights
sampling 10
math 2

[SS-QUIET-THERM-SILVER]
#algo_type ss
sampling 2000
sensor quiet_therm
device cluster0
set_point 47000
set_point_clr 40000
time_constant 0
device_max_limit 1536000

[SS-QUIET-THERM-GOLD]
#algo_type ss
sampling 2000
sensor quiet_therm
device cluster1
set_point 45000
set_point_clr 40000
time_constant 0
device_max_limit 1747200

[SS-QUIET-THERM-GPU]
#algo_type ss
sampling 2000
sensor quiet_therm
device gpu
set_point 47000
set_point_clr 40000
time_constant 0
device_max_limit 588000000

[SS-GPU]
#algo_type ss
sampling 10
sensor gpu
device gpu
set_point 95000
set_point_clr 65000
time_constant 0
device_max_limit 588000000

[SPEAKER-CAL]
sampling 30000 30000 10 1800000
sensor pm660_tz
sensors tsens_tz_sensor8 tsens_tz_sensor9 tsens_tz_sensor10 tsens_tz_sensor11 tsens_tz_sensor13
temp_range 6000 10000 2000
max_temp 45000
offset -4000

[CAMERA_SKIN_EXIT_MITIGATION]
algo_type monitor
sampling 10000
sensor quiet_therm
thresholds 55000 55000
thresholds_clr 45000 45000
actions camera camcorder
action_info 10 10

[MODEM_PROC_TEMP_MITIGATION]
#algo_type monitor
sampling 10000
sensor quiet_therm
thresholds 82000 95000
thresholds_clr 80000 90000
actions modem_proc modem_proc
action_info 1 3

[MODEM_PA_MITIGATION]
#algo_type monitor
sampling 10000
sensor quiet_therm
thresholds 85000 87000 95000
thresholds_clr 83000 85000 90000
actions modem modem modem
action_info 1 2 3

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

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

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

[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-TSENS4]
#algo_type monitor
sampling 1000
sensor tsens_tz_sensor4
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
4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ DEVICE_PACKAGE_OVERLAYS += \
PRODUCT_PACKAGES += \
init.device.rc

# Thermal configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf

# Inherit proprietary files
$(call inherit-product-if-exists, vendor/asus/X00TD/X00TD-vendor.mk)

0 comments on commit beeef6f

Please sign in to comment.