From a13ce725634ab4d56dbbf0991d9c268b60526dd3 Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Wed, 20 Apr 2022 19:00:30 +0000 Subject: [PATCH] Add powerhint nodes for PMU parameter tune Bug: 223688700 Signed-off-by: Taeju Park Change-Id: I9b3d92207253618560d7fd3e361f7344e0eea119 --- powerhint.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/powerhint.json b/powerhint.json index dfbc459..370aafc 100644 --- a/powerhint.json +++ b/powerhint.json @@ -411,6 +411,15 @@ "1" ], "DefaultIndex": 0 + }, + { + "Name": "PMU_POLL", + "Path": "/proc/vendor_sched/pmu_poll_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0 } ], "Actions": [ @@ -1134,6 +1143,12 @@ "Duration": 3600000, "Value": "2401000" }, + { + "PowerHint": "LOW_POWER", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "REFRESH_60FPS", "Node": "TAUClampBoost", @@ -1223,6 +1238,12 @@ "Duration": 0, "Value": "400000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "Node": "BigControlTempSet", @@ -1331,6 +1352,12 @@ "Duration": 1000, "Value": "1" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "BigControlTempSet", @@ -1414,6 +1441,12 @@ "Node": "RestrictedCpuset", "Duration": 0, "Value": "0-3" + }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" } ], "AdpfConfig": [