Use powerhint to increase mem, intcam, tnr clock when camera lunch to am: 2e92edf1be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807273 Change-Id: I183ec3b71ff24eeade0198e542bd97fe6bb51353
This commit is contained in:
commit
be3aa1785f
1 changed files with 36 additions and 0 deletions
|
@ -188,6 +188,24 @@
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"Type": "Property"
|
"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": [
|
"Actions": [
|
||||||
|
@ -321,6 +339,24 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "2"
|
"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",
|
"PowerHint": "CAMERA_LAUNCH",
|
||||||
"Node": "CPUBigClusterMaxFreq",
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue