Camera: Enable optimized TNR frequency and create TNR low power hint.
Bug: 250738213 Test: Build pass, GCA, 4K60 and 240fps power and performance verification Change-Id: Iaf8d37a927276f58d1aece82dd54407c76118670
This commit is contained in:
parent
f090c50e45
commit
383bee5df3
2 changed files with 17 additions and 0 deletions
|
@ -303,6 +303,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
|||
# Camera
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.vendor.camera.extended_launch_boost=1 \
|
||||
persist.vendor.camera.optimized_tnr_freq=1 \
|
||||
persist.vendor.camera.raise_buf_allocation_priority=1
|
||||
|
||||
# Bluetooth OPUS codec
|
||||
|
|
|
@ -351,6 +351,16 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TNRMaxFreq",
|
||||
"Path": "/sys/devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/max_freq",
|
||||
"Values": [
|
||||
"664000",
|
||||
"67000"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TNRFreq",
|
||||
"Path": "/sys/devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/min_freq",
|
||||
|
@ -1318,6 +1328,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "302000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_TNR_LOW",
|
||||
"Node": "TNRMaxFreq",
|
||||
"Duration": 0,
|
||||
"Value": "67000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FIXED_PERFORMANCE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue