PowerHint: Refine FIXED_PERFORMANCE mode CPU Frequencies

Set the CPU frequencies of FIXED_PERFORMANCE to align with Thermal CPU Light level.

Bug: 327070837
Test: Boot to home
Flag: NONE powerhal doesn't have a flag yet
Change-Id: Ibb698b608c21c2a4f81354f852cb077345907947
This commit is contained in:
Jimmy Shiu 2024-08-22 01:05:54 +00:00
parent ebb85f4b84
commit eb79ff9e68
2 changed files with 19 additions and 13 deletions

View file

@ -97,6 +97,7 @@
"Values": [
"9999999",
"1548000",
"1425000",
"1197000",
"0"
],
@ -136,6 +137,7 @@
"9999999",
"2245000",
"2130000",
"1572000",
"1836000",
"0"
],
@ -177,6 +179,7 @@
"2687000",
"2363000",
"2147000",
"1745000",
"1885000",
"0"
],
@ -2624,37 +2627,37 @@
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1745000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUBigClusterMinFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1745000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1572000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUMidClusterMinFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1572000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1425000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPULittleClusterMinFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1425000"
},
{
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",

View file

@ -97,6 +97,7 @@
"Values": [
"9999999",
"1548000",
"1425000",
"1197000",
"0"
],
@ -132,6 +133,7 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq",
"Values": [
"9999999",
"1572000",
"1836000",
"0"
],
@ -168,6 +170,7 @@
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq",
"Values": [
"9999999",
"1745000",
"1885000",
"0"
],
@ -2157,7 +2160,7 @@
"Duration": 0,
"Value": "cam1"
},
{
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUUtilThreshold",
"Duration": 0,
@ -2529,37 +2532,37 @@
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1745000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUBigClusterMinFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1745000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1572000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUMidClusterMinFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1572000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1425000"
},
{
"PowerHint": "FIXED_PERFORMANCE",
"Node": "CPULittleClusterMinFreq",
"Duration": 0,
"Value": "9999999"
"Value": "1425000"
},
{
"PowerHint": "LOW_POWER_LITTLE_CLUSTER_50",