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
This commit is contained in:
Yvonne Yip 2024-06-17 16:43:09 -07:00
parent 51140ac43c
commit 4d8c8dfade

View file

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