powerhint: raise cam.uclamp_min to 250 during CAMERA_STREAMING_EXTREME

Increase the minimum operating frequency of the cam group to mitigate mutex contention and thereby reduce frame drops during 240fps slow-motion recording.

This solution synchronize from ag/25825179.

Test: GCA, CTS
Bug: 315422971
Change-Id: I8ab72ef5980edf881c034789d947dc578659cbe2
This commit is contained in:
Mao Lee 2024-01-23 03:37:59 +00:00
parent bc0894c4a3
commit cadc77d9b5
3 changed files with 21 additions and 0 deletions

View file

@ -297,6 +297,7 @@
"Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [
"765",
"250",
"0"
],
"ResetOnInit": true
@ -1636,6 +1637,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CAMUClampBoost",
"Duration": 0,
"Value": "250"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "PMU_LIT_LIMIT_FREQ",

View file

@ -283,6 +283,7 @@
"Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [
"765",
"250",
"0"
],
"ResetOnInit": true
@ -1497,6 +1498,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CAMUClampBoost",
"Duration": 0,
"Value": "250"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "PMU_LIT_LIMIT_FREQ",

View file

@ -297,6 +297,7 @@
"Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [
"765",
"250",
"0"
],
"ResetOnInit": true
@ -1540,6 +1541,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CAMUClampBoost",
"Duration": 0,
"Value": "250"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "PMU_LIT_LIMIT_FREQ",