From 4d8c8dfade1027b7354af3c76dbe00894adfa5bd 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) 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 48eba13..b03106f 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -3241,13 +3241,13 @@ "PowerHint": "GAME", "Node": "CPUMidClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", "Node": "CPUBigClusterDownRateLimitUs", "Duration": 0, - "Value": "3000" + "Value": "500" }, { "PowerHint": "GAME", @@ -3277,13 +3277,13 @@ "PowerHint": "GAME", "Node": "AutoMigrationMarginsEnable", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", "Node": "AutoDvfsHeadroomEnable", "Duration": 0, - "Value": "0" + "Value": "1" }, { "PowerHint": "GAME", @@ -3301,7 +3301,7 @@ "PowerHint": "GAME", "Node": "PerTaskMaxIowaitBoost", "Duration": 0, - "Value": "0" + "Value": "512" }, { "PowerHint": "FACE_UNLOCK_BOOST",