Add powerhint nodes for PMU parameter tune
Bug: 223688700
Change-Id: I3abcbd0b8efb696469468dfc190699ec3842db08
Signed-off-by: Taeju Park <taeju@google.com>
diff --git a/powerhint-oriole.json b/powerhint-oriole.json
index a555bca..e76c7ad 100644
--- a/powerhint-oriole.json
+++ b/powerhint-oriole.json
@@ -413,6 +413,15 @@
"1"
],
"DefaultIndex": 0
+ },
+ {
+ "Name": "PMU_POLL",
+ "Path": "/proc/vendor_sched/pmu_poll_enable",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 0
}
],
"Actions": [
@@ -1269,6 +1278,12 @@
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
+ "Node": "PMU_POLL",
+ "Duration": 0,
+ "Value": "1"
+ },
+ {
+ "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "BigControlTempSet",
"Duration": 0,
"Value": "80000"
@@ -1377,6 +1392,12 @@
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
+ "Node": "PMU_POLL",
+ "Duration": 0,
+ "Value": "1"
+ },
+ {
+ "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
@@ -1458,6 +1479,12 @@
"Node": "RestrictedCpuset",
"Duration": 0,
"Value": "0-3"
+ },
+ {
+ "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
+ "Node": "PMU_POLL",
+ "Duration": 0,
+ "Value": "1"
}
]
}
diff --git a/powerhint-raven.json b/powerhint-raven.json
index b776df9..69ec157 100644
--- a/powerhint-raven.json
+++ b/powerhint-raven.json
@@ -414,6 +414,15 @@
"1"
],
"DefaultIndex": 0
+ },
+ {
+ "Name": "PMU_POLL",
+ "Path": "/proc/vendor_sched/pmu_poll_enable",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 0
}
],
"Actions": [
@@ -1286,6 +1295,12 @@
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
+ "Node": "PMU_POLL",
+ "Duration": 0,
+ "Value": "1"
+ },
+ {
+ "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "BigControlTempSet",
"Duration": 0,
"Value": "80000"
@@ -1394,6 +1409,12 @@
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
+ "Node": "PMU_POLL",
+ "Duration": 0,
+ "Value": "1"
+ },
+ {
+ "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 0,
"Value": "0"
@@ -1475,6 +1496,12 @@
"Node": "RestrictedCpuset",
"Duration": 0,
"Value": "0-3"
+ },
+ {
+ "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
+ "Node": "PMU_POLL",
+ "Duration": 0,
+ "Value": "1"
}
]
}
diff --git a/powerhint-slider.json b/powerhint-slider.json
index d5eab6b..7ee9ab4 100644
--- a/powerhint-slider.json
+++ b/powerhint-slider.json
@@ -379,6 +379,15 @@
],
"DefaultIndex": 0,
"ResetOnInit": false
+ },
+ {
+ "Name": "PMU_POLL",
+ "Path": "/proc/vendor_sched/pmu_poll_enable",
+ "Values": [
+ "0",
+ "1"
+ ],
+ "DefaultIndex": 0
}
],
"Actions": [
@@ -1303,6 +1312,12 @@
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
+ "Node": "PMU_POLL",
+ "Duration": 0,
+ "Value": "1"
+ },
+ {
+ "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
"Node": "BigControlTempSet",
"Duration": 0,
"Value": "80000"
@@ -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"
}
]
}