Relax PMU capping during CAMERA_ZOOMING_BOOST am: 137a4098bd am: c46cea4bdb

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

Change-Id: Ib320b689a45882ddcd2c4f6c0717fd43298c6daf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ali K. Zadeh 2023-07-27 03:11:55 +00:00 committed by Automerger Merge Worker
commit 11fc1d2adf
3 changed files with 90 additions and 6 deletions

View file

@ -298,9 +298,10 @@
"Name": "CDPreferIdle", "Name": "CDPreferIdle",
"Path": "/proc/vendor_sched/cam_prefer_idle", "Path": "/proc/vendor_sched/cam_prefer_idle",
"Values": [ "Values": [
"0", "1",
"1" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -652,6 +653,7 @@
"Name": "PMU_LIT_SPC_THRESHOLD", "Name": "PMU_LIT_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"70", "70",
"42", "42",
"35", "35",
@ -683,6 +685,7 @@
"Name": "PMU_MID_SPC_THRESHOLD", "Name": "PMU_MID_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"50", "50",
"30", "30",
"20", "20",
@ -712,6 +715,7 @@
"Name": "PMU_BIG_SPC_THRESHOLD", "Name": "PMU_BIG_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"50", "50",
"22", "22",
"20" "20"
@ -1194,6 +1198,30 @@
"Duration": 1000, "Duration": 1000,
"Value": "664000" "Value": "664000"
}, },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "CDPreferIdle",
"Duration": 100,
"Value": "1"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_BIG_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",

View file

@ -281,9 +281,10 @@
"Name": "CDPreferIdle", "Name": "CDPreferIdle",
"Path": "/proc/vendor_sched/cam_prefer_idle", "Path": "/proc/vendor_sched/cam_prefer_idle",
"Values": [ "Values": [
"0", "1",
"1" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -635,6 +636,7 @@
"Name": "PMU_LIT_SPC_THRESHOLD", "Name": "PMU_LIT_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"70", "70",
"42", "42",
"35", "35",
@ -666,6 +668,7 @@
"Name": "PMU_MID_SPC_THRESHOLD", "Name": "PMU_MID_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"50", "50",
"30", "30",
"20", "20",
@ -695,6 +698,7 @@
"Name": "PMU_BIG_SPC_THRESHOLD", "Name": "PMU_BIG_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"50", "50",
"22", "22",
"20" "20"
@ -1131,6 +1135,30 @@
"Duration": 1000, "Duration": 1000,
"Value": "664000" "Value": "664000"
}, },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "CDPreferIdle",
"Duration": 100,
"Value": "1"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_BIG_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",

View file

@ -288,9 +288,10 @@
"Name": "CDPreferIdle", "Name": "CDPreferIdle",
"Path": "/proc/vendor_sched/cam_prefer_idle", "Path": "/proc/vendor_sched/cam_prefer_idle",
"Values": [ "Values": [
"0", "1",
"1" "0"
], ],
"DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -652,6 +653,7 @@
"Name": "PMU_LIT_SPC_THRESHOLD", "Name": "PMU_LIT_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"70", "70",
"42", "42",
"35", "35",
@ -683,6 +685,7 @@
"Name": "PMU_MID_SPC_THRESHOLD", "Name": "PMU_MID_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy4/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"50", "50",
"30", "30",
"20", "20",
@ -712,6 +715,7 @@
"Name": "PMU_BIG_SPC_THRESHOLD", "Name": "PMU_BIG_SPC_THRESHOLD",
"Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold", "Path": "/sys/devices/system/cpu/cpufreq/policy8/sched_pixel/spc_threshold",
"Values": [ "Values": [
"100",
"50", "50",
"22", "22",
"20" "20"
@ -1194,6 +1198,30 @@
"Duration": 1000, "Duration": 1000,
"Value": "664000" "Value": "664000"
}, },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "CDPreferIdle",
"Duration": 100,
"Value": "1"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_LIT_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_MID_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_BIG_SPC_THRESHOLD",
"Duration": 100,
"Value": "100"
},
{ {
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU", "PowerHint": "GCA_CAMERA_SHOT_BIGCPU",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",