gs101: Add a new profile for camera power tuning

Create CameraServicePower profile.

Bug: 192607122
Test: build pass
Change-Id: Ia4ff63dabc51d449d4b4acc95a2685c10643c509
This commit is contained in:
Rick Yiu 2021-07-23 17:37:04 +08:00
parent be6acfd1c5
commit 853246aeb8

View file

@ -44,6 +44,28 @@
} }
] ]
}, },
{
"Name": "CameraServicePower",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "system"
}
},
{
"Name": "WriteFile",
"Params":
{
"FilePath": "/sys/kernel/vendor_sched/set_task_group_cam_power",
"Value": "<pid>",
"LogFailures": "false"
}
}
]
},
{ {
"Name": "CameraServiceHighCapacity", "Name": "CameraServiceHighCapacity",
"Actions": [ "Actions": [