Enable PMU during photo capture
This CL enables PMU feature during photo capture. With the new settings, we can achieve up to 120ms saving in capture latency, while paying a penalty of 60mW. However, even with the added power, we are still below the F10 numbers (go/f10-camera-power-gtw). Refer to ag/27238472 and ag/27255676 Bug: 342502377 Test: GCA photo capture Change-Id: Iefe755e64e2e5bd6858f13adb4be7533c6b3e611
This commit is contained in:
parent
0efca5ac37
commit
1f3c427641
1 changed files with 34 additions and 18 deletions
|
@ -677,10 +677,11 @@
|
||||||
"Name": "PMU_LIT_LIMIT_FREQ",
|
"Name": "PMU_LIT_LIMIT_FREQ",
|
||||||
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/limit_frequency",
|
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/limit_frequency",
|
||||||
"Values": [
|
"Values": [
|
||||||
|
"1425000",
|
||||||
"1328000",
|
"1328000",
|
||||||
"1098000"
|
"1098000"
|
||||||
],
|
],
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 1,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -688,6 +689,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",
|
||||||
|
"40",
|
||||||
"55",
|
"55",
|
||||||
"42",
|
"42",
|
||||||
"35",
|
"35",
|
||||||
|
@ -702,6 +704,7 @@
|
||||||
"Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/limit_frequency",
|
"Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/limit_frequency",
|
||||||
"Values": [
|
"Values": [
|
||||||
"1795000",
|
"1795000",
|
||||||
|
"1549000",
|
||||||
"1328000"
|
"1328000"
|
||||||
],
|
],
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
|
@ -713,6 +716,7 @@
|
||||||
"Values": [
|
"Values": [
|
||||||
"50",
|
"50",
|
||||||
"32",
|
"32",
|
||||||
|
"15",
|
||||||
"30",
|
"30",
|
||||||
"20",
|
"20",
|
||||||
"18"
|
"18"
|
||||||
|
@ -734,8 +738,8 @@
|
||||||
"Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold",
|
"Path": "/sys/devices/system/cpu/cpufreq/policy7/sched_pixel/spc_threshold",
|
||||||
"Values": [
|
"Values": [
|
||||||
"50",
|
"50",
|
||||||
"22",
|
"20",
|
||||||
"20"
|
"22"
|
||||||
],
|
],
|
||||||
"DefaultIndex": 0
|
"DefaultIndex": 0
|
||||||
},
|
},
|
||||||
|
@ -1367,27 +1371,39 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||||
"Node": "CPUBigClusterMaxFreq",
|
"Node": "PMU_LIT_LIMIT_FREQ",
|
||||||
"Duration": 3000,
|
|
||||||
"Value": "1885000"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
|
||||||
"Node": "CPUMidClusterMaxFreq",
|
|
||||||
"Duration": 3000,
|
|
||||||
"Value": "1549000"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
|
||||||
"Node": "CPULittleClusterMaxFreq",
|
|
||||||
"Duration": 3000,
|
"Duration": 3000,
|
||||||
"Value": "1425000"
|
"Value": "1425000"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||||
"Node": "PMU_POLL",
|
"Node": "PMU_MID_LIMIT_FREQ",
|
||||||
"Duration": 3000,
|
"Duration": 3000,
|
||||||
"Value": "0"
|
"Value": "1549000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||||
|
"Node": "PMU_BIG_LIMIT_FREQ",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "1885000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||||
|
"Node": "PMU_LIT_SPC_THRESHOLD",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "40"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||||
|
"Node": "PMU_MID_SPC_THRESHOLD",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "15"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||||
|
"Node": "PMU_BIG_SPC_THRESHOLD",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "20"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue