Add GCA_CAMERA_SHOT power hint.
GCA need intensive processing for camera shot and need to tune the
system performance to speed up the processing time. Adds
GCA_CAMERA_SHOT_{BIGCPU/BIGMIDCPU/ALLCPU} power hints to enable GCA to do
adequate power hint for this situation.
Bug: 187373665
Test: On device with GCA: b/187373665#comment8 with forrest.
Change-Id: Ife75e52a60de4d67369280998b193fe3ca7f8173
diff --git a/powerhint.json b/powerhint.json
index 7853846..8dbf2e6 100644
--- a/powerhint.json
+++ b/powerhint.json
@@ -447,6 +447,78 @@
"Value": "9999999"
},
{
+ "PowerHint": "GCA_CAMERA_SHOT_BIGCPU",
+ "Node": "CPUBigClusterMaxFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_BIGCPU",
+ "Node": "CPUBigClusterMinFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
+ "Node": "CPUBigClusterMaxFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
+ "Node": "CPUBigClusterMinFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
+ "Node": "CPUMidClusterMaxFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
+ "Node": "CPUMidClusterMinFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
+ "Node": "CPUBigClusterMaxFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
+ "Node": "CPUBigClusterMinFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
+ "Node": "CPUMidClusterMaxFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
+ "Node": "CPUMidClusterMinFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
+ "Node": "CPULittleClusterMaxFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
+ "PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
+ "Node": "CPULittleClusterMinFreq",
+ "Duration": 3000,
+ "Value": "9999999"
+ },
+ {
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,