powerhint: port migration margin settings from p23

Bug: 316035859
Test: boot
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:62221287956f6123e6bfe761de37ff1f3cb058c6)
Merged-In: I75a13076c9e388cb1628c80035d3f4f7a0905718
Change-Id: I75a13076c9e388cb1628c80035d3f4f7a0905718
This commit is contained in:
Yvonne Yip 2024-03-12 07:47:57 -07:00
parent e7c6bf2d35
commit 8626e6e6dd
4 changed files with 36 additions and 8 deletions

View file

@ -217,9 +217,10 @@
"Name": "CPUUtilThreshold", "Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"2048 1280 1280",
"1280", "1280",
"1100", "1100",
"1100 1024 1100" "1100 1078 1024"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -1859,7 +1860,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUUtilThreshold", "Node": "CPUUtilThreshold",
"Duration": 0, "Duration": 0,
"Value": "1100" "Value": "1100 1078 1024"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -2083,6 +2084,12 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1280"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDPreferHighCap", "Node": "CDPreferHighCap",

View file

@ -217,9 +217,10 @@
"Name": "CPUUtilThreshold", "Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"2048 1280 1280",
"1280", "1280",
"1100", "1100",
"1100 1024 1100" "1100 1078 1024"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -1859,7 +1860,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUUtilThreshold", "Node": "CPUUtilThreshold",
"Duration": 0, "Duration": 0,
"Value": "1100" "Value": "1100 1078 1024"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -2083,6 +2084,12 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1280"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDPreferHighCap", "Node": "CDPreferHighCap",

View file

@ -217,9 +217,10 @@
"Name": "CPUUtilThreshold", "Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"2048 1280 1280",
"1280", "1280",
"1100", "1100",
"1100 1024 1100" "1100 1078 1024"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -1859,7 +1860,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUUtilThreshold", "Node": "CPUUtilThreshold",
"Duration": 0, "Duration": 0,
"Value": "1100" "Value": "1100 1078 1024"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -2083,6 +2084,12 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1280"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDPreferHighCap", "Node": "CDPreferHighCap",

View file

@ -217,9 +217,10 @@
"Name": "CPUUtilThreshold", "Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"2048 1280 1280",
"1280", "1280",
"1100", "1100",
"1100 1024 1100" "1100 1078 1024"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -1859,7 +1860,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUUtilThreshold", "Node": "CPUUtilThreshold",
"Duration": 0, "Duration": 0,
"Value": "1100" "Value": "1100 1078 1024"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -2083,6 +2084,12 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1280"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDPreferHighCap", "Node": "CDPreferHighCap",