Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c546797 authored by Wei Wang's avatar Wei Wang
Browse files

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: default avatarWei Wang <wvw@google.com>
Change-Id: Ib313fd67c6ccd701109c5683d8dbab9ecd1580d8
(cherry picked from commit 6d6b71e5)
parent 04d0f7d3
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -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",
      "Actions": [