From b1aa8bb0ea5b9e4674f1c9afa6a3d9b8da92fbf2 Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Wed, 9 Aug 2023 15:55:09 -0700 Subject: [PATCH] powerhint: disable prefer_idle in game mode Test: Load powerhint file on device and verify tuned parameters are default. Start Subway Surfers game and verify tuned parameters are expected tuned values. Switch away from game, and quit the game, and verify tuned parameters return to default. Bug: 294612493 Change-Id: I2c518b27fbe7191dd1033dd3f3d8044330ccdf8c --- perf/powerhint-husky.json | 12 ++++++++++++ perf/powerhint-ripcurrent.json | 12 ++++++++++++ perf/powerhint-shiba.json | 12 ++++++++++++ 3 files changed, 36 insertions(+) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index a01790f..72d0696 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -2313,6 +2313,18 @@ "Duration": 0, "Value": "3000" }, + { + "PowerHint": "GAME", + "Node": "TAPreferIdle", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "GAME", + "Node": "FGPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "PMU_POLL", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 0558959..3a18a65 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -2127,6 +2127,18 @@ "Duration": 0, "Value": "3000" }, + { + "PowerHint": "GAME", + "Node": "TAPreferIdle", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "GAME", + "Node": "FGPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "PMU_POLL", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index 1f47f00..5c12ec6 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -2189,6 +2189,18 @@ "Duration": 0, "Value": "3000" }, + { + "PowerHint": "GAME", + "Node": "TAPreferIdle", + "Duration": 0, + "Value": "0" + }, + { + "PowerHint": "GAME", + "Node": "FGPreferIdle", + "Duration": 0, + "Value": "0" + }, { "PowerHint": "GAME", "Node": "VIRTUAL-SKIN-CPU-MID",