Use cam3 EM, and change CPU UtilThreshold, DVFSHeadroom, TAPreferHighCap for 30fps

This CL implements the suggestions in http://b/311011064#comment8 (except
for chaning the node affinities) for 30fps use-cases.

Bug: 311011064
Test: odpm/framedrops (http://b/311011064#comment25)
Change-Id: I62274049b2096353f9fe3c972338ed47fb99380b
This commit is contained in:
Ali K. Zadeh 2024-01-09 19:00:32 +00:00
parent 2f87ee127e
commit 456150ae9d
5 changed files with 100 additions and 25 deletions

View file

@ -235,7 +235,8 @@
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1100 1024 1100"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -245,7 +246,8 @@
"Path": "/proc/vendor_sched/dvfs_headroom", "Path": "/proc/vendor_sched/dvfs_headroom",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1280 1100 1055"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -621,7 +623,8 @@
"Values": [ "Values": [
"default", "default",
"cam1", "cam1",
"cam2" "cam2",
"cam3"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -1849,7 +1852,19 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "EM_Profile", "Node": "EM_Profile",
"Duration": 0, "Duration": 0,
"Value": "cam1" "Value": "cam3"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1100 1024 1100"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1280 1100 1055"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1867,7 +1882,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "0"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",

View file

@ -235,7 +235,8 @@
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1100 1024 1100"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -245,7 +246,8 @@
"Path": "/proc/vendor_sched/dvfs_headroom", "Path": "/proc/vendor_sched/dvfs_headroom",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1280 1100 1055"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -621,7 +623,8 @@
"Values": [ "Values": [
"default", "default",
"cam1", "cam1",
"cam2" "cam2",
"cam3"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -1849,7 +1852,19 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "EM_Profile", "Node": "EM_Profile",
"Duration": 0, "Duration": 0,
"Value": "cam1" "Value": "cam3"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1100 1024 1100"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1280 1100 1055"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1867,7 +1882,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "0"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",

View file

@ -235,7 +235,8 @@
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1100 1024 1100"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -245,7 +246,8 @@
"Path": "/proc/vendor_sched/dvfs_headroom", "Path": "/proc/vendor_sched/dvfs_headroom",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1280 1100 1055"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -621,7 +623,8 @@
"Values": [ "Values": [
"default", "default",
"cam1", "cam1",
"cam2" "cam2",
"cam3"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -1849,7 +1852,19 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "EM_Profile", "Node": "EM_Profile",
"Duration": 0, "Duration": 0,
"Value": "cam1" "Value": "cam3"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1100 1024 1100"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1280 1100 1055"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1867,7 +1882,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "0"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",

View file

@ -235,7 +235,8 @@
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1100 1024 1100"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -245,7 +246,8 @@
"Path": "/proc/vendor_sched/dvfs_headroom", "Path": "/proc/vendor_sched/dvfs_headroom",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1280 1100 1055"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -621,7 +623,8 @@
"Values": [ "Values": [
"default", "default",
"cam1", "cam1",
"cam2" "cam2",
"cam3"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -1849,7 +1852,19 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "EM_Profile", "Node": "EM_Profile",
"Duration": 0, "Duration": 0,
"Value": "cam1" "Value": "cam3"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1100 1024 1100"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1280 1100 1055"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1867,7 +1882,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "0"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",

View file

@ -246,7 +246,8 @@
"Path": "/proc/vendor_sched/util_threshold", "Path": "/proc/vendor_sched/util_threshold",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1100 1024 1100"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -256,7 +257,8 @@
"Path": "/proc/vendor_sched/dvfs_headroom", "Path": "/proc/vendor_sched/dvfs_headroom",
"Values": [ "Values": [
"1280", "1280",
"1100" "1100",
"1280 1100 1055"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -631,7 +633,8 @@
"Values": [ "Values": [
"default", "default",
"cam1", "cam1",
"cam2" "cam2",
"cam3"
], ],
"DefaultIndex": 0 "DefaultIndex": 0
}, },
@ -1859,7 +1862,19 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "EM_Profile", "Node": "EM_Profile",
"Duration": 0, "Duration": 0,
"Value": "cam1" "Value": "cam3"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUUtilThreshold",
"Duration": 0,
"Value": "1100 1024 1100"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUDVFSHeadroom",
"Duration": 0,
"Value": "1280 1100 1055"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
@ -1877,7 +1892,7 @@
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "TAPreferHighCap", "Node": "TAPreferHighCap",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "0"
}, },
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",