dubai: Swap thermal config for dubai-game-perf

The default thermal-engine-dubai.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 778G+ runs slower than
a SD 778G, so let's swap to the dubai-game-perf config as when we compared the configs it
allows for a better performance to thermal balance. We also checked dubai-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:
Marc Bourgoin 2023-10-02 14:28:58 -06:00
parent 08ae7e3f90
commit c74c687c05
2 changed files with 124 additions and 120 deletions

View file

@ -1,119 +1,123 @@
[DETECT-STANDBY] [DETECT-STANDBY]
algo_type virtual algo_type virtual
trip_sensor msm_therm trip_sensor msm_therm
thresholds -18000 thresholds -18000
thresholds_clr -20000 thresholds_clr -20000
sensors lcd_brightness_value sensors lcd_brightness_value
weights 20 weights 20
sampling 1000 sampling 1000
less_than less_than
math 7 math 7
[OVERRIDE-CHG] [OVERRIDE-CHG]
algo_type monitor algo_type monitor
sampling 1000 sampling 1000
sensor DETECT-STANDBY sensor DETECT-STANDBY
thresholds 1 thresholds 1
thresholds_clr 0 thresholds_clr 0
actions internal_override actions internal_override
action_info 1 action_info 1
[FREEZE-CHG] [FREEZE-CHG]
algo_type monitor algo_type monitor
sampling 1000 sampling 1000
descending descending
sensor DETECT-STANDBY sensor DETECT-STANDBY
thresholds 0 thresholds 0
thresholds_clr 1 thresholds_clr 1
actions freeze_rule actions freeze_rule
action_info 1 action_info 1
[FRONT_TEMP] [FRONT_TEMP]
algo_type virtual algo_type virtual
trip_sensor msm_therm trip_sensor msm_therm
thresholds -18000 thresholds -18000
thresholds_clr -20000 thresholds_clr -20000
sensors pa_therm1 battery sensors pa_therm1 battery
weights 35 65 weights 35 65
offsets 0 0 offsets 0 0
sampling 5000 sampling 5000
math 0 math 0
sys_temp sys_temp
[REPORT-FRONT-TEMP] [REPORT-FRONT-TEMP]
algo_type monitor algo_type monitor
sampling 300000 sampling 300000
sensor FRONT_TEMP sensor FRONT_TEMP
thresholds 42000 thresholds 42000
thresholds_clr 40000 thresholds_clr 40000
actions report actions report
action_info 1 action_info 1
[BACK_TEMP] [BACK_TEMP]
algo_type virtual algo_type virtual
trip_sensor msm_therm trip_sensor msm_therm
thresholds -18000 thresholds -18000
thresholds_clr -20000 thresholds_clr -20000
sensors msm_therm battery sensors msm_therm battery
weights 50 50 weights 50 50
offsets -800 offsets -800
sampling 5000 sampling 5000
math 0 math 0
sys_temp sys_temp
[REPORT-BACK-TEMP] [REPORT-BACK-TEMP]
algo_type monitor algo_type monitor
sampling 300000 sampling 300000
sensor BACK_TEMP sensor BACK_TEMP
thresholds 42000 thresholds 42000
thresholds_clr 40000 thresholds_clr 40000
actions report actions report
action_info 1 action_info 1
[MON-PDPOWER1]
algo_type monitor [MON-PDPOWER1]
sampling 1000 algo_type monitor
sensor quiet_therm sampling 1000
thresholds 43000 43500 44000 44500 46000 47500 48500 70000 sensor quiet_therm
thresholds_clr 41000 41500 42000 42500 44000 45500 46500 68000 thresholds 43000 43500 44000 44500 46000 47500 48500 70000
actions battery battery battery battery battery battery battery battery thresholds_clr 41000 41500 42000 42500 44000 45500 46500 68000
action_info 8 7 6 5 4 3 2 2 actions battery battery battery battery battery battery battery battery
freezing action_info 8 7 6 5 4 3 2 2
freezing
[MON-PDPOWER2]
algo_type monitor [MON-PDPOWER2]
sampling 1000 algo_type monitor
sensor msm_therm sampling 1000
thresholds 41000 42000 43000 44000 46000 48000 50000 70000 sensor msm_therm
thresholds_clr 39000 40000 41000 42000 44000 46000 48000 68000 thresholds 41000 42000 43000 44000 46000 48000 50000 70000
actions battery battery battery battery battery battery battery battery thresholds_clr 39000 40000 41000 42000 44000 46000 48000 68000
action_info 8 6 5 4 3 2 1 1 actions battery battery battery battery battery battery battery battery
override_c 15000 action_info 8 6 5 4 3 2 1 1
override_c 15000
[MON-MSM-CPU47]
algo_type monitor
sampling 1000
sensor msm_therm [MON-MSM-CPU47]
thresholds 45000 46000 47000 48000 49000 51000 53000 70000 algo_type monitor
thresholds_clr 42000 44000 45000 46000 47000 49000 51000 68000 sampling 1000
actions cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 sensor BACK_TEMP
action_info 21312000+2380800 2054400+2208000 1900800+2035200 1651200+1862400 1516800+1766400 1344000+1516800 1228800+1324800 1228800+1324800 thresholds 42000 43000 44000 45000 46000 47000 49000 70000
thresholds_clr 39000 40000 41000 42000 43000 44000 47000 68000
[MON-MSM-CPU0] actions cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7 cpu4+cpu7
algo_type monitor action_info 21312000+2380800 2054400+2208000 1900800+2035200 1651200+1862400 1516800+1766400 1344000+1516800 1228800+1324800 1228800+1324800
sampling 1000
sensor msm_therm
thresholds 46000 48000 50000 52000 54000 70000 [MON-MSM-CPU0]
thresholds_clr 44000 46000 48000 50000 52000 68000 algo_type monitor
actions cpu0 cpu0 cpu0 cpu0 cpu0 cpu0 sampling 1000
action_info 1651200 1516800 1324800 1152000 940800 940800 sensor BACK_TEMP
thresholds 43000 44000 45000 46000 47000 70000
[MON-PA-FR1] thresholds_clr 41000 42000 43000 44000 45000 68000
algo_type monitor actions cpu0 cpu0 cpu0 cpu0 cpu0 cpu0
sampling 5000 action_info 1651200 1516800 1324800 1152000 940800 940800
sensor BACK_TEMP
thresholds 47000 [MON-PA-FR1]
thresholds_clr 46000 algo_type monitor
actions modem_pa_fr1 sampling 5000
action_info 1 sensor BACK_TEMP
thresholds 60000
thresholds_clr 58000
actions modem_pa_fr1
action_info 1

View file

@ -99,7 +99,7 @@ PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
# Thermal # Thermal
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine-dubai.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-dubai.conf $(LOCAL_PATH)/configs/thermal-engine-dubai-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-dubai.conf
# Inherit from vendor blobs # Inherit from vendor blobs
$(call inherit-product, vendor/motorola/dubai/dubai-vendor.mk) $(call inherit-product, vendor/motorola/dubai/dubai-vendor.mk)