From 0c57fb76e736a2b31f6c1ef2e88e1908fca76242 Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Mon, 17 Jun 2024 16:43:09 -0700 Subject: [PATCH] powerhint: Enable auto migration margins/dvfs headroom for game mode Since the system is more reactive now when tasks are getting busier, set DownRateLimitUs to 500us to avoid increasing power. Also enable pertask iowait boost as util_avg will always start from 0 for forked tasks and this could impact io tasks that need additional help to ensure to migrate to bigger core if they need more perf. Bug: 315748906 Test: build Flag: NONE powerhint change does not support flags (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:61cf08366eb4e916beb1ad910754c8bc6c18bf14) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4d8c8dfade1027b7354af3c76dbe00894adfa5bd) Merged-In: I03a83cbf7b0c6fdf1abd3c63ccb96a38350d17da Change-Id: I03a83cbf7b0c6fdf1abd3c63ccb96a38350d17da --- powerhint-comet.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index e919b5b..b25fac0 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -3122,13 +3122,13 @@ "PowerHint": "GAME", "Node": "CPUMidClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", "Node": "CPUBigClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", @@ -3158,13 +3158,13 @@ "PowerHint": "GAME", "Node": "AutoMigrationMarginsEnable", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", "Node": "AutoDvfsHeadroomEnable", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", @@ -3182,7 +3182,7 @@ "PowerHint": "GAME", "Node": "PerTaskMaxIowaitBoost", "Duration": 0, - "Value": "0" + "Value": "512" }, { "PowerHint": "FACE_UNLOCK_BOOST",