From c00bd9183d5c38cc0f94220e45549e903d0cab22 Mon Sep 17 00:00:00 2001 From: Lisa Liu Date: Fri, 28 Apr 2023 11:53:56 +0000 Subject: [PATCH] powerhint: boost DSU and BCI when launching Bug: 269809407 Bug: 258100337 Test: Build and abtd run result Change-Id: I8f5ce6866ec13080cfc9fd1e5cfddd8d95dc4e32 --- perf/powerhint-husky.json | 14 ++++++++++++++ perf/powerhint-ripcurrent.json | 14 ++++++++++++++ perf/powerhint-shiba.json | 14 ++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index 1075ef9..60e4fb7 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -39,6 +39,7 @@ "Path": "/sys/devices/platform/17000090.devfreq_dsu/devfreq/17000090.devfreq_dsu/min_freq", "Values": [ "9999999", + "1548000", "820000", "0" ], @@ -59,6 +60,7 @@ "Path": "/sys/devices/platform/170000a0.devfreq_bci/devfreq/170000a0.devfreq_bci/min_freq", "Values": [ "9999999", + "1401000", "0" ], "ResetOnInit": true @@ -724,6 +726,18 @@ "Duration": 5000, "Value": "9999999" }, + { + "PowerHint": "LAUNCH", + "Node": "DsuMinFreq", + "Duration": 5000, + "Value": "1548000" + }, + { + "PowerHint": "LAUNCH", + "Node": "BCIMinFreq", + "Duration": 5000, + "Value": "1401000" + }, { "PowerHint": "LAUNCH", "Node": "NPITaskPacking", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index ee5209d..f1e3bb9 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -39,6 +39,7 @@ "Path": "/sys/devices/platform/17000090.devfreq_dsu/devfreq/17000090.devfreq_dsu/min_freq", "Values": [ "9999999", + "1548000", "820000", "0" ], @@ -59,6 +60,7 @@ "Path": "/sys/devices/platform/170000a0.devfreq_bci/devfreq/170000a0.devfreq_bci/min_freq", "Values": [ "9999999", + "1401000", "0" ], "ResetOnInit": true @@ -714,6 +716,18 @@ "Duration": 5000, "Value": "9999999" }, + { + "PowerHint": "LAUNCH", + "Node": "DsuMinFreq", + "Duration": 5000, + "Value": "1548000" + }, + { + "PowerHint": "LAUNCH", + "Node": "BCIMinFreq", + "Duration": 5000, + "Value": "1401000" + }, { "PowerHint": "LAUNCH", "Node": "NPITaskPacking", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index 9afa6cb..41391c7 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -39,6 +39,7 @@ "Path": "/sys/devices/platform/17000090.devfreq_dsu/devfreq/17000090.devfreq_dsu/min_freq", "Values": [ "9999999", + "1548000", "820000", "0" ], @@ -59,6 +60,7 @@ "Path": "/sys/devices/platform/170000a0.devfreq_bci/devfreq/170000a0.devfreq_bci/min_freq", "Values": [ "9999999", + "1401000", "0" ], "ResetOnInit": true @@ -714,6 +716,18 @@ "Duration": 5000, "Value": "9999999" }, + { + "PowerHint": "LAUNCH", + "Node": "DsuMinFreq", + "Duration": 5000, + "Value": "1548000" + }, + { + "PowerHint": "LAUNCH", + "Node": "BCIMinFreq", + "Duration": 5000, + "Value": "1401000" + }, { "PowerHint": "LAUNCH", "Node": "NPITaskPacking",