From 2ce3ab61b88f04c5bc8056edba764ca3eefc9187 Mon Sep 17 00:00:00 2001 From: Qais Yousef Date: Mon, 18 Sep 2023 14:56:21 +0000 Subject: [PATCH] powerhint.json: Reset bg_uclamp_max on LAUNCH And disable uclamp_max_filter so that we don't accidentally impact LAUNCH time. Bug: 301807825 Signed-off-by: Qais Yousef Change-Id: I913b50fb6e2896de96873e550e6299b7294f6bec --- perf/powerhint-husky.json | 32 ++++++++++++++++++++++++++++++++ perf/powerhint-ripcurrent.json | 32 ++++++++++++++++++++++++++++++++ perf/powerhint-shiba.json | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index 0b01fca..00de893 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -261,6 +261,26 @@ "DefaultIndex": 0, "ResetOnInit": true }, + { + "Name": "CPUUClampMaxFilterEnable", + "Path": "/proc/vendor_sched/uclamp_max_filter_enable", + "Values": [ + "1", + "0" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "BGUClampMaxBoost", + "Path": "/proc/vendor_sched/bg_uclamp_max", + "Values": [ + "130", + "512" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, { "Name": "CAMUClampBoost", "Path": "/proc/vendor_sched/cam_uclamp_min", @@ -808,6 +828,18 @@ "Duration": 5000, "Value": "9999999" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUUClampMaxFilterEnable", + "Duration": 5000, + "Value": "0" + }, + { + "PowerHint": "LAUNCH", + "Node": "BGUClampMaxBoost", + "Duration": 5000, + "Value": "512" + }, { "PowerHint": "LAUNCH", "Node": "TAUClampBoost", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 87404ac..1fd56a1 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -247,6 +247,26 @@ "DefaultIndex": 0, "ResetOnInit": true }, + { + "Name": "CPUUClampMaxFilterEnable", + "Path": "/proc/vendor_sched/uclamp_max_filter_enable", + "Values": [ + "1", + "0" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "BGUClampMaxBoost", + "Path": "/proc/vendor_sched/bg_uclamp_max", + "Values": [ + "130", + "512" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, { "Name": "CAMUClampBoost", "Path": "/proc/vendor_sched/cam_uclamp_min", @@ -830,6 +850,18 @@ "Duration": 5000, "Value": "9999999" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUUClampMaxFilterEnable", + "Duration": 5000, + "Value": "0" + }, + { + "PowerHint": "LAUNCH", + "Node": "BGUClampMaxBoost", + "Duration": 5000, + "Value": "512" + }, { "PowerHint": "LAUNCH", "Node": "TAUClampBoost", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index efc8552..7f5017b 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -261,6 +261,26 @@ "DefaultIndex": 0, "ResetOnInit": true }, + { + "Name": "CPUUClampMaxFilterEnable", + "Path": "/proc/vendor_sched/uclamp_max_filter_enable", + "Values": [ + "1", + "0" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, + { + "Name": "BGUClampMaxBoost", + "Path": "/proc/vendor_sched/bg_uclamp_max", + "Values": [ + "130", + "512" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, { "Name": "CAMUClampBoost", "Path": "/proc/vendor_sched/cam_uclamp_min", @@ -808,6 +828,18 @@ "Duration": 5000, "Value": "9999999" }, + { + "PowerHint": "LAUNCH", + "Node": "CPUUClampMaxFilterEnable", + "Duration": 5000, + "Value": "0" + }, + { + "PowerHint": "LAUNCH", + "Node": "BGUClampMaxBoost", + "Duration": 5000, + "Value": "512" + }, { "PowerHint": "LAUNCH", "Node": "TAUClampBoost",