From 95fdcd5cb6782729beb045bba20dc66a21488d25 Mon Sep 17 00:00:00 2001 From: Marc Bourgoin Date: Fri, 18 Apr 2025 15:39:28 +0530 Subject: [PATCH] bangkk: Swap thermal config for bangkk-game-perf The default thermal-engine-bangkk.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 bangkk-game-perf config as when we compared the configs it allows for a better performance to thermal balance. Change-Id: Id5c991a198ef6be61009a9785b5e8604aa1fdc91 --- ...f => thermal-engine-bangkk-game-perf.conf} | 20 +++++++++---------- device.mk | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) rename configs/{thermal-engine-bangkk.conf => thermal-engine-bangkk-game-perf.conf} (87%) diff --git a/configs/thermal-engine-bangkk.conf b/configs/thermal-engine-bangkk-game-perf.conf similarity index 87% rename from configs/thermal-engine-bangkk.conf rename to configs/thermal-engine-bangkk-game-perf.conf index 9c27437..b21da98 100644 --- a/configs/thermal-engine-bangkk.conf +++ b/configs/thermal-engine-bangkk-game-perf.conf @@ -136,8 +136,8 @@ override_c 15000 algo_type monitor sampling 1000 sensor Virt-MSM -thresholds 43000 45000 47000 -thresholds_clr 41000 43000 46000 +thresholds 43000 45000 51000 +thresholds_clr 41000 43000 49000 actions battery battery battery action_info 3 2 1 override_c 15000 @@ -146,20 +146,20 @@ override_c 15000 algo_type monitor sampling 1000 sensor BACK_TEMP -thresholds 39000 43000 47000 -thresholds_clr 37000 41000 45000 -actions cpu0 cpu0 cpu0 -action_info 1708800 1651200 1516800 +thresholds 40000 42000 44000 46000 +thresholds_clr 38000 40000 42000 44000 +actions cpu0 cpu0 cpu0 cpu0 +action_info 1708800 1651200 1516800 1324800 override_b 4000 [MON-MSM-CPU6] algo_type monitor sampling 1000 sensor BACK_TEMP -thresholds 39000 44000 46500 -thresholds_clr 37000 42000 44500 -actions cpu6 cpu6 cpu6 -action_info 1900800 1804800 1651200 +thresholds 40000 42000 44000 46000 47000 +thresholds_clr 38000 40000 42000 44000 46000 +actions cpu6 cpu6 cpu6 cpu6 cpu6 +action_info 2054400 1900800 1804800 1401600 1228800 override_b 4000 [MONITOR-CAMERA-MSM] diff --git a/device.mk b/device.mk index a0e122c..8a4f54d 100644 --- a/device.mk +++ b/device.mk @@ -117,7 +117,7 @@ PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH) # Thermal PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/thermal-engine-bangkk.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-bangkk.conf + $(LOCAL_PATH)/configs/thermal-engine-bangkk-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-bangkk.conf # Inherit from vendor blobs $(call inherit-product, vendor/motorola/bangkk/bangkk-vendor.mk)