powerhint: Update not available frequency to reflect its actual behavior

Some frequencies uses unavailable frequency other soc ex: ag/22293847, the patch update them to explicitly show the actual actions of driver.

Bug: 361294204
Change-Id: I1adc41aca636650b4eaad179d73bde030146347c
FLAG: NONE powerhint do not need flag
This commit is contained in:
Paulsu Su 2024-08-31 05:20:01 +00:00
parent 70363dbbfa
commit e2a796691d

View file

@ -118,7 +118,7 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2253000", "2245000",
"2130000", "2130000",
"910000", "910000",
"1328000", "1328000",
@ -134,7 +134,7 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2253000", "2245000",
"2130000", "2130000",
"1836000", "1836000",
"0" "0"
@ -158,9 +158,8 @@
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2704000", "2687000",
"2507000", "2147000",
"2252000",
"1298000", "1298000",
"1557000", "1557000",
"1745000", "1745000",
@ -175,9 +174,9 @@
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq", "Path": "/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq",
"Values": [ "Values": [
"9999999", "9999999",
"2704000", "2687000",
"2507000", "2363000",
"2252000", "2147000",
"1885000", "1885000",
"0" "0"
], ],
@ -1531,13 +1530,13 @@
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2704000" "Value": "2687000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2704000" "Value": "2687000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2",
@ -1549,13 +1548,13 @@
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2507000" "Value": "2363000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK2",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2507000" "Value": "2363000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3",
@ -1567,13 +1566,13 @@
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2252000" "Value": "2147000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK3",
"Node": "CPUBigClusterMinFreq", "Node": "CPUBigClusterMinFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2252000" "Value": "2147000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK1", "PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK1",
@ -1591,13 +1590,13 @@
"PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK2",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2253000" "Value": "2245000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK2", "PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK2",
"Node": "CPUMidClusterMinFreq", "Node": "CPUMidClusterMinFreq",
"Duration": 3000, "Duration": 3000,
"Value": "2253000" "Value": "2245000"
}, },
{ {
"PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK3", "PowerHint": "GCA_CAMERA_SHOT_MIDCPU_RANK3",