Add powerhint nodes for PMU parameter tune

Bug: 223688700
Change-Id: I3abcbd0b8efb696469468dfc190699ec3842db08
Signed-off-by: Taeju Park <taeju@google.com>
This commit is contained in:
Taeju Park 2022-03-30 05:53:25 +00:00
parent 1031eebb39
commit 545d5fe25f
3 changed files with 81 additions and 0 deletions

View file

@ -413,6 +413,15 @@
"1"
],
"DefaultIndex": 0
},
{
"Name": "PMU_POLL",
"Path": "/proc/vendor_sched/pmu_poll_enable",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
}
],
"Actions": [
@ -1267,6 +1276,12 @@
"Duration": 0,
"Value": "400000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "BigControlTempSet",
@ -1375,6 +1390,12 @@
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
@ -1458,6 +1479,12 @@
"Node": "RestrictedCpuset",
"Duration": 0,
"Value": "0-3"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
}
]
}

View file

@ -414,6 +414,15 @@
"1"
],
"DefaultIndex": 0
},
{
"Name": "PMU_POLL",
"Path": "/proc/vendor_sched/pmu_poll_enable",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
}
],
"Actions": [
@ -1284,6 +1293,12 @@
"Duration": 0,
"Value": "400000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "BigControlTempSet",
@ -1392,6 +1407,12 @@
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
@ -1475,6 +1496,12 @@
"Node": "RestrictedCpuset",
"Duration": 0,
"Value": "0-3"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
}
]
}

View file

@ -379,6 +379,15 @@
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{
"Name": "PMU_POLL",
"Path": "/proc/vendor_sched/pmu_poll_enable",
"Values": [
"0",
"1"
],
"DefaultIndex": 0
}
],
"Actions": [
@ -1301,6 +1310,12 @@
"Duration": 0,
"Value": "400000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "BigControlTempSet",
@ -1378,6 +1393,18 @@
"Node": "MLUclampBoost",
"Duration": 2000,
"Value": "512"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "1"
}
]
}