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 <sidaths@google.com>
Change-Id: Icf120454ff908776c8717826689a0528aebf2f64
This commit is contained in:
Sidath Senanayake 2021-05-17 15:02:11 +01:00 committed by TreeHugger Robot
parent 8a52881a41
commit 3f13d8aa5e
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@
}, },
{ {
"Name": "GPUMinFreq", "Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1c500000.mali/scaling_min_freq", "Path": "/sys/devices/platform/1c500000.mali/hint_min_freq",
"Values": [ "Values": [
"762000", "762000",
"471000", "471000",

View file

@ -42,7 +42,7 @@
}, },
{ {
"Name": "GPUMinFreq", "Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1c500000.mali/scaling_min_freq", "Path": "/sys/devices/platform/1c500000.mali/hint_min_freq",
"Values": [ "Values": [
"151000", "151000",
"302000", "302000",

View file

@ -62,7 +62,7 @@
}, },
{ {
"Name": "GPUMinFreq", "Name": "GPUMinFreq",
"Path": "/sys/devices/platform/1c500000.mali/scaling_min_freq", "Path": "/sys/devices/platform/1c500000.mali/hint_min_freq",
"Values": [ "Values": [
"151000", "151000",
"302000", "302000",