From 8ef3f6cc0265f0eb69a95779f8456a57b15e93a1 Mon Sep 17 00:00:00 2001 From: Ethan Lin Date: Mon, 5 Jul 2021 17:21:52 +0800 Subject: [PATCH] Modify GCA_CAMERA_SHOT power hints for better performance. CAMERA_STREAMING has the setting "TAPreferHighCap=1". GCA_CAMERA_SHOT should set "TAPreferHighCap=1" as well in case user leaves the viewfinder. We could get better performance with "HighCapacityStartCpu=6". Bug: 192534118 Test: manual R4 Change-Id: I85c77ac1ccc2176312b54a6acdd37df55a658f04 --- powerhint.json | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/powerhint.json b/powerhint.json index 68a25b1d..63414b1d 100644 --- a/powerhint.json +++ b/powerhint.json @@ -429,6 +429,12 @@ "Duration": 1000, "Value": "664000" }, + { + "PowerHint": "GCA_CAMERA_SHOT_BIGCPU", + "Node": "TAPreferHighCap", + "Duration": 3000, + "Value": "1" + }, { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU", "Node": "CPUBigClusterMaxFreq", @@ -441,6 +447,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU", + "Node": "TAPreferHighCap", + "Duration": 3000, + "Value": "1" + }, { "PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU", "Node": "CPUBigClusterMaxFreq", @@ -465,6 +477,12 @@ "Duration": 3000, "Value": "9999999" }, + { + "PowerHint": "GCA_CAMERA_SHOT_ALLCPU", + "Node": "TAPreferHighCap", + "Duration": 3000, + "Value": "1" + }, { "PowerHint": "GCA_CAMERA_SHOT_ALLCPU", "Node": "CPUBigClusterMaxFreq", @@ -639,12 +657,6 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "HighCapacityStartCpu", - "Duration": 0, - "Value": "4" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "CPUBigClusterMaxFreq",