Quellcode durchsuchen

The dvfs headroom was split into its own knob. Update to use it.

util_threshold only controls migration margin now. dvfs headroom has its
own new knob.

Bug: 261705301
Signed-off-by: Qais Yousef <[email protected]>
Change-Id: I48d330cb7d9d82d05ec0dfc4b38ea0d8a22409aa
Qais Yousef vor 1 Jahr
Ursprung
Commit
d57beb455c
1 geänderte Dateien mit 16 neuen und 0 gelöschten Zeilen
  1. 16 0
      powerhint.json

+ 16 - 0
powerhint.json

@@ -136,6 +136,16 @@
       "DefaultIndex": 0,
       "ResetOnInit": true
     },
+    {
+      "Name": "CPUDVFSHeadroom",
+      "Path": "/proc/vendor_sched/dvfs_headroom",
+      "Values": [
+        "1280",
+        "1100 1078 1024"
+      ],
+      "DefaultIndex": 0,
+      "ResetOnInit": true
+    },
     {
       "Name": "MIFTargetLoad",
       "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@@ -1129,6 +1139,12 @@
       "Duration": 0,
       "Value": "1100 1078 1024"
     },
+    {
+      "PowerHint": "CAMERA_STREAMING_HIGH",
+      "Node": "CPUDVFSHeadroom",
+      "Duration": 0,
+      "Value": "1100 1078 1024"
+    },
     {
       "PowerHint": "CAMERA_STREAMING_HIGH",
       "Node": "CDPreferHighCap",