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
This commit is contained in:
Yvonne Yip 2024-06-17 16:43:09 -07:00 committed by Android Build Coastguard Worker
parent 3587e2c602
commit 0c57fb76e7

View file

@ -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",