powerhint: Set response_time_ms for clusters
By default slow it down as auto margins can lead to faster ramping up in low activity use cases. Set it back to default in GAME mode to retain previous behavior. Set it explicitly for DISPLAY_IDLE as a potential area for more tuning in the future. Bug: 315748906 Flag: EXEMPT powerhints are not compatible with flagging Signed-off-by: Qais Yousef <qyousef@google.com> Change-Id: I275545cc98714afd3efefb9f57e6bac55fcb6ea3
This commit is contained in:
parent
279cd17355
commit
8e61044a40
1 changed files with 66 additions and 0 deletions
|
@ -62,6 +62,16 @@
|
|||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPULittleClusterResponseTimeMs",
|
||||
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/response_time_ms",
|
||||
"Values": [
|
||||
"9",
|
||||
"13"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUMidClusterMaxFreq",
|
||||
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
|
||||
|
@ -103,6 +113,16 @@
|
|||
"DefaultIndex": 4,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUMidClusterResponseTimeMs",
|
||||
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/response_time_ms",
|
||||
"Values": [
|
||||
"52",
|
||||
"56"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUBigClusterMaxFreq",
|
||||
"Path": "/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq",
|
||||
|
@ -145,6 +165,16 @@
|
|||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUBigClusterResponseTimeMs",
|
||||
"Path": "/sys/devices/system/cpu/cpu7/cpufreq/sched_pixel/response_time_ms",
|
||||
"Values": [
|
||||
"165",
|
||||
"170"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "GPUDvfsPeriod",
|
||||
"Path": "/sys/devices/platform/1f000000.mali/dvfs_period",
|
||||
|
@ -3194,6 +3224,24 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "CPULittleClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "13"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "CPUMidClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "56"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "CPUBigClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "170"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
|
@ -3434,6 +3482,24 @@
|
|||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "CPULittleClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "9"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "CPUMidClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "52"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "CPUBigClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "165"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue