Camera: Enable optimized TNR frequency and create TNR low power hint.
Bug: 298595475 Test: adb shell cat cur_freq, GCA, CTS Change-Id: I3561ad6a49dd0a10374ba991b73689ae3f85ff96
This commit is contained in:
parent
9e717a6017
commit
b56fbef0af
2 changed files with 18 additions and 1 deletions
|
@ -64,8 +64,9 @@ PRODUCT_COPY_FILES += \
|
||||||
device/google/akita/media_profiles_akita.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
device/google/akita/media_profiles_akita.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
|
||||||
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
persist.vendor.camera.extended_launch_boost=1 \
|
|
||||||
persist.vendor.camera.adjust_backend_min_freq_for_video_120fps=1 \
|
persist.vendor.camera.adjust_backend_min_freq_for_video_120fps=1 \
|
||||||
|
persist.vendor.camera.extended_launch_boost=1 \
|
||||||
|
persist.vendor.camera.optimized_tnr_freq=1 \
|
||||||
vendor.camera.debug.enable_software_post_sharpen_node=false \
|
vendor.camera.debug.enable_software_post_sharpen_node=false \
|
||||||
vendor.camera.allow_sensor_binning_aspect_ratio_to_override_itp_output=false
|
vendor.camera.allow_sensor_binning_aspect_ratio_to_override_itp_output=false
|
||||||
|
|
||||||
|
|
|
@ -430,6 +430,16 @@
|
||||||
],
|
],
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "TNRMaxFreq",
|
||||||
|
"Path": "/sys/devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/max_freq",
|
||||||
|
"Values": [
|
||||||
|
"664000",
|
||||||
|
"111000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "TNRFreq",
|
"Name": "TNRFreq",
|
||||||
"Path": "/sys/devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/min_freq",
|
"Path": "/sys/devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/min_freq",
|
||||||
|
@ -1909,6 +1919,12 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "302000"
|
"Value": "302000"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_TNR_LOW",
|
||||||
|
"Node": "TNRMaxFreq",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "111000"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_ADJUST_BACKEND_MIN_FREQ",
|
"PowerHint": "CAMERA_ADJUST_BACKEND_MIN_FREQ",
|
||||||
"Node": "INTCAMFreq",
|
"Node": "INTCAMFreq",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue