Remove CPU hard-caps and enable PMU for 30fps am: 6419d5e67d am: 1a14cb28e3

Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23603838

Change-Id: I73675d8eb6d62a867071c1a322a2d8a674327b1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ali K. Zadeh 2023-06-23 01:15:37 +00:00 committed by Automerger Merge Worker
commit f686753cdf
3 changed files with 63 additions and 72 deletions

View file

@ -645,6 +645,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"70", "70",
"42",
"35", "35",
"30", "30",
"20", "20",
@ -675,7 +676,8 @@
"Values": [ "Values": [
"50", "50",
"30", "30",
"20" "20",
"18"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -701,6 +703,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold",
"Values": [ "Values": [
"50", "50",
"22",
"20" "20"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
@ -1620,6 +1623,12 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_LIMIT_FREQ",
"Duration": 0,
"Value": "1098000"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_LCPI_THRESHOLD", "Node": "PMU_LIT_LCPI_THRESHOLD",
@ -1630,7 +1639,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "42"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_LIMIT_FREQ",
"Duration": 0,
"Value": "1328000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1642,13 +1657,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "50" "Value": "18"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1298000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1660,13 +1675,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_BIG_SPC_THRESHOLD", "Node": "PMU_BIG_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "50" "Value": "22"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_POLL", "Node": "PMU_POLL",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "1"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1692,24 +1707,6 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1852000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "1622000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1475000"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MemFreq", "Node": "MemFreq",

View file

@ -628,6 +628,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"70", "70",
"42",
"35", "35",
"30", "30",
"20", "20",
@ -658,7 +659,8 @@
"Values": [ "Values": [
"50", "50",
"30", "30",
"20" "20",
"18"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -684,6 +686,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold",
"Values": [ "Values": [
"50", "50",
"22",
"20" "20"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
@ -1478,6 +1481,12 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_LIMIT_FREQ",
"Duration": 0,
"Value": "1098000"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_LCPI_THRESHOLD", "Node": "PMU_LIT_LCPI_THRESHOLD",
@ -1488,7 +1497,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "42"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_LIMIT_FREQ",
"Duration": 0,
"Value": "1328000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1500,13 +1515,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "50" "Value": "18"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1298000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1518,13 +1533,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_BIG_SPC_THRESHOLD", "Node": "PMU_BIG_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "50" "Value": "22"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_POLL", "Node": "PMU_POLL",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "1"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1550,24 +1565,6 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1852000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "1622000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1475000"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MemFreq", "Node": "MemFreq",

View file

@ -645,6 +645,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"70", "70",
"42",
"35", "35",
"30", "30",
"20", "20",
@ -675,7 +676,8 @@
"Values": [ "Values": [
"50", "50",
"30", "30",
"20" "20",
"18"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -701,6 +703,7 @@
"Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold",
"Values": [ "Values": [
"50", "50",
"22",
"20" "20"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
@ -1518,6 +1521,12 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_LIMIT_FREQ",
"Duration": 0,
"Value": "1098000"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_LCPI_THRESHOLD", "Node": "PMU_LIT_LCPI_THRESHOLD",
@ -1528,7 +1537,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_LIT_SPC_THRESHOLD", "Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "42"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_LIMIT_FREQ",
"Duration": 0,
"Value": "1328000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1540,13 +1555,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_MID_SPC_THRESHOLD", "Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "50" "Value": "18"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_BIG_LIMIT_FREQ", "Node": "PMU_BIG_LIMIT_FREQ",
"Duration": 0, "Duration": 0,
"Value": "1852000" "Value": "1298000"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1558,13 +1573,13 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_BIG_SPC_THRESHOLD", "Node": "PMU_BIG_SPC_THRESHOLD",
"Duration": 0, "Duration": 0,
"Value": "50" "Value": "22"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_POLL", "Node": "PMU_POLL",
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "1"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1590,24 +1605,6 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1852000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "1622000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1475000"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MemFreq", "Node": "MemFreq",