task_profiles.json: add taskprofile for SurfaceFlinger

In some platforms, setting a different cpuset (or remove it) and/or
uclamp setting is beneficial to both performance and power. Adding 2
separate profiles for vendor to override surfaceflinger scheduling
policies.

Bug: 170507315
Test: build and boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ib313fd67c6ccd701109c5683d8dbab9ecd1580d8
(cherry picked from commit 6d6b71e582)
This commit is contained in:
Wei Wang 2021-06-14 12:36:09 -07:00
parent 04d0f7d303
commit 6c54679758
1 changed files with 27 additions and 0 deletions

View File

@ -475,6 +475,33 @@
] ]
}, },
{
"Name": "SFMainPolicy",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "system-background"
}
}
]
},
{
"Name": "SFRenderEnginePolicy",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpuset",
"Path": "system-background"
}
}
]
},
{ {
"Name": "PerfBoost", "Name": "PerfBoost",
"Actions": [ "Actions": [