Merge "Powerhint: Enable big core reduction feature for GCA video recording CAMERA_STREAMING_HIGH and CAMERA_STREAMING_STANDARD." into 24D1-dev

This commit is contained in:
Zoy Shen 2024-04-01 16:52:20 +00:00 committed by Android (Google) Code Review
commit 2078e7548a
4 changed files with 112 additions and 0 deletions

View file

@ -256,6 +256,16 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUSkipMask",
"Path": "/proc/vendor_sched/cpu_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{ {
"Name": "BGUClampMaxBoost", "Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max", "Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -1945,6 +1955,12 @@
"Duration": 0, "Duration": 0,
"Value": "700000" "Value": "700000"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -2047,6 +2063,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MemFreq", "Node": "MemFreq",
@ -2089,6 +2111,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom", "Node": "CPUDVFSHeadroom",

View file

@ -256,6 +256,16 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUSkipMask",
"Path": "/proc/vendor_sched/cpu_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{ {
"Name": "BGUClampMaxBoost", "Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max", "Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -1945,6 +1955,12 @@
"Duration": 0, "Duration": 0,
"Value": "700000" "Value": "700000"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -2047,6 +2063,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MemFreq", "Node": "MemFreq",
@ -2089,6 +2111,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom", "Node": "CPUDVFSHeadroom",

View file

@ -256,6 +256,16 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUSkipMask",
"Path": "/proc/vendor_sched/cpu_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{ {
"Name": "BGUClampMaxBoost", "Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max", "Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -1934,6 +1944,12 @@
"Duration": 0, "Duration": 0,
"Value": "700000" "Value": "700000"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -2036,6 +2052,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MemFreq", "Node": "MemFreq",
@ -2078,6 +2100,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom", "Node": "CPUDVFSHeadroom",

View file

@ -256,6 +256,16 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "CPUSkipMask",
"Path": "/proc/vendor_sched/cpu_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{ {
"Name": "BGUClampMaxBoost", "Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max", "Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -1945,6 +1955,12 @@
"Duration": 0, "Duration": 0,
"Value": "700000" "Value": "700000"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -2047,6 +2063,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MemFreq", "Node": "MemFreq",
@ -2089,6 +2111,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x80"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom", "Node": "CPUDVFSHeadroom",