gta4xl-common: Boost GPU on interaction
* GTA4XL doesn't actually have /dev/gpu_freq_min
Change-Id: Ie7eef65a2571c21de4b227c6f7f350efb74ad88f
diff --git a/configs/power/powerhint.json b/configs/power/powerhint.json
index b5267a1..5a77b4e 100644
--- a/configs/power/powerhint.json
+++ b/configs/power/powerhint.json
@@ -2,12 +2,12 @@
"Nodes": [
{
"Name": "GPUMinFreq",
- "Path": "/dev/gpu_freq_min",
+ "Path": "/sys/kernel/gpu/gpu_min_clock",
"Values": [
- "0x000ba860",
- "0x00003f7a0",
+ "764000",
+ "455000",
+ "260000",
],
- "HoldFd": true,
"ResetOnInit": true
},
{
@@ -65,6 +65,12 @@
"Value": "30"
},
{
+ "PowerHint": "INTERACTION",
+ "Node": "GPUMinFreq",
+ "Duration": 0,
+ "Value": "455000"
+ },
+ {
"PowerHint": "LAUNCH",
"Node": "PMQoSCpuDmaLatency",
"Duration": 5000,
@@ -116,13 +122,7 @@
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMinFreq",
"Duration": 0,
- "Value": "0x000ba860"
- },
- {
- "PowerHint": "LAUNCH",
- "Node": "GPUMinFreq",
- "Duration": 5000,
- "Value": "0x000ba860"
+ "Value": "764000"
}
]
}