From a314f25a44f85bf35d627f0ead6bf4eb38d1ff3e Mon Sep 17 00:00:00 2001 From: Yunju Lee Date: Fri, 7 Jul 2023 15:55:03 +0000 Subject: [PATCH] Add GPU power hint for Zuma Bug: 228076319 Bug: 278493002 Test: Perfetto trace inspection Change-Id: I24c7637221640bad71235488c2de07abf07f3b75 --- 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 4f4e5a0..a935c79 100644 --- a/perf/powerhint-husky.json +++ b/perf/powerhint-husky.json @@ -1,5 +1,13 @@ { "Nodes": [ + { + "Name": "GPUPowerOn", + "Path": "/sys/devices/platform/1f000000.mali/hint_power_on", + "Values": [ + "1", + "0" + ] + }, { "Name": "GPUMinFreq", "Path": "/sys/devices/platform/1f000000.mali/hint_min_freq", @@ -928,6 +936,12 @@ "Duration": 3000, "Value": "0" }, + { + "PowerHint": "CPU_LOAD_RESET", + "Node": "GPUPowerOn", + "Duration": 10, + "Value": "1" + }, { "PowerHint": "CPU_LOAD_RESET", "Node": "GPUMinFreq", diff --git a/perf/powerhint-ripcurrent.json b/perf/powerhint-ripcurrent.json index 55edc6f..fdab35e 100644 --- a/perf/powerhint-ripcurrent.json +++ b/perf/powerhint-ripcurrent.json @@ -1,5 +1,13 @@ { "Nodes": [ + { + "Name": "GPUPowerOn", + "Path": "/sys/devices/platform/1f000000.mali/hint_power_on", + "Values": [ + "1", + "0" + ] + }, { "Name": "GPUMinFreq", "Path": "/sys/devices/platform/1f000000.mali/hint_min_freq", @@ -893,6 +901,12 @@ "Duration": 3000, "Value": "0" }, + { + "PowerHint": "CPU_LOAD_RESET", + "Node": "GPUPowerOn", + "Duration": 10, + "Value": "1" + }, { "PowerHint": "CPU_LOAD_RESET", "Node": "GPUMinFreq", diff --git a/perf/powerhint-shiba.json b/perf/powerhint-shiba.json index af62252..482771a 100644 --- a/perf/powerhint-shiba.json +++ b/perf/powerhint-shiba.json @@ -1,5 +1,13 @@ { "Nodes": [ + { + "Name": "GPUPowerOn", + "Path": "/sys/devices/platform/1f000000.mali/hint_power_on", + "Values": [ + "1", + "0" + ] + }, { "Name": "GPUMinFreq", "Path": "/sys/devices/platform/1f000000.mali/hint_min_freq", @@ -928,6 +936,12 @@ "Duration": 3000, "Value": "0" }, + { + "PowerHint": "CPU_LOAD_RESET", + "Node": "GPUPowerOn", + "Duration": 10, + "Value": "1" + }, { "PowerHint": "CPU_LOAD_RESET", "Node": "GPUMinFreq",