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
This commit is contained in:
Qais Yousef 2023-05-10 10:45:59 +00:00 committed by Rick Yiu
parent 1472d63365
commit 1499e8335e
4 changed files with 64 additions and 0 deletions

View file

@ -130,6 +130,16 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUDVFSHeadroom",
"Path": "/proc/vendor_sched/dvfs_headroom",
"Values": [
"1280",
"1100"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "TAUClampBoost",
"Path": "/proc/vendor_sched/ta_uclamp_min",
@ -947,6 +957,12 @@
"Duration": 0,
"Value": "1100"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1100"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterMaxFreq",

View file

@ -129,6 +129,16 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUDVFSHeadroom",
"Path": "/proc/vendor_sched/dvfs_headroom",
"Values": [
"1280",
"1100"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "TAUClampBoost",
"Path": "/proc/vendor_sched/ta_uclamp_min",
@ -946,6 +956,12 @@
"Duration": 0,
"Value": "1100"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1100"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterMaxFreq",

View file

@ -129,6 +129,16 @@
"DefaultIndex": 0,
"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",
@ -838,6 +848,12 @@
"Duration": 0,
"Value": "1100"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1100"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterMaxFreq",

View file

@ -129,6 +129,16 @@
"DefaultIndex": 0,
"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",
@ -829,6 +839,12 @@
"Duration": 0,
"Value": "1100"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1100"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterMaxFreq",