Merge changes I50d3eccc,I594dd8cc into 24D1-dev

* changes:
  powerhint: port dvfs_headroom settings from caimito
  powerhint: port util threshold change to comet
This commit is contained in:
Wei Wang 2024-03-15 05:55:36 +00:00 committed by Android (Google) Code Review
commit e40d721148

View file

@ -237,9 +237,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
@ -250,7 +251,7 @@
"Values": [ "Values": [
"1280", "1280",
"1100", "1100",
"1280 1100 1055" "1100 1078 1024"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -1717,7 +1718,7 @@
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUDVFSHeadroom", "Node": "CPUDVFSHeadroom",
"Duration": 0, "Duration": 0,
"Value": "1100" "Value": "1100 1078 1024"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
@ -1791,6 +1792,12 @@
"Duration": 0, "Duration": 0,
"Value": "700000" "Value": "700000"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1280"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -1863,18 +1870,6 @@
"Duration": 0, "Duration": 0,
"Value": "cam2" "Value": "cam2"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1100 1024 1100"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1280 1100 1055"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDPreferHighCap", "Node": "CDPreferHighCap",
@ -1935,12 +1930,24 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1280"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
"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",
@ -2111,13 +2118,13 @@
}, },
{ {
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CPUUtilThreshold", "Node": "CPUDVFSHeadroom",
"Duration": 0, "Duration": 0,
"Value": "1100" "Value": "1100"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CPUDVFSHeadroom", "Node": "CPUUtilThreshold",
"Duration": 0, "Duration": 0,
"Value": "1100" "Value": "1100"
}, },