mirror of
https://github.com/Evolution-X-Devices/device_motorola_rtwo
synced 2026-01-27 07:50:05 +00:00
rtwo: Swap thermal config for rtwo-game-perf
The default thermal-engine-rtwo.conf is way too agressive with throttling that the performance is way too low for any users trying to play 3D games on a Snapdragon 8gen2 runs almost as slow as a SD 8gen1+, so let's swap to the rtwo-game-perf config as when we compared the configs it allows for a better performance to thermal balance. We also checked rtwo-perf but that one was more of a "let's get the highest scores in a benchmark and turn the device into a handwarmer" kind of thermal config. Change-Id: Id5c991a198ef6be61009a9785b5e8604aa1fdc91
This commit is contained in:
141
configs/thermal-engine-rtwo-game-perf.conf
Normal file
141
configs/thermal-engine-rtwo-game-perf.conf
Normal file
@@ -0,0 +1,141 @@
|
||||
[FRONT_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm wchg-therm quiet-therm mchg-therm
|
||||
weights 13 21 52 15
|
||||
offsets -4000 0 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
sys_temp
|
||||
|
||||
[REPORT-FRONT-TEMP]
|
||||
algo_type monitor
|
||||
sampling 300000
|
||||
sensor FRONT_TEMP
|
||||
thresholds 42000
|
||||
thresholds_clr 40000
|
||||
actions report
|
||||
action_info 1
|
||||
|
||||
[FUSE_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm wchg-therm quiet-therm mchg-therm
|
||||
weights 13 21 52 15
|
||||
offsets 0 0 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
|
||||
[BACK_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm quiet-therm mchg-therm
|
||||
weights 15 56 29
|
||||
offsets -4000 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
sys_temp
|
||||
|
||||
[REPORT-BACK-TEMP]
|
||||
algo_type monitor
|
||||
sampling 300000
|
||||
sensor BACK_TEMP
|
||||
thresholds 42000
|
||||
thresholds_clr 40000
|
||||
actions report
|
||||
action_info 1
|
||||
|
||||
[MON-MSM-CPU0]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FUSE_TEMP
|
||||
thresholds 48000
|
||||
thresholds_clr 45000
|
||||
actions cpu0
|
||||
action_info 1459200
|
||||
|
||||
[MON-MSM-CPU3]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FUSE_TEMP
|
||||
thresholds 46000 47000 48000 49000 50000
|
||||
thresholds_clr 44000 46000 47000 48000 49000
|
||||
actions cpu3 cpu3 cpu3 cpu3 cpu3
|
||||
action_info 2188800 1920000 1651200 1401600 1286400
|
||||
|
||||
[MON-MSM-CPU7]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FUSE_TEMP
|
||||
thresholds 46000 47000 48000 49000 50000
|
||||
thresholds_clr 44000 46000 47000 48000 49000
|
||||
actions cpu7 cpu7 cpu7 cpu7 cpu7
|
||||
action_info 2092800 1843200 1593600 1478400 1248000
|
||||
|
||||
[MON-MSM-GPU]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FUSE_TEMP
|
||||
thresholds 46000 48000 50000
|
||||
thresholds_clr 45000 46000 48000
|
||||
actions gpu gpu gpu
|
||||
action_info 550000000 475000000 348000000
|
||||
|
||||
[FCHG_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||
weights 18 5 55 17 5
|
||||
offsets 0 0 0 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
|
||||
[DETECT-STANDBY]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors lcd_brightness_value
|
||||
weights 400
|
||||
sampling 1000
|
||||
math 8
|
||||
less_than
|
||||
|
||||
[OVERRIDE-CHG]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor DETECT-STANDBY
|
||||
thresholds 0
|
||||
thresholds_clr 1
|
||||
actions internal_override
|
||||
action_info 1
|
||||
descending
|
||||
|
||||
[MON-BATT0]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor FCHG_TEMP
|
||||
thresholds 37000 39000 40500 42000
|
||||
thresholds_clr 33000 37000 39000 40500
|
||||
actions battery battery battery battery
|
||||
action_info 10 9 8 7
|
||||
override_c -3500
|
||||
|
||||
[MON-BATT1]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor FCHG_TEMP
|
||||
thresholds 42500 43500 44500 46500
|
||||
thresholds_clr 42000 42500 43500 44500
|
||||
actions battery battery battery battery battery
|
||||
action_info 5 4 3 2
|
||||
override_c -3500
|
||||
|
||||
@@ -1,236 +0,0 @@
|
||||
[FRONT_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||
weights 18 5 55 17 5
|
||||
offsets -4000 0 0 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
sys_temp
|
||||
|
||||
[REPORT-FRONT-TEMP]
|
||||
algo_type monitor
|
||||
sampling 300000
|
||||
sensor FRONT_TEMP
|
||||
thresholds 42000
|
||||
thresholds_clr 40000
|
||||
actions report
|
||||
action_info 1
|
||||
|
||||
[FUSE_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||
weights 18 5 55 17 5
|
||||
offsets 0 0 0 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
sys_temp
|
||||
|
||||
[BACK_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm quiet-therm mchg-therm
|
||||
weights 15 56 29
|
||||
offsets -4000 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
sys_temp
|
||||
|
||||
[REPORT-BACK-TEMP]
|
||||
algo_type monitor
|
||||
sampling 300000
|
||||
sensor BACK_TEMP
|
||||
thresholds 42000
|
||||
thresholds_clr 40000
|
||||
actions report
|
||||
action_info 1
|
||||
|
||||
[MON-MSM-CPU0]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FUSE_TEMP
|
||||
thresholds 42000 45000 48000
|
||||
thresholds_clr 39000 42000 45000
|
||||
actions cpu0 cpu0 cpu0
|
||||
action_info 1670400 1459200 1228800
|
||||
|
||||
[MON-MSM-CPU3]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FUSE_TEMP
|
||||
thresholds 38000 40000 42000 44000 46000 50000
|
||||
thresholds_clr 35000 38000 40000 42000 44000 46000
|
||||
actions cpu3 cpu3 cpu3 cpu3 cpu3 cpu3
|
||||
action_info 2188800 1920000 1785600 1536000 1286400 1171200
|
||||
|
||||
[MON-MSM-CPU7]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FUSE_TEMP
|
||||
thresholds 38000 40000 42000 44000 46000 50000
|
||||
thresholds_clr 35000 38000 40000 42000 44000 46000
|
||||
actions cpu7 cpu7 cpu7 cpu7 cpu7 cpu7
|
||||
action_info 2092800 1708800 1593600 1248000 1132800 998400
|
||||
|
||||
[MON-MSM-GPU]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FUSE_TEMP
|
||||
thresholds 40000 41000 42000 45000 50000
|
||||
thresholds_clr 38000 40000 41000 42000 45000
|
||||
actions gpu gpu gpu gpu gpu
|
||||
action_info 615000000 550000000 475000000 348000000 295000000
|
||||
|
||||
[FCHG_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||
weights 18 5 55 17 5
|
||||
offsets 0 0 0 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
|
||||
[FCHG1_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||
weights 18 5 55 17 5
|
||||
offsets -500 0 0 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
|
||||
[DETECT-STANDBY]
|
||||
algo_type virtual
|
||||
trip_sensor msm-therm
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors lcd_brightness_value
|
||||
weights 400
|
||||
sampling 1000
|
||||
math 8
|
||||
less_than
|
||||
|
||||
[OVERRIDE-CHG]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor DETECT-STANDBY
|
||||
thresholds 0
|
||||
thresholds_clr 1
|
||||
actions internal_override
|
||||
action_info 1
|
||||
descending
|
||||
|
||||
[SS-BATT0]
|
||||
algo_type ss
|
||||
sampling 2000
|
||||
sensor FCHG_TEMP
|
||||
device battery
|
||||
set_point 35000
|
||||
set_point_clr 33000
|
||||
time_constant 0
|
||||
device_max_limit 10
|
||||
override_c -3500
|
||||
|
||||
[SS-BATT1]
|
||||
algo_type ss
|
||||
sampling 2000
|
||||
sensor FCHG_TEMP
|
||||
device battery
|
||||
set_point 37000
|
||||
set_point_clr 36000
|
||||
time_constant 0
|
||||
device_max_limit 9
|
||||
override_c -3500
|
||||
|
||||
[SS-BATT2]
|
||||
algo_type ss
|
||||
sampling 2000
|
||||
sensor FCHG1_TEMP
|
||||
device battery
|
||||
set_point 38500
|
||||
set_point_clr 37000
|
||||
time_constant 0
|
||||
device_max_limit 8
|
||||
override_c -3500
|
||||
|
||||
[SS-BATT3]
|
||||
algo_type ss
|
||||
sampling 2000
|
||||
sensor FCHG1_TEMP
|
||||
device battery
|
||||
set_point 40500
|
||||
set_point_clr 40200
|
||||
time_constant 0
|
||||
device_max_limit 7
|
||||
override_c -3500
|
||||
|
||||
[SS-BATT4]
|
||||
algo_type ss
|
||||
sampling 2000
|
||||
sensor FCHG_TEMP
|
||||
device battery
|
||||
set_point 42500
|
||||
set_point_clr 41500
|
||||
time_constant 0
|
||||
device_max_limit 6
|
||||
override_c -3500
|
||||
|
||||
[MON-BATT5]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor FCHG_TEMP
|
||||
thresholds 43500 45500 47500 50500 52000
|
||||
thresholds_clr 42500 43500 45500 47500 50500
|
||||
actions battery battery battery battery battery
|
||||
action_info 5 4 3 2 1
|
||||
override_c -3500
|
||||
|
||||
[BACK_MDM]
|
||||
algo_type virtual
|
||||
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||
weights 18 5 55 17 5
|
||||
trip_sensor mdmss-0 mdmss-1 mdmss-2 mdmss-3
|
||||
trip_sensor_logic || || ||
|
||||
thresholds 60000 60000 60000 60000
|
||||
thresholds_clr 40000 40000 40000 40000
|
||||
offsets 1000 0 0 0 0
|
||||
sampling 2000
|
||||
math 0
|
||||
|
||||
[MON-wireless-charge]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor FCHG_TEMP
|
||||
thresholds 38000 41500 45500
|
||||
thresholds_clr 33000 40000 41500
|
||||
actions wireless_current wireless_current wireless_current
|
||||
action_info 1000 850 625
|
||||
|
||||
[MON-MDM-FR1-1]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor BACK_MDM
|
||||
thresholds 43000 44000 45000 47000 52000
|
||||
thresholds_clr 42000 43000 44000 45000 47000
|
||||
actions modem_nr_dsc modem_nr_dsc modem_nr_dsc modem_nr_dsc modem_nr_dsc
|
||||
action_info 5 7 8 9 10
|
||||
|
||||
[MON-MDM-FR1-2]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor BACK_MDM
|
||||
thresholds 43000 44000 46000 47000 52000
|
||||
thresholds_clr 42000 43000 44000 46000 47000
|
||||
actions modem_nr_scg_dsc modem_nr_scg_dsc modem_nr_scg_dsc+modem_lte_dsc modem_nr_scg_dsc+modem_lte_dsc modem_nr_scg_dsc
|
||||
action_info 5 7 8+9 9+10 10
|
||||
@@ -114,7 +114,7 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# Thermal
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/thermal-engine-rtwo.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-rtwo.conf
|
||||
$(LOCAL_PATH)/configs/thermal-engine-rtwo-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-rtwo.conf
|
||||
|
||||
# Touch
|
||||
PRODUCT_PACKAGES += \
|
||||
|
||||
Reference in New Issue
Block a user