From f7db19164e34dd5b09b6d51a039b072f1ae8ccc3 Mon Sep 17 00:00:00 2001 From: Wei Wang <wvw@google.com> Date: Fri, 13 May 2022 11:30:02 -0700 Subject: [PATCH] Add FGPreferIdle to app launch Bug: 178016953 Test: boot Signed-off-by: Wei Wang <wvw@google.com> Change-Id: I2e1a2ad5b412825f306c44e80946a1086afd7571 --- powerhint-cheetah-a0.json | 11 +++++++++-- powerhint-cheetah.json | 11 +++++++++-- powerhint-panther-a0.json | 11 +++++++++-- powerhint-panther.json | 11 +++++++++-- 4 files changed, 36 insertions(+), 8 deletions(-) diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index 5ade5fbf..b11f3105 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -242,9 +242,10 @@ "Name": "FGPreferIdle", "Path": "/proc/vendor_sched/fg_prefer_idle", "Values": [ - "0", - "1" + "1", + "0" ], + "DefaultIndex": 0, "ResetOnInit": true }, { @@ -516,6 +517,12 @@ "Duration": 1000, "Value": "159" }, + { + "PowerHint": "LAUNCH", + "Node": "FGPreferIdle", + "Duration": 5000, + "Value": "1" + }, { "PowerHint": "LAUNCH", "Type": "DoHint", diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 13db2486..86f63465 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -241,9 +241,10 @@ "Name": "FGPreferIdle", "Path": "/proc/vendor_sched/fg_prefer_idle", "Values": [ - "0", - "1" + "1", + "0" ], + "DefaultIndex": 0, "ResetOnInit": true }, { @@ -515,6 +516,12 @@ "Duration": 1000, "Value": "159" }, + { + "PowerHint": "LAUNCH", + "Node": "FGPreferIdle", + "Duration": 5000, + "Value": "1" + }, { "PowerHint": "LAUNCH", "Type": "DoHint", diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index e5f88dca..6f8277e5 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -241,9 +241,10 @@ "Name": "FGPreferIdle", "Path": "/proc/vendor_sched/fg_prefer_idle", "Values": [ - "0", - "1" + "1", + "0" ], + "DefaultIndex": 0, "ResetOnInit": true }, { @@ -509,6 +510,12 @@ "Duration": 5000, "Value": "85" }, + { + "PowerHint": "LAUNCH", + "Node": "FGPreferIdle", + "Duration": 5000, + "Value": "1" + }, { "PowerHint": "LAUNCH", "Node": "SFUClampBoost", diff --git a/powerhint-panther.json b/powerhint-panther.json index f9b22ae6..3c6ec3bc 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -240,9 +240,10 @@ "Name": "FGPreferIdle", "Path": "/proc/vendor_sched/fg_prefer_idle", "Values": [ - "0", - "1" + "1", + "0" ], + "DefaultIndex": 0, "ResetOnInit": true }, { @@ -508,6 +509,12 @@ "Duration": 5000, "Value": "85" }, + { + "PowerHint": "LAUNCH", + "Node": "FGPreferIdle", + "Duration": 5000, + "Value": "1" + }, { "PowerHint": "LAUNCH", "Node": "SFUClampBoost", -- GitLab