sdm660-common: power-libperfmgr: Bring back old style GPU boosting

This reverts commit 20c079034501d1cbe6321d38172d4f8e6f33bcb6.

Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Reinazhard 2022-05-16 18:09:35 +08:00 committed by pix106
parent 51989fce41
commit c12bbe75da

View file

@ -57,40 +57,27 @@
}, },
{ {
"Name": "GPUMaxFreq", "Name": "GPUMaxFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/max_pwrlevel", "Path": "/sys/class/kgsl/kgsl-3d0/devfreq/max_freq",
"Values": [ "Values": [
"0", "647000000",
"1", "588000000",
"2", "465000000",
"3" "370000000",
], "266000000"
"Comments": [
"0 => 647000000",
"1 => 588000000",
"2 => 465000000",
"3 => 370000000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
"Name": "GPUMinFreq", "Name": "GPUMinFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/min_pwrlevel", "Path": "/sys/class/kgsl/kgsl-3d0/devfreq/min_freq",
"Values": [ "Values": [
"0", "647000000",
"1", "588000000",
"2", "465000000",
"3", "370000000",
"4", "266000000",
"5" "160000000"
],
"Comments": [
"0 => 647000000",
"1 => 588000000",
"2 => 465000000",
"3 => 370000000",
"4 => 266000000",
"5 => 160000000"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -266,7 +253,7 @@
"PowerHint": "SUSTAINED_PERFORMANCE", "PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "GPUMaxFreq", "Node": "GPUMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "3" "Value": "465000000"
}, },
{ {
"PowerHint": "INTERACTION", "PowerHint": "INTERACTION",
@ -482,13 +469,13 @@
"PowerHint": "EXPENSIVE_RENDERING", "PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMinFreq", "Node": "GPUMinFreq",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "647000000"
}, },
{ {
"PowerHint": "EXPENSIVE_RENDERING", "PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMaxFreq", "Node": "GPUMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "647000000"
}, },
{ {
"PowerHint": "LOW_POWER", "PowerHint": "LOW_POWER",
@ -536,13 +523,13 @@
"PowerHint": "FIXED_PERFORMANCE", "PowerHint": "FIXED_PERFORMANCE",
"Node": "GPUMaxFreq", "Node": "GPUMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "647000000"
}, },
{ {
"PowerHint": "FIXED_PERFORMANCE", "PowerHint": "FIXED_PERFORMANCE",
"Node": "GPUMinFreq", "Node": "GPUMinFreq",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "647000000"
} }
] ]
} }