Эх сурвалжийг харах

disable vendor idle balancer

Camera is highly optimized in launched devices, so that we disable idle balancer to avoid influencing previous optimization.

Bug: 281489720
Change-Id: I210f5c14ec589b06e8d8e80799cf7cb650baa9c5
Signed-off-by: Chungkai Mei <[email protected]>
Chungkai Mei 1 жил өмнө
parent
commit
8b64ced3ef
1 өөрчлөгдсөн 32 нэмэгдсэн , 0 устгасан
  1. 32 0
      powerhint.json

+ 32 - 0
powerhint.json

@@ -294,6 +294,14 @@
       ],
       ],
       "ResetOnInit": true
       "ResetOnInit": true
     },
     },
+    {
+      "Name": "NewlyIdleBalancer",
+      "Path": "/proc/vendor_sched/idle_balancer",
+      "Values": [
+        "0",
+        "1"
+      ],
+    },
     {
     {
       "Name": "DisplayWakeup",
       "Name": "DisplayWakeup",
       "Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
       "Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
@@ -1083,6 +1091,12 @@
       "Duration": 0,
       "Duration": 0,
       "Value": "0"
       "Value": "0"
     },
     },
+    {
+      "PowerHint": "CAMERA_STREAMING_EXTREME",
+      "Node": "NewlyIdleBalancer",
+      "Duration": 0,
+      "Value": "0"
+    },
     {
     {
       "PowerHint": "CAMERA_STREAMING_HIGH",
       "PowerHint": "CAMERA_STREAMING_HIGH",
       "Node": "PMU_POLL",
       "Node": "PMU_POLL",
@@ -1191,6 +1205,12 @@
       "Duration": 0,
       "Duration": 0,
       "Value": "0"
       "Value": "0"
     },
     },
+    {
+      "PowerHint": "CAMERA_STREAMING_HIGH",
+      "Node": "NewlyIdleBalancer",
+      "Duration": 0,
+      "Value": "0"
+    },
     {
     {
       "PowerHint": "CAMERA_STREAMING_STANDARD",
       "PowerHint": "CAMERA_STREAMING_STANDARD",
       "Node": "PowerHALCameraRunning",
       "Node": "PowerHALCameraRunning",
@@ -1245,6 +1265,12 @@
       "Duration": 0,
       "Duration": 0,
       "Value": "0"
       "Value": "0"
     },
     },
+    {
+      "PowerHint": "CAMERA_STREAMING_STANDARD",
+      "Node": "NewlyIdleBalancer",
+      "Duration": 0,
+      "Value": "0"
+    },
     {
     {
       "PowerHint": "CAMERA_STREAMING_LOW",
       "PowerHint": "CAMERA_STREAMING_LOW",
       "Node": "PowerHALCameraRunning",
       "Node": "PowerHALCameraRunning",
@@ -1305,6 +1331,12 @@
       "Duration": 0,
       "Duration": 0,
       "Value": "0"
       "Value": "0"
     },
     },
+    {
+      "PowerHint": "CAMERA_STREAMING_LOW",
+      "Node": "NewlyIdleBalancer",
+      "Duration": 0,
+      "Value": "0"
+    },
     {
     {
       "PowerHint": "CAMERA_VIDEO_RECORDING",
       "PowerHint": "CAMERA_VIDEO_RECORDING",
       "Type": "MaskHint",
       "Type": "MaskHint",