From c39a9ea13ad81abb78d291d7a19ec0cc9caa1153 Mon Sep 17 00:00:00 2001 From: Taeju Park Date: Wed, 11 May 2022 22:17:47 +0000 Subject: [PATCH] Add a powerhint node for pmu poll enable Bug: 223688700 Signed-off-by: Taeju Park Change-Id: I7f192402d9a4d3ad9374a0c1723740f67a0e7ff5 --- powerhint-cheetah-a0.json | 27 +++++++++++++++++++++++++++ powerhint-cheetah.json | 27 +++++++++++++++++++++++++++ powerhint-panther-a0.json | 27 +++++++++++++++++++++++++++ powerhint-panther.json | 27 +++++++++++++++++++++++++++ 4 files changed, 108 insertions(+) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index baecad4..4303604 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -492,6 +492,15 @@ "1", "0" ] + }, + { + "Name": "PMU_POLL", + "Path": "/proc/vendor_sched/pmu_poll_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0 } ], "Actions": [ @@ -1232,6 +1241,12 @@ "Duration": 3600000, "Value": "2401000" }, + { + "PowerHint": "LOW_POWER", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "REFRESH_120FPS", "Node": "TAUClampBoost", @@ -1369,6 +1384,12 @@ "Duration": 0, "Value": "572000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigControlTempSet", @@ -1525,6 +1546,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", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 2b611e3..636b814 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -491,6 +491,15 @@ "1", "0" ] + }, + { + "Name": "PMU_POLL", + "Path": "/proc/vendor_sched/pmu_poll_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0 } ], "Actions": [ @@ -1231,6 +1240,12 @@ "Duration": 3600000, "Value": "2401000" }, + { + "PowerHint": "LOW_POWER", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "REFRESH_120FPS", "Node": "TAUClampBoost", @@ -1368,6 +1383,12 @@ "Duration": 0, "Value": "572000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigControlTempSet", @@ -1524,6 +1545,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", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index 0c4ccef..6bb5966 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -491,6 +491,15 @@ "1", "0" ] + }, + { + "Name": "PMU_POLL", + "Path": "/proc/vendor_sched/pmu_poll_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0 } ], "Actions": [ @@ -1220,6 +1229,12 @@ "Duration": 3600000, "Value": "2401000" }, + { + "PowerHint": "LOW_POWER", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "REFRESH_90FPS", "Node": "TAUClampBoost", @@ -1352,6 +1367,12 @@ "Duration": 0, "Value": "572000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigControlTempSet", @@ -1508,6 +1529,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", diff --git a/powerhint-panther.json b/powerhint-panther.json index 633bc02..cf056ca 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -490,6 +490,15 @@ "1", "0" ] + }, + { + "Name": "PMU_POLL", + "Path": "/proc/vendor_sched/pmu_poll_enable", + "Values": [ + "0", + "1" + ], + "DefaultIndex": 0 } ], "Actions": [ @@ -1219,6 +1228,12 @@ "Duration": 3600000, "Value": "2401000" }, + { + "PowerHint": "LOW_POWER", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "REFRESH_90FPS", "Node": "TAUClampBoost", @@ -1351,6 +1366,12 @@ "Duration": 0, "Value": "572000" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", + "Node": "PMU_POLL", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigControlTempSet", @@ -1507,6 +1528,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",