Change the default cpuset of camera daemon

Changing cpuset itself takes time, so we should reduce the cpuset
change as possible. Since all camera streaming mode change to the
same cpuset value, we could make it default setting.

Bug: 240889279
Test: build pass
Change-Id: I11a865fa2eeeb67225d4b129497b1cd85237644f
This commit is contained in:
Rick Yiu 2022-11-17 03:03:26 +00:00 committed by TreeHugger Robot
parent cc64b02213
commit e57a5f03b5

View File

@ -225,8 +225,7 @@
"Path": "/dev/cpuset/camera-daemon-high-group/cpus",
"Values": [
"0-3",
"6-7",
"0-7"
"6-7"
],
"ResetOnInit": true
},
@ -235,8 +234,7 @@
"Path": "/dev/cpuset/camera-daemon-mid-group/cpus",
"Values": [
"0-3",
"4-5",
"0-7"
"4-5"
],
"ResetOnInit": true
},
@ -245,8 +243,7 @@
"Path": "/dev/cpuset/camera-daemon-mid-high-group/cpus",
"Values": [
"0-3",
"4-7",
"0-7"
"4-7"
],
"ResetOnInit": true
},
@ -716,18 +713,18 @@
"Duration": 1000,
"Value": "612"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CDCpuset",
"Duration": 1000,
"Value": "4-7"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "NPITaskPacking",
"Duration": 1000,
"Value": "0"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CDCpuset",
"Duration": 1000,
"Value": "4-7"
},
{
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
"Node": "CPUBigClusterMaxFreq",
@ -992,24 +989,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDHighCpusetCpus",
"Duration": 0,
"Value": "6-7"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDMidCpusetCpus",
"Duration": 0,
"Value": "4-5"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDMidHighCpusetCpus",
"Duration": 0,
"Value": "4-7"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "NPITaskPacking",
@ -1076,24 +1055,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDHighCpusetCpus",
"Duration": 0,
"Value": "6-7"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDMidCpusetCpus",
"Duration": 0,
"Value": "4-5"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDMidHighCpusetCpus",
"Duration": 0,
"Value": "4-7"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "NPITaskPacking",
@ -1148,24 +1109,6 @@
"Duration": 0,
"Value": "20 10 80"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDHighCpusetCpus",
"Duration": 0,
"Value": "6-7"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDMidCpusetCpus",
"Duration": 0,
"Value": "4-5"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDMidHighCpusetCpus",
"Duration": 0,
"Value": "4-7"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "NPITaskPacking",
@ -1226,24 +1169,6 @@
"Duration": 0,
"Value": "20 10 80"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDHighCpusetCpus",
"Duration": 0,
"Value": "6-7"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDMidCpusetCpus",
"Duration": 0,
"Value": "4-5"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDMidHighCpusetCpus",
"Duration": 0,
"Value": "4-7"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "NPITaskPacking",