fogos: Swap thermal config for fogos-game-perf

The default thermal-engine-fogos.conf is way too agressive with throttling that the performance
is way too low for any users trying to play 3D games, so let's swap to the fogos-game-perf config as when we compared the configs it
allows for a better performance to thermal balance.

Change-Id: Id5c991a198ef6be61009a9785b5e8604aa1fdc91
This commit is contained in:
Marc Bourgoin 2025-04-18 00:13:28 +05:30 committed by Anand S
parent 161417391e
commit a76305f888
No known key found for this signature in database
GPG key ID: EFD0D6FBB9A067B4
2 changed files with 21 additions and 22 deletions

View file

@ -4,7 +4,6 @@
#CPU0 frequency 300000 576000 691200 940800 1113600 1324800 1516800 1651200 1708800 1804800
#CPU6 frequency 691200 940800 1228800 1401600 1516800 1651200 1804800 1900800 2054400 2208000
[FRONT_TEMP]
algo_type virtual
trip_sensor xo_therm
@ -52,8 +51,8 @@ algo_type virtual
trip_sensor quiet_therm
thresholds -18000
thersholds_clr -20000
sensors cpu_utilization lcd_brightness_value
weights 15 50
sensors lcd_brightness_value
weights 50
sampling 1000
less_than
math 7
@ -120,34 +119,34 @@ actions battery battery battery battery battery battery
action_info 8 7 6 5 4 3
freezing
[MON-MSM-NORMAL]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 37000 39000 41000
thresholds_clr 35000 37000 39000
actions battery battery battery
action_info 6 4 1
override_c 14000
[MON-CHG-NORMAL]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 35000 37000 39000
thresholds_clr 33000 35000 37000
actions battery battery battery
action_info 5 3 1
override_c 10000
[MON-MSM-CPU0]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 42000 44000 45000 47000 48000
thresholds_clr 41000 43000 44000 46000 47000
actions cpu0 cpu0 cpu0 cpu0 cpu0
action_info 1708800 1651200 1516800 1324800 691200
thresholds 44000 46000 48000 49500
thresholds_clr 43000 45000 46000 48000
actions cpu0 cpu0 cpu0 cpu0
action_info 1708800 1651200 1516800 1113600
override_b 4000
[MON-MSM-CPU6]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 42000 44000 46000 48000 48500
thresholds_clr 41000 42000 44000 47000 48000
actions cpu6 cpu6 cpu6 cpu6 cpu6
action_info 2054400 1900800 1651200 1228800 691200
thresholds 44000 46000 48000 49500
thresholds_clr 43000 44000 46000 48000
actions cpu6 cpu6 cpu6 cpu6
action_info 2054400 1900800 1804800 1401600
override_b 4000
[MONITOR-CAMERA-MSM]
@ -184,4 +183,4 @@ sensor Virt-QUT
thresholds 45000 46000 48000
thresholds_clr 43000 45000 46000
actions panel0-backlight panel0-backlight panel0-backlight
action_info 1 300 500
action_info 1 300 500

View file

@ -98,7 +98,7 @@ PRODUCT_COPY_FILES += \
# Thermal
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine-fogos.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-fogos.conf
$(LOCAL_PATH)/configs/thermal-engine-fogos-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-fogos.conf
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)