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 <qyousef@google.com>
Change-Id: Ieee72bbec5e9dd1cceff02ea82c73ccf85fe9358
diff --git a/powerhint-slider.json b/powerhint-slider.json
index 52c8cb3..bd5ab4c 100644
--- a/powerhint-slider.json
+++ b/powerhint-slider.json
@@ -130,6 +130,16 @@
"ResetOnInit": true
},
{
+ "Name": "CPUDVFSHeadroom",
+ "Path": "/proc/vendor_sched/dvfs_headroom",
+ "Values": [
+ "1280",
+ "1100"
+ ],
+ "DefaultIndex": 0,
+ "ResetOnInit": true
+ },
+ {
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
"Values": [
@@ -840,6 +850,12 @@
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
+ "Node": "CPUDVFSHeadroom",
+ "Duration": 0,
+ "Value": "1100"
+ },
+ {
+ "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "1491000"