From 9b7d19607212041241a1275285e7eb56c2208f83 Mon Sep 17 00:00:00 2001 From: Rios Kao Date: Fri, 26 Jul 2024 07:50:58 +0000 Subject: [PATCH 1/2] tegu: CCA configuration. Test: build pass Bug: 342058004 Flag: NONE bug fix Change-Id: Ie0b99bf0c762fc108b60736dd5729cdd982971a1 --- device-tegu.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-tegu.mk b/device-tegu.mk index 8e6f3ce..d61982a 100644 --- a/device-tegu.mk +++ b/device-tegu.mk @@ -222,6 +222,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5 +# Audio CCA property +PRODUCT_PROPERTY_OVERRIDES += \ + persist.vendor.audio.cca.enabled=false + # Override BQR mask to enable LE Audio Choppy report, remove BTRT logging ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) PRODUCT_PRODUCT_PROPERTIES += \ From aa58050f50ff677c88de4cf8e9f2f4557b821221 Mon Sep 17 00:00:00 2001 From: Paulsu Su Date: Mon, 29 Jul 2024 02:19:03 +0000 Subject: [PATCH 2/2] thermal: remove PMU_POLL control for game mode and disable LIGHT tier throttling when gaming Port from ag/26822605, ag/26653806 We already have the CPU scheduler optimization for game mode to sustain the power and perf, so remove the CPU thermal policy at lower temperature to avoid the interfence on CPU scheduler. Port from ag/26822605 We already have the CPU scheduler optimization for game mode to sustain the power and perf, so keep PMU_POLL being disabled to avoid the interference on CPU scheduler. Bug: 342968374 Change-Id: Icafaa731abe0541fbd40c6e4501c13ee09803175 Flag: No flag needed for config file Test: boot to home --- perf/powerhint-tegu.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/perf/powerhint-tegu.json b/perf/powerhint-tegu.json index 8dfa80d..6388ca2 100644 --- a/perf/powerhint-tegu.json +++ b/perf/powerhint-tegu.json @@ -889,6 +889,17 @@ "DefaultIndex": 0, "ResetOnInit": true }, + { + "Name": "VIRTUAL-SKIN-CPU-LIGHT-ODPM", + "Path": "vendor.thermal.VIRTUAL-SKIN-CPU-LIGHT-ODPM.profile", + "Values": [ + "", + "game" + ], + "DefaultIndex": 0, + "ResetOnInit": true, + "Type": "Property" + }, { "Name": "VIRTUAL-SKIN-CPU-MID", "Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile", @@ -3050,6 +3061,18 @@ "Duration": 0, "Value": "419000" }, + { + "PowerHint": "GAME", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "GAME", + "Node": "VIRTUAL-SKIN-CPU-LIGHT-ODPM", + "Duration": 0, + "Value": "game" + }, { "PowerHint": "GAME", "Node": "VIRTUAL-SKIN-CPU-MID",