Files
device_xiaomi_fleur/configs/powerhint.json
2025-10-17 22:53:43 +00:00

515 lines
10 KiB
JSON

{
"Nodes": [
{
"Name": "CPULittleClusterMaxFreq",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq",
"Values": [
"9999999",
"2000000",
"1933000",
"1866000",
"1800000",
"1666000",
"1618000",
"1500000",
"1375000",
"1275000",
"1175000",
"1075000",
"975000",
"875000",
"774000",
"500000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPULittleClusterMinFreq",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq",
"Values": [
"9999999",
"2000000",
"1933000",
"1866000",
"1800000",
"1666000",
"1618000",
"1500000",
"1375000",
"1275000",
"1175000",
"1075000",
"975000",
"875000",
"774000",
"500000"
],
"ResetOnInit": true
},
{
"Name": "CPUBigClusterMaxFreq",
"Path": "/sys/devices/system/cpu/cpufreq/policy6/scaling_max_freq",
"Values": [
"9999999",
"2050000",
"1986000",
"1923000",
"1860000",
"1796000",
"1733000",
"1670000",
"1530000",
"1419000",
"1308000",
"1169000",
"1085000",
"1002000",
"919000",
"835000",
"774000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUBigClusterMinFreq",
"Path": "/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq",
"Values": [
"9999999",
"2050000",
"1986000",
"1923000",
"1860000",
"1796000",
"1733000",
"1670000",
"1530000",
"1419000",
"1308000",
"1169000",
"1085000",
"1002000",
"919000",
"835000",
"774000"
],
"ResetOnInit": true
},
{
"Name": "CPULittleClusterDownRateLimitUs",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/schedutil/down_rate_limit_us",
"Values": [
"20000",
"5000",
"2000",
"500"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUBigClusterDownRateLimitUs",
"Path": "/sys/devices/system/cpu/cpufreq/policy6/schedutil/down_rate_limit_us",
"Values": [
"20000",
"5000",
"2000",
"500"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPULittleClusterUpRateLimitUs",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/schedutil/up_rate_limit_us",
"Values": [
"20000",
"5000",
"2000",
"500"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "CPUBigClusterUpRateLimitUs",
"Path": "/sys/devices/system/cpu/cpufreq/policy6/schedutil/up_rate_limit_us",
"Values": [
"20000",
"5000",
"2000",
"500"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "RestrictedCpuset",
"Path": "/dev/cpuset/restricted/cpus",
"Values": [
"0-3",
"0-7"
],
"ResetOnInit": true
},
{
"Name": "UclampFGMin",
"Path": "/dev/cpuctl/foreground/cpu.uclamp.min",
"Values": [
"0",
"15"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "GPUMinFreq",
"Path": "/sys/kernel/gpu/gpu_min_clock",
"Values": [
"950000",
"940000",
"930000",
"920000",
"910000",
"900000",
"890000",
"880000",
"870000",
"860000",
"850000",
"840000",
"830000",
"820000",
"810000",
"800000",
"790000",
"775000",
"761000",
"746000",
"732000",
"718000",
"703000",
"689000",
"675000",
"660000",
"646000",
"631000",
"617000",
"603000",
"588000",
"574000",
"560000",
"543000",
"527000",
"511000",
"495000",
"478000",
"462000",
"446000",
"430000",
"413000",
"397000",
"381000",
"365000",
"348000",
"332000",
"316000",
"300000"
],
"ResetOnInit": true
},
{
"Name": "GPUMaxFreq",
"Path": "/sys/kernel/gpu/gpu_max_clock",
"Values": [
"950000",
"940000",
"930000",
"920000",
"910000",
"900000",
"890000",
"880000",
"870000",
"860000",
"850000",
"840000",
"830000",
"820000",
"810000",
"800000",
"790000",
"775000",
"761000",
"746000",
"732000",
"718000",
"703000",
"689000",
"675000",
"660000",
"646000",
"631000",
"617000",
"603000",
"588000",
"574000",
"560000",
"543000",
"527000",
"511000",
"495000",
"478000",
"462000",
"446000",
"430000",
"413000",
"397000",
"381000",
"365000",
"348000",
"332000",
"316000",
"300000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "GPUSchedMode",
"Path": "/sys/devices/platform/13000000.mali/js_ctx_scheduling_mode",
"Values": [
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "GPUSchedPeriod",
"Path": "/sys/devices/platform/13000000.mali/js_scheduling_period",
"Values": [
"100",
"75",
"50",
"25",
"0"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "GPUDVFSInterval",
"Path": "/sys/devices/platform/13000000.mali/dvfs_period",
"Values": [
"100",
"75",
"50"
],
"ResetOnInit": true
},
{
"Name": "DRAMOppMin",
"Path": "/proc/perfmgr/boost_ctrl/dram_ctrl/ddr",
"Values": [
"1",
"-1"
],
"ResetOnInit": true
},
{
"Name": "CCIFreqMode",
"Path": "/proc/cpufreq/cpufreq_cci_mode",
"Values": [
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "PowerHALMainState",
"Path": "vendor.powerhal.state",
"Values": [
"SUSTAINED_PERFORMANCE",
""
],
"Type": "Property"
},
{
"Name": "PowerHALAudioState",
"Path": "vendor.powerhal.audio",
"Values": [
"AUDIO_STREAMING_LOW_LATENCY",
""
],
"Type": "Property"
},
{
"Name": "PowerHALRenderingState",
"Path": "vendor.powerhal.rendering",
"Values": ["EXPENSIVE_RENDERING", ""],
"Type": "Property"
}
],
"Actions": [
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "PowerHALMainState",
"Duration": 0,
"Value": "SUSTAINED_PERFORMANCE"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "2050000"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "GPUMaxFreq",
"Duration": 0,
"Value": "950000"
},
{
"PowerHint": "AUDIO_STREAMING_LOW_LATENCY",
"Node": "PowerHALAudioState",
"Duration": 0,
"Value": "AUDIO_STREAMING_LOW_LATENCY"
},
{
"PowerHint": "AUDIO_STREAMING_LOW_LATENCY",
"Node": "CPULittleClusterMinFreq",
"Duration": 0,
"Value": "875000"
},
{
"PowerHint": "AUDIO_STREAMING_LOW_LATENCY",
"Node": "CPUBigClusterMinFreq",
"Duration": 0,
"Value": "1002000"
},
{
"PowerHint": "SUSTAINED_PERFORMANCE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "2000000"
},
{
"PowerHint": "INTERACTION",
"Node": "CPULittleClusterMinFreq",
"Duration": 58,
"Value": "1500000"
},
{
"PowerHint": "INTERACTION",
"Node": "CPUBigClusterMinFreq",
"Duration": 58,
"Value": "1530000"
},
{
"PowerHint": "INTERACTION",
"Node": "CCIFreqMode",
"Duration": 58,
"Value": "1"
},
{
"PowerHint": "INTERACTION",
"Node": "UclampFGMin",
"Duration": 58,
"Value": "15"
},
{
"PowerHint": "LAUNCH",
"Node": "CPUBigClusterMinFreq",
"Duration": 2500,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "CPULittleClusterMinFreq",
"Duration": 2500,
"Value": "9999999"
},
{
"PowerHint": "LAUNCH",
"Node": "DRAMOppMin",
"Duration": 2500,
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "CPULittleClusterMinFreq",
"Duration": 0,
"Value": "9999999"
},
{
"PowerHint": "GAME",
"Node": "CPUBigClusterMinFreq",
"Duration": 0,
"Value": "9999999"
},
{
"PowerHint": "GAME",
"Node": "CPULittleClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
},
{
"PowerHint": "GAME",
"Node": "CPUBigClusterDownRateLimitUs",
"Duration": 0,
"Value": "20000"
},
{
"PowerHint": "GAME",
"Node": "CPULittleClusterUpRateLimitUs",
"Duration": 0,
"Value": "500"
},
{
"PowerHint": "GAME",
"Node": "CPUBigClusterUpRateLimitUs",
"Duration": 0,
"Value": "500"
},
{
"PowerHint": "GAME",
"Node": "GPUSchedMode",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "GPUSchedPeriod",
"Duration": 0,
"Value": "50"
},
{
"PowerHint": "GAME",
"Node": "GPUMinFreq",
"Duration": 0,
"Value": "950000"
},
{
"PowerHint": "GAME_LOADING",
"Node": "CPULittleClusterMinFreq",
"Duration": 0,
"Value": "9999999"
},
{
"PowerHint": "GAME_LOADING",
"Node": "CPUBigClusterMinFreq",
"Duration": 0,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "RestrictedCpuset",
"Duration": 0,
"Value": "0-3"
}
]
}