Disable auto prefer idle explictly for some conditions am: db08208ae5

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

Change-Id: I28784440c757ca8a12bbc6db4df4797afba38a26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Rick Yiu 2024-04-10 07:53:45 +00:00 committed by Automerger Merge Worker
commit 5929f0ebdc

View file

@ -213,6 +213,16 @@
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "AutoPreferIdle",
"Path": "/proc/vendor_sched/auto_prefer_idle",
"Values": [
"0",
"1"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{ {
"Name": "BigClusterPowerDownTargetResidency", "Name": "BigClusterPowerDownTargetResidency",
"Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl2_target_residency", "Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl2_target_residency",
@ -829,6 +839,12 @@
"Duration": 5000, "Duration": 5000,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "LAUNCH",
"Node": "AutoPreferIdle",
"Duration": 5000,
"Value": "0"
},
{ {
"PowerHint": "LAUNCH_GPU", "PowerHint": "LAUNCH_GPU",
"Node": "GPUDvfsPeriod", "Node": "GPUDvfsPeriod",
@ -1012,6 +1028,12 @@
"Duration": 2000, "Duration": 2000,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "AutoPreferIdle",
"Duration": 2000,
"Value": "0"
},
{ {
"PowerHint": "LAUNCH_PMU", "PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL", "Node": "PMU_POLL",
@ -1089,6 +1111,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "AutoPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "DISPLAY_INACTIVE", "PowerHint": "DISPLAY_INACTIVE",
"Node": "FGPreferIdle", "Node": "FGPreferIdle",
@ -1179,6 +1207,12 @@
"Duration": 1000, "Duration": 1000,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "AutoPreferIdle",
"Duration": 1000,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_LAUNCH", "PowerHint": "CAMERA_LAUNCH",
"Node": "FGCpuset", "Node": "FGCpuset",
@ -1299,6 +1333,12 @@
"Duration": 100, "Duration": 100,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "AutoPreferIdle",
"Duration": 100,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_ZOOMING_BOOST", "PowerHint": "CAMERA_ZOOMING_BOOST",
"Node": "PMU_POLL", "Node": "PMU_POLL",
@ -1605,6 +1645,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "AutoPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_EXTREME", "PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDHighCpusetCpus", "Node": "CDHighCpusetCpus",
@ -1767,6 +1813,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "AutoPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CDHighCpusetCpus", "Node": "CDHighCpusetCpus",
@ -1803,6 +1855,12 @@
"Duration": 0, "Duration": 0,
"Value": "700000" "Value": "700000"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "AutoPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning", "Node": "PowerHALCameraRunning",
@ -1947,6 +2005,12 @@
"Duration": 0, "Duration": 0,
"Value": "camera" "Value": "camera"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "AutoPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_LOW", "PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUDVFSHeadroom", "Node": "CPUDVFSHeadroom",
@ -2061,6 +2125,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "AutoPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL", "PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
"Node": "CDPreferIdle", "Node": "CDPreferIdle",
@ -2632,6 +2702,12 @@
"Duration": 0, "Duration": 0,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "GAME",
"Node": "AutoPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "FGPreferIdle", "Node": "FGPreferIdle",