From aa58050f50ff677c88de4cf8e9f2f4557b821221 Mon Sep 17 00:00:00 2001 From: Paulsu Su Date: Mon, 29 Jul 2024 02:19:03 +0000 Subject: [PATCH] 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",