sdm710-common: powerhint: Update for sdm710

Power hints tuned for our devices by Albert I.

Thanks-to: Albert I <kras@raphielgang.org>
Signed-off-by: Ivan Vecera <ivan@cera.cz>
Change-Id: I580a527b8621252b44e5a8bfcb906b8a98d2156b
This commit is contained in:
Albert I 2021-10-25 16:42:22 +02:00 committed by Giammarco Senatore
parent 2242d1fe31
commit 35fab10381
No known key found for this signature in database
GPG key ID: 661348FC1E144F04

View file

@ -5,8 +5,6 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
"Values": [
"9999999",
"1612800",
"1516800",
"1209600"
],
"DefaultIndex": 0,
@ -17,9 +15,6 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq",
"Values": [
"9999999",
"1612800",
"1516800",
"1324800",
"1209600",
"576000"
],
@ -30,9 +25,7 @@
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq",
"Values": [
"9999999",
"1996800",
"1747200",
"1536000",
"2208000",
"1363200"
],
"DefaultIndex": 0,
@ -43,11 +36,9 @@
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq",
"Values": [
"9999999",
"1747200",
"1536000",
"1363200",
"1132800",
"825600"
"652800"
],
"ResetOnInit": true
},
@ -55,10 +46,8 @@
"Name": "GPUMaxFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/devfreq/max_freq",
"Values": [
"430000000",
"355000000",
"267000000",
"180000000"
"504000000",
"355000000"
],
"DefaultIndex": 0,
"ResetOnInit": true
@ -67,10 +56,8 @@
"Name": "GPUMinFreq",
"Path": "/sys/class/kgsl/kgsl-3d0/devfreq/min_freq",
"Values": [
"430000000",
"355000000",
"267000000",
"180000000"
"504000000",
"355000000"
],
"ResetOnInit": true
},
@ -126,7 +113,8 @@
"Values": [
"0",
"3"
]
],
"ResetOnInit": true
},
{
"Name": "CPUBWHistMemory",
@ -134,7 +122,8 @@
"Values": [
"0",
"20"
]
],
"ResetOnInit": true
},
{
"Name": "CPUBWHystLength",
@ -142,7 +131,26 @@
"Values": [
"0",
"10"
]
],
"ResetOnInit": true
},
{
"Name": "CPUBWSampleMs",
"Path": "/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/sample_ms",
"Values": [
"10",
"4"
],
"ResetOnInit": true
},
{
"Name": "CPUBWIOPercent",
"Path": "/sys/class/devfreq/soc:qcom,cpubw/bw_hwmon/io_percent",
"Values": [
"80",
"34"
],
"ResetOnInit": true
},
{
"Name": "CPUBWMinFreq",
@ -150,7 +158,6 @@
"Values": [
"6881",
"5161",
"2929",
"2086",
"1144",
"381"
@ -179,8 +186,8 @@
"Name": "PMQoSCpuDmaLatency",
"Path": "/dev/cpu_dma_latency",
"Values": [
"43",
"100"
"2c",
"64"
],
"HoldFd": true
},
@ -219,21 +226,30 @@
""
],
"Type": "Property"
},
{
"Name": "PowerHALRenderingState",
"Path": "vendor.powerhal.rendering",
"Values": [
"EXPENSIVE_RENDERING",
""
],
"Type": "Property"
}
],
"Actions": [
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1363200"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "PowerHALMainState",
"Duration": 0,
"Value": "SUSTAINED_PERFORMANCE"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1363200"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPULittleClusterMaxFreq",
@ -246,12 +262,6 @@
"Duration": 0,
"Value": "355000000"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBigClusterMinFreq",
"Duration": 0,
"Value": "1132800"
},
{
"PowerHint": "INTERACTION",
"Node": "CPULittleClusterMinFreq",
@ -322,7 +332,7 @@
"PowerHint": "LAUNCH",
"Node": "PMQoSCpuDmaLatency",
"Duration": 5000,
"Value": "43"
"Value": "2c"
},
{
"PowerHint": "LAUNCH",
@ -378,6 +388,12 @@
"Duration": 5000,
"Value": "1440000000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "ForegroundCpuset",
"Duration": 1000,
"Value": "0-5"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "SchedBoost",
@ -412,37 +428,115 @@
"PowerHint": "CAMERA_LAUNCH",
"Node": "PMQoSCpuDmaLatency",
"Duration": 1000,
"Value": "43"
"Value": "2c"
},
{
"PowerHint": "CAMERA_STREAMING_MID",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1996800"
"Value": "2208000"
},
{
"PowerHint": "CAMERA_STREAMING_MID",
"Node": "CPUBWSampleMs",
"Duration": 0,
"Value": "10"
},
{
"PowerHint": "CAMERA_STREAMING_MID",
"Node": "CPUBWIOPercent",
"Duration": 0,
"Value": "80"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1996800"
"Value": "2208000"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "GPUMinFreq",
"Node": "CPUBWSampleMs",
"Duration": 0,
"Value": "430000000"
"Value": "10"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "GPUMaxFreq",
"Node": "CPUBWIOPercent",
"Duration": 0,
"Value": "430000000"
"Value": "80"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUBWHystTriggerCount",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUBWHystLength",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1996800"
"Value": "2208000"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUBWSampleMs",
"Duration": 0,
"Value": "10"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUBWIOPercent",
"Duration": 0,
"Value": "80"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUBWHystTriggerCount",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUBWHystLength",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_SECURE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "2208000"
},
{
"PowerHint": "CAMERA_STREAMING_SECURE",
"Node": "CPUBWSampleMs",
"Duration": 0,
"Value": "10"
},
{
"PowerHint": "CAMERA_STREAMING_SECURE",
"Node": "CPUBWIOPercent",
"Duration": 0,
"Value": "80"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "ForegroundCpuset",
"Duration": 1000,
"Value": "0-5"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "SchedBoost",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "CAMERA_SHOT",
@ -472,19 +566,13 @@
"PowerHint": "CAMERA_SHOT",
"Node": "PMQoSCpuDmaLatency",
"Duration": 1000,
"Value": "43"
},
{
"PowerHint": "AUDIO_LAUNCH",
"Node": "CPUBigClusterMinFreq",
"Duration": 2000,
"Value": "1363200"
"Value": "2c"
},
{
"PowerHint": "AUDIO_LAUNCH",
"Node": "PMQoSCpuDmaLatency",
"Duration": 2000,
"Value": "43"
"Value": "2c"
},
{
"PowerHint": "AUDIO_STREAMING_LOW_LATENCY",
@ -496,7 +584,31 @@
"PowerHint": "AUDIO_STREAMING_LOW_LATENCY",
"Node": "PMQoSCpuDmaLatency",
"Duration": 0,
"Value": "43"
"Value": "2c"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "PowerHALRenderingState",
"Duration": 0,
"Value": "EXPENSIVE_RENDERING"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMinFreq",
"Duration": 0,
"Value": "355000000"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMaxFreq",
"Duration": 0,
"Value": "504000000"
},
{
"PowerHint": "ML_ACC",
"Node": "PMQoSCpuDmaLatency",
"Duration": 2000,
"Value": "2c"
}
]
}