From f1f8b02ab37acabfe7eb6d6348d2b34ff7c075c1 Mon Sep 17 00:00:00 2001 From: Jimmy Shiu Date: Mon, 18 Sep 2023 10:23:27 +0800 Subject: [PATCH] powerhint: Add DISPLAY_CHANGE hint Add DISPLAY_CHANGE hint for display layout change due to rotation or switching between inner and outer panels. Bug: 298150450 Test: build pass Change-Id: I9f7ad2384d9991226463502898ff7a89485d1001 --- powerhint-akita.json | 65 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/powerhint-akita.json b/powerhint-akita.json index 7c7e1ef..b8f42a1 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -919,6 +919,71 @@ "Duration": 3000, "Value": "0" }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "ReducePreferIdle", + "Duration": 5000, + "Value": "0" + }, + { + "PowerHint": "DISPLAY_CHANGE_GPU", + "Node": "GPUDvfsPeriod", + "Duration": 1000, + "Value": "10" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Type": "DoHint", + "Value": "DISPLAY_CHANGE_GPU" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "CPUBigClusterMaxFreq", + "Duration": 5000, + "Value": "9999999" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "CPUMidClusterMaxFreq", + "Duration": 5000, + "Value": "9999999" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "CPULittleClusterMaxFreq", + "Duration": 5000, + "Value": "9999999" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "TAUClampBoost", + "Duration": 5000, + "Value": "765" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "FGUClampBoost", + "Duration": 5000, + "Value": "159" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "MemFreq", + "Duration": 5000, + "Value": "9999999" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "DsuMinFreq", + "Duration": 5000, + "Value": "1800000" + }, + { + "PowerHint": "DISPLAY_CHANGE", + "Node": "BCIMinFreq", + "Duration": 5000, + "Value": "1401000" + }, { "PowerHint": "CPU_LOAD_RESET", "Node": "GPUPowerOn",