From 5ad5691747c894e9840468ed626a8bbf62605f8e Mon Sep 17 00:00:00 2001 From: "Chih-ren Yu (Swim)" Date: Wed, 9 Nov 2022 16:11:26 +0000 Subject: [PATCH 1/2] Enable the flag to increase thread priority for nodes stop Bug: 259635909 Test: 1. use 'adb shell getprop persist.vendor.camera.increase_thread_priority_nodes_stop' to confirm the property is default set 2. Camera Checklist 3. CTS performance test Change-Id: I839b75d163d320c7aa4e17ce98bfe8a497372ba7 --- device-felix.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-felix.mk b/device-felix.mk index 01dc282..786d2db 100644 --- a/device-felix.mk +++ b/device-felix.mk @@ -285,6 +285,10 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \ persist.camera.redact_exif=1 +# Increase thread priority for nodes stop +PRODUCT_VENDOR_PROPERTIES += \ + persist.vendor.camera.increase_thread_priority_nodes_stop=true + ##Audio Vendor property PRODUCT_PROPERTY_OVERRIDES += \ persist.vendor.audio.cca.enabled=true From 4c1de0629fe8b1113f495cf0c9ece5ba4b51f330 Mon Sep 17 00:00:00 2001 From: "Chih-ren Yu (Swim)" Date: Wed, 9 Nov 2022 16:15:09 +0000 Subject: [PATCH 2/2] Don't set the min CPU frequency to max frequency for CAMERA_SHOT Bug: 258444667 Test: 1. 3rd party APP snapshot, GCA live video shot 2. Camera Check list Change-Id: Ib01ea173e8b8ee1fe9c9622422dd9aad3236cf46 --- powerhint.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/powerhint.json b/powerhint.json index 452de0a..5ffb012 100644 --- a/powerhint.json +++ b/powerhint.json @@ -811,7 +811,7 @@ "PowerHint": "CAMERA_SHOT", "Node": "CPUBigClusterMinFreq", "Duration": 300, - "Value": "9999999" + "Value": "1826000" }, { "PowerHint": "CAMERA_SHOT", @@ -823,7 +823,7 @@ "PowerHint": "CAMERA_SHOT", "Node": "CPUMidClusterMinFreq", "Duration": 300, - "Value": "9999999" + "Value": "1836000" }, { "PowerHint": "CAMERA_BACKEND_BOOST",