sm6375-common: configs: use min_pwrlevel to configure GPU freq

Bug: 146334579
Bug: 146336388
Test: run pts -m PtsPerformanceTestCases -t com.google.android.perf.pts.PowerHALAPITest
Test: run pts -m PtsPerformanceTestCases -t com.google.android.perf.pts.PowerHintJsonVerifyTest
Change-Id: I18c0210463f29831cc94c629a98718406ebdf21b
This commit is contained in:
Chiawei Wang 2024-07-18 12:56:42 +05:30 committed by Anand S
parent 35fa04910b
commit b72a4690a4
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61

View file

@ -78,23 +78,34 @@
},
{
"Name": "GPUMaxFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/devfreq/max_freq",
"Path": "/sys/class/kgsl/kgsl-3d0/max_pwrlevel",
"Values": [
"840000000",
"650000000",
"266000000"
"0",
"1",
"2"
],
"Comments": [
"0 => 840000000",
"1 => 650000000",
"2 => 266000000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "GPUMinFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/devfreq/min_freq",
"Path": "/sys/class/kgsl/kgsl-3d0/min_pwrlevel",
"Values": [
"840000000",
"650000000",
"490000000",
"266000000"
"0",
"1",
"2",
"3"
],
"Comments": [
"0 => 840000000",
"1 => 650000000",
"2 => 490000000",
"3 => 266000000"
],
"ResetOnInit": true
},
@ -233,7 +244,7 @@
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "GPUMaxFreq",
"Duration": 0,
"Value": "650000000"
"Value": "1"
},
{
"PowerHint": "INTERACTION",
@ -395,13 +406,13 @@
"PowerHint": "FIXED_PERFORMANCE",
"Node": "GPUMaxFreq",
"Duration": 0,
"Value": "840000000"
"Value": "0"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "GPUMinFreq",
"Duration": 0,
"Value": "840000000"
"Value": "0"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
@ -413,7 +424,7 @@
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMaxFreq",
"Duration": 0,
"Value": "840000000"
"Value": "0"
},
{
"PowerHint": "Flipendo",