From 3f13d8aa5e720a153f08ff426dfb4c370b1520d7 Mon Sep 17 00:00:00 2001 From: Sidath Senanayake Date: Mon, 17 May 2021 15:02:11 +0100 Subject: [PATCH] powerhint: Use 'hint' node for GPU This changes PowerHAL to use a sysfs node created specifically for use by PowerHAL when influencing GPU clocks. Bug: 188404581 Bug: 188034128 Signed-off-by: Sidath Senanayake Change-Id: Icf120454ff908776c8717826689a0528aebf2f64 --- powerhint.json | 2 +- powerhint_a0.json | 2 +- powerhint_a1.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/powerhint.json b/powerhint.json index e8e13004..45c14e74 100644 --- a/powerhint.json +++ b/powerhint.json @@ -73,7 +73,7 @@ }, { "Name": "GPUMinFreq", - "Path": "/sys/devices/platform/1c500000.mali/scaling_min_freq", + "Path": "/sys/devices/platform/1c500000.mali/hint_min_freq", "Values": [ "762000", "471000", diff --git a/powerhint_a0.json b/powerhint_a0.json index 60f6e04d..31f34d76 100644 --- a/powerhint_a0.json +++ b/powerhint_a0.json @@ -42,7 +42,7 @@ }, { "Name": "GPUMinFreq", - "Path": "/sys/devices/platform/1c500000.mali/scaling_min_freq", + "Path": "/sys/devices/platform/1c500000.mali/hint_min_freq", "Values": [ "151000", "302000", diff --git a/powerhint_a1.json b/powerhint_a1.json index 96f42680..23b190ae 100644 --- a/powerhint_a1.json +++ b/powerhint_a1.json @@ -62,7 +62,7 @@ }, { "Name": "GPUMinFreq", - "Path": "/sys/devices/platform/1c500000.mali/scaling_min_freq", + "Path": "/sys/devices/platform/1c500000.mali/hint_min_freq", "Values": [ "151000", "302000",