From 27528a54d81757ba1146ccc7dab3d1718f9fb21b Mon Sep 17 00:00:00 2001 From: Sung-fang Tsai Date: Sat, 22 May 2021 08:27:17 +0000 Subject: [PATCH] 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 --- powerhint.json | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/powerhint.json b/powerhint.json index 78538461..8dbf2e65 100644 --- a/powerhint.json +++ b/powerhint.json @@ -446,6 +446,78 @@ "Duration": 1000, "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",