Use powerhint to increase mem, intcam, tnr clock when camera lunch to am: 2e92edf1be am: 0f4eea7705 am: afe5119bd7

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

Change-Id: I8fbcf44b3103ccd853feded72f02199a07f33e05
This commit is contained in:
Yu(Swim) Chih Ren 2021-06-09 05:20:44 +00:00 committed by Automerger Merge Worker
commit 6d602679c3

View file

@ -188,6 +188,24 @@
""
],
"Type": "Property"
},
{
"Name": "INTCAMFreq",
"Path": "/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq",
"Values": [
"664000",
"67000"
],
"ResetOnInit": true
},
{
"Name": "TNRFreq",
"Path": "/sys/devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/min_freq",
"Values": [
"664000",
"67000"
],
"ResetOnInit": true
}
],
"Actions": [
@ -321,6 +339,24 @@
"Duration": 0,
"Value": "2"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
"Duration": 1000,
"Value": "3172000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "INTCAMFreq",
"Duration": 1000,
"Value": "664000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "TNRFreq",
"Duration": 1000,
"Value": "664000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUBigClusterMaxFreq",