From aecb9d8989472bc4f3edadacb57dbc26cdbe09cc Mon Sep 17 00:00:00 2001 From: paulsu Date: Mon, 25 Sep 2023 08:18:30 +0000 Subject: [PATCH] Enable tapered dvfs headroom in battery saver and thermal Bug: 295992028 Test: Boot to home Change-Id: I04e5b286e2fb5853bd0206f8024807fe7bcd11a4 Signed-off-by: paulsu --- perf/powerhint-husky.json | 12 ++++++++++++ perf/powerhint-ripcurrent.json | 12 ++++++++++++ perf/powerhint-shiba.json | 12 ++++++++++++ 3 files changed, 36 insertions(+) diff --git a/perf/powerhint-husky.json b/perf/powerhint-husky.json index 0b01fca..8843d70 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -2271,6 +2271,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "LOW_POWER", + "Node": "CPUTaperedDVFSHeadroomEnable", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle", @@ -2450,6 +2456,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", + "Node": "CPUTaperedDVFSHeadroomEnable", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "Dex2oatThreads", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 87404ac..41ddbf1 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -2060,6 +2060,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "LOW_POWER", + "Node": "CPUTaperedDVFSHeadroomEnable", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle", @@ -2245,6 +2251,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", + "Node": "CPUTaperedDVFSHeadroomEnable", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "Dex2oatThreads", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index efc8552..767d903 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -2175,6 +2175,12 @@ "Duration": 0, "Value": "1" }, + { + "PowerHint": "LOW_POWER", + "Node": "CPUTaperedDVFSHeadroomEnable", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle", @@ -2354,6 +2360,12 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT", + "Node": "CPUTaperedDVFSHeadroomEnable", + "Duration": 0, + "Value": "1" + }, { "PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_MODERATE", "Node": "Dex2oatThreads",