Переглянути джерело

Camera: Enable optimized TNR frequency and create TNR low power hint. am: ea20ad99c3 am: 06ff09c609

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

Change-Id: I499015ec5c49b872a144e1129ec1c51510c745e0
Signed-off-by: Automerger Merge Worker <[email protected]>
pointerkung 2 роки тому
батько
коміт
fd260a2a99
2 змінених файлів з 17 додано та 0 видалено
  1. 1 0
      device-lynx.mk
  2. 16 0
      powerhint.json

+ 1 - 0
device-lynx.mk

@@ -217,6 +217,7 @@ PRODUCT_COPY_FILES += \
 # 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
 
 # Enable camera 1080P 60FPS binning mode

+ 16 - 0
powerhint.json

@@ -342,6 +342,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",
@@ -1249,6 +1259,12 @@
       "Duration": 0,
       "Value": "302000"
     },
+    {
+      "PowerHint": "CAMERA_TNR_LOW",
+      "Node": "TNRMaxFreq",
+      "Duration": 0,
+      "Value": "67000"
+    },
     {
       "PowerHint": "FIXED_PERFORMANCE",
       "Node": "CPUBigClusterMaxFreq",