tundra: Move thermal-engine config into tree and use game-perf
Users are saying performance on LOS isn't good, so let's swap configs to game-perf so that it doesn't start throttling so quickly Change-Id: Ic39f8f95effc975e389b0cf1ac88ab9f466e4474
This commit is contained in:
193
configs/thermal-engine-tundra-game-perf.conf
Normal file
193
configs/thermal-engine-tundra-game-perf.conf
Normal file
@@ -0,0 +1,193 @@
|
||||
[FRONT_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor skin-msm-therm-usr
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors usb_therm battery
|
||||
weights 50 50
|
||||
offsets 0 0
|
||||
sampling 1000
|
||||
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
|
||||
|
||||
[BACK_TEMP]
|
||||
algo_type virtual
|
||||
trip_sensor skin-msm-therm-usr
|
||||
thresholds -18000
|
||||
thresholds_clr -20000
|
||||
sensors skin-msm-therm-usr battery camera-therm-usr
|
||||
weights 30 65 5
|
||||
offsets 0 0 0
|
||||
sampling 1000
|
||||
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
|
||||
|
||||
|
||||
[DETECT-STANDBY]
|
||||
algo_type virtual
|
||||
trip_sensor skin-msm-therm-usr
|
||||
thresholds -18000
|
||||
thersholds_clr -20000
|
||||
sensors lcd_brightness_value
|
||||
weights 20
|
||||
sampling 1000
|
||||
less_than
|
||||
math 7
|
||||
|
||||
[OVERRIDE-CHG]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor DETECT-STANDBY
|
||||
thresholds 1
|
||||
thresholds_clr 0
|
||||
actions internal_override
|
||||
action_info 1
|
||||
|
||||
[FREEZE-CHG]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
descending
|
||||
sensor DETECT-STANDBY
|
||||
thresholds 0
|
||||
thresholds_clr 1
|
||||
actions freeze_rule
|
||||
action_info 1
|
||||
|
||||
[VIRTUAL-GPUS]
|
||||
algo_type virtual
|
||||
trip_sensor usb_therm
|
||||
thresholds 43000
|
||||
thresholds_clr 41000
|
||||
sensors pmb8350b_therm
|
||||
weights 100
|
||||
offsets 0
|
||||
sampling 1000
|
||||
math 0
|
||||
|
||||
|
||||
[MON-MSM-STB]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor camera-therm-usr
|
||||
thresholds 43000 43500 45000 46000 47000 48000 49000 50000 68000
|
||||
thresholds_clr 40000 41000 42000 43000 44000 45000 46000 47000 66000
|
||||
actions battery battery battery battery battery battery battery battery battery
|
||||
action_info 11 10 8 6 5 4 3 2 1
|
||||
freezing
|
||||
|
||||
[MON-PDPOWER2]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor skin-msm-therm-usr
|
||||
thresholds 41000 42000 43000 44000 45000 49000 68000
|
||||
thresholds_clr 38000 39000 40000 41000 42000 47000 66000
|
||||
actions battery battery battery battery battery battery battery
|
||||
action_info 8 7 5 4 3 2 1
|
||||
override_c 15000
|
||||
|
||||
|
||||
[MON-PDPOWER3]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor pmb8350b_therm
|
||||
thresholds 49000 50000 51000 68000
|
||||
thresholds_clr 47000 48500 50000 66000
|
||||
actions battery battery battery battery
|
||||
action_info 3 2 1 1
|
||||
|
||||
|
||||
[MON-PDPOWER4]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor VIRTUAL-GPUS
|
||||
thresholds 52000 54000 68000
|
||||
thresholds_clr 48000 49000 66000
|
||||
actions battery battery battery
|
||||
action_info 3 2 1
|
||||
freezing
|
||||
|
||||
|
||||
[MON-CAMERA]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor BACK_TEMP
|
||||
thresholds 42000 45000 48000
|
||||
thresholds_clr 40000 43000 46000
|
||||
actions camera camera camera
|
||||
action_info 1 2 3
|
||||
|
||||
|
||||
[MON-MSM-CPU0]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor BACK_TEMP
|
||||
thresholds 46000 47000 48000 50000 54000
|
||||
thresholds_clr 44000 45000 46000 48000 52000
|
||||
actions cpu0 cpu0 cpu0 cpu0 cpu0
|
||||
action_info 1708800 1497600 1305600 1094400 998400
|
||||
|
||||
[MON-MSM-CPU4]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor BACK_TEMP
|
||||
thresholds 46000 47000 48000 49000 50000 54000 56000
|
||||
thresholds_clr 44000 45000 46000 47000 48000 52000 54000
|
||||
actions cpu4 cpu4 cpu4 cpu4 cpu4 cpu4 cpu4 cpu4
|
||||
action_info 2342400 2112000 1996800 1766400 1670400 1324800 1075200
|
||||
|
||||
[MON-MSM-CPU7]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor BACK_TEMP
|
||||
thresholds 46000 47000 48000 49000 50000 54000 56000
|
||||
thresholds_clr 44000 45000 46000 47000 48000 52000 54000
|
||||
actions cpu7 cpu7 cpu7 cpu7 cpu7 cpu7 cpu7 cpu7
|
||||
action_info 2380800 2150400 2035200 1785600 1670400 1305600 1075200
|
||||
|
||||
|
||||
[MON-MSM-GPU]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor BACK_TEMP
|
||||
thresholds 41000 43000 46000 50000
|
||||
thresholds_clr 39000 41000 43000 47000
|
||||
actions gpu gpu gpu gpu
|
||||
action_info 676000000 608000000 540000000 443000000
|
||||
|
||||
[MON-MODEM1]
|
||||
algo_type monitor
|
||||
sampling 5000
|
||||
sensor modem-mmw-pa1-usr
|
||||
thresholds 65000
|
||||
thresholds_clr 63000
|
||||
actions modem_skin
|
||||
action_info 1
|
||||
|
||||
|
||||
[MON-PA-FR1]
|
||||
algo_type monitor
|
||||
sampling 5000
|
||||
sensor modem-mmw-pa1-usr
|
||||
thresholds 65000
|
||||
thresholds_clr 63000
|
||||
actions modem_pa_fr1
|
||||
action_info 1
|
||||
@@ -86,5 +86,9 @@ PRODUCT_COPY_FILES += \
|
||||
# Soong namespaces
|
||||
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
|
||||
|
||||
# Thermal
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/thermal-engine-tundra-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-tundra.conf
|
||||
|
||||
# Inherit from vendor blobs
|
||||
$(call inherit-product, vendor/motorola/tundra/tundra-vendor.mk)
|
||||
|
||||
@@ -472,9 +472,6 @@ vendor/etc/sensors/proto/sns_ultra_violet.proto
|
||||
vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto
|
||||
vendor/etc/sensors/sns_reg_config
|
||||
|
||||
# Thermal engine - configs
|
||||
vendor/etc/thermal-engine-tundra.conf
|
||||
|
||||
# Touchscreen firmware
|
||||
vendor/firmware/goodix-csot-gt9916S-2206120a-62adb7ba-tundra.bin
|
||||
vendor/firmware/goodix-tianma-gt9916S-2206120a-62ad7261-tundra.bin
|
||||
|
||||
Reference in New Issue
Block a user