From 62542ec65031c1cdf2e973c0d6eca3518d5f986c Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Mon, 17 Jun 2024 16:30:57 -0700 Subject: [PATCH] powerhint: Explicitly set DownRateLimitUs for camera So that we can change the default values without impacting it. Bug: 315748906powerhint: Explicitly set DownRateLimitUs for camera So that we can change the default values without impacting it. Bug: 315748906 Test: build Flag: NONE powerhint change does not support flags (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9084165d0d0f699f7cc3968dded4f71d4ec20a92) Merged-In: Ic14d51f0b5b512f5557d904d682e9f934bbab87f Change-Id: Ic14d51f0b5b512f5557d904d682e9f934bbab87f --- powerhint-comet.json | 90 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/powerhint-comet.json b/powerhint-comet.json index bf28c03..c1fc0ae 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -1936,6 +1936,24 @@ "Duration": 0, "Value": "cam2" }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_EXTREME", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "CPUDVFSHeadroom", @@ -2074,6 +2092,24 @@ "Duration": 0, "Value": "cam2" }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUUtilThreshold", @@ -2236,6 +2272,24 @@ "Duration": 0, "Value": "1100 1024 1100" }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_STANDARD", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CPUDVFSHeadroom", @@ -2314,6 +2368,24 @@ "Duration": 0, "Value": "0" }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_STREAMING_LOW", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "CPUDVFSHeadroom", @@ -3125,6 +3197,24 @@ "Duration": 2000, "Value": "44" }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPULittleClusterDownRateLimitUs", + "Duration": 0, + "Value": "5000" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPUMidClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, + { + "PowerHint": "CAMERA_PROJECT11", + "Node": "CPUBigClusterDownRateLimitUs", + "Duration": 0, + "Value": "20000" + }, { "PowerHint": "CAMERA_PROJECT11", "Node": "AutoPreferIdle",