sdm660-common: power-libperfmgr: Update powerhint with available values

- Reduce launch duration to 4s
- Add missing nodes for available hints
This commit is contained in:
OdSazib 2021-06-10 21:12:40 +06:00
parent 2880603f27
commit bf4b6408b0
No known key found for this signature in database
GPG key ID: D4CC9F3E8190970A

View file

@ -5,6 +5,9 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1747200",
"1536000",
"1401600",
"1113600" "1113600"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
@ -15,7 +18,10 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1536000",
"1401600",
"1113600", "1113600",
"902400",
"633600" "633600"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -25,6 +31,9 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2150400",
"1958400",
"1747200",
"1401600" "1401600"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
@ -35,6 +44,9 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1958400",
"1747200",
"1401600",
"1113600" "1113600"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -44,6 +56,7 @@
"Path": "/sys/class/kgsl/kgsl-3d0/devfreq/max_freq", "Path": "/sys/class/kgsl/kgsl-3d0/devfreq/max_freq",
"Values": [ "Values": [
"647000000", "647000000",
"588000000",
"465000000" "465000000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
@ -55,10 +68,22 @@
"Values": [ "Values": [
"647000000", "647000000",
"465000000", "465000000",
"370000000",
"266000000" "266000000"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "GPUBusMinFreq",
"Path": "/sys/class/devfreq/soc:qcom,gpubw/min_freq",
"Values": [
"6881",
"5931",
"3879",
"0"
],
"ResetOnInit": true
},
{ {
"Name": "GPUForceRailOn", "Name": "GPUForceRailOn",
"Path": "/sys/class/kgsl/kgsl-3d0/force_rail_on", "Path": "/sys/class/kgsl/kgsl-3d0/force_rail_on",
@ -121,6 +146,24 @@
"10" "10"
] ]
}, },
{
"Name": "CPUBWSampleMs",
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/sample_ms",
"Values": [
"10",
"4"
],
"ResetOnInit": true
},
{
"Name": "CPUBWIOPercent",
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/bw_hwmon/io_percent",
"Values": [
"80",
"50"
],
"ResetOnInit": true
},
{ {
"Name": "CPUBWMinFreq", "Name": "CPUBWMinFreq",
"Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/min_freq", "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-ddr-bw/min_freq",
@ -259,66 +302,66 @@
"PowerHint": "INTERACTION", "PowerHint": "INTERACTION",
"Node": "CPUBWMinFreq", "Node": "CPUBWMinFreq",
"Duration": 0, "Duration": 0,
"Value": "3879" "Value": "4943"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 5000, "Duration": 4000,
"Value": "9999999" "Value": "9999999"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 5000, "Duration": 4000,
"Value": "9999999" "Value": "9999999"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "CPULittleClusterMinFreq", "Node": "CPULittleClusterMinFreq",
"Duration": 5000, "Duration": 4000,
"Value": "9999999" "Value": "9999999"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "PMQoSCpuDmaLatency", "Node": "PMQoSCpuDmaLatency",
"Duration": 5000, "Duration": 4000,
"Value": "2" "Value": "2"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "CPUBWHystTriggerCount", "Node": "CPUBWHystTriggerCount",
"Duration": 5000, "Duration": 4000,
"Value": "0" "Value": "0"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "CPUBWHistMemory", "Node": "CPUBWHistMemory",
"Duration": 5000, "Duration": 4000,
"Value": "0" "Value": "0"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "CPUBWMinFreq", "Node": "CPUBWMinFreq",
"Duration": 5000, "Duration": 4000,
"Value": "6881" "Value": "6881"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "GPUForceClkOn", "Node": "GPUForceClkOn",
"Duration": 5000, "Duration": 4000,
"Value": "1" "Value": "1"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "GPUForceRailOn", "Node": "GPUForceRailOn",
"Duration": 5000, "Duration": 4000,
"Value": "1" "Value": "1"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "GPUIdleTimer", "Node": "GPUIdleTimer",
"Duration": 5000, "Duration": 4000,
"Value": "10000" "Value": "10000"
}, },
{ {