From 39f1bf7894ebeecaa2007d090adca50d18c0d273 Mon Sep 17 00:00:00 2001 From: Qais Yousef Date: Wed, 10 May 2023 10:30:01 +0000 Subject: [PATCH] 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 Change-Id: Id026048db7c9ec21fd843783b918201230774d2a --- powerhint.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/powerhint.json b/powerhint.json index 29446c7..af3a097 100644 --- a/powerhint.json +++ b/powerhint.json @@ -155,6 +155,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", @@ -1155,6 +1165,12 @@ "Duration": 0, "Value": "1100 1078 1024" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUDVFSHeadroom", + "Duration": 0, + "Value": "1100 1078 1024" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUMidClusterMaxFreq",