From a2a4730f441c905d7a141a33f641884628474bd3 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Mon, 11 Sep 2023 10:44:17 -0700 Subject: [PATCH] powerhint: game mode tuning 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: I3128b63ea5701024802a119869eb93d63be0d1a7 --- powerhint-akita.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/powerhint-akita.json b/powerhint-akita.json index 1fb28ec..e62c92e 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -145,6 +145,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us", "Values": [ "20000", + "3000", "2000", "500" ], @@ -184,6 +185,7 @@ "Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/down_rate_limit_us", "Values": [ "20000", + "3000", "2000", "500" ], @@ -2182,6 +2184,36 @@ "Duration": 0, "Value": "game" }, + { + "PowerHint": "GAME", + "Node": "CPUDVFSHeadroom", + "Duration": 0, + "Value": "1100" + }, + { + "PowerHint": "GAME", + "Node": "CPUTaperedDVFSHeadroomEnable", + "Duration": 0, + "Value": "1" + }, + { + "PowerHint": "GAME", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "500" + }, + { + "PowerHint": "GAME", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "3000" + }, + { + "PowerHint": "GAME", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "3000" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", "Node": "PMU_POLL",