From 853246aeb8b2c4712130e8cc2763e6e749a369e1 Mon Sep 17 00:00:00 2001 From: Rick Yiu Date: Fri, 23 Jul 2021 17:37:04 +0800 Subject: [PATCH] gs101: Add a new profile for camera power tuning Create CameraServicePower profile. Bug: 192607122 Test: build pass Change-Id: Ia4ff63dabc51d449d4b4acc95a2685c10643c509 --- task_profiles.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/task_profiles.json b/task_profiles.json index 0874d76a..d40170c6 100644 --- a/task_profiles.json +++ b/task_profiles.json @@ -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": "", + "LogFailures": "false" + } + } + ] + }, { "Name": "CameraServiceHighCapacity", "Actions": [