summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaulsu <paulsu@google.com>2023-06-05 04:20:41 +0000
committerWei Wang <wvw@google.com>2023-06-08 17:17:32 +0000
commit599c4d1bd84905fb177f00b4380cb57e71946e13 (patch)
tree273b7dd2588cda1df4d6f6b8ebbbe0a5ad67836d
parent04e06a7a9b394229cd5aa530193e541620052039 (diff)
downloadlynx-599c4d1bd84905fb177f00b4380cb57e71946e13.tar.gz
Create group throttle powerhint
Test: Local test Bug: 280258727 Change-Id: I1e767f78b85a04cde8f048885af2d129a01321a8 Signed-off-by: paulsu <paulsu@google.com>
-rw-r--r--powerhint.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/powerhint.json b/powerhint.json
index 6bf6da8..fb56bb1 100644
--- a/powerhint.json
+++ b/powerhint.json
@@ -603,6 +603,26 @@
"0,1,2,3,4,5,6,7"
],
"Type": "Property"
+ },
+ {
+ "Name": "Dex2oatGroup",
+ "Path": "/proc/vendor_sched/dex2oat_ug",
+ "Values": [
+ "1",
+ "0"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
+ {
+ "Name": "UgBgGroupThrottle",
+ "Path": "/proc/vendor_sched/ug_bg_group_throttle",
+ "Values": [
+ "512",
+ "308"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
}
],
"Actions": [
@@ -1669,6 +1689,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
"Node": "PMU_POLL",
"Duration": 0,
@@ -1747,6 +1773,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
"Node": "PMU_POLL",
"Duration": 0,
@@ -1825,6 +1857,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_SEVERE",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
"Node": "PMU_POLL",
"Duration": 0,
@@ -1903,6 +1941,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_CRITICAL",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
"Node": "PMU_POLL",
"Duration": 0,
@@ -1999,6 +2043,12 @@
"Value": "0,1,2,3"
},
{
+ "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_EMERGENCY",
+ "Node": "Dex2oatGroup",
+ "Duration": 0,
+ "Value": "0"
+ },
+ {
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,