From 41cc48dd077a9f3fbfecb77e806edbc20921c6bb Mon Sep 17 00:00:00 2001 From: Kris Chen Date: Thu, 20 May 2021 18:48:37 +0800 Subject: [PATCH] Add power hint for fingerprint Boost frequency of CPUBigCluster when running fingerprint algorithm. Bug: 197780765 Test: Enroll and authenticate fingerprint. (cherry-pick from device/google/gs101) Change-Id: I9e8e727a61f9a2679fc2a00d6e2a1dd4a6c9de99 --- powerhint.json | 12 ++++++++++++ powerhint_a0.json | 14 +++++++++++++- powerhint_a1.json | 12 ++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/powerhint.json b/powerhint.json index 846440de..79295a91 100644 --- a/powerhint.json +++ b/powerhint.json @@ -1053,6 +1053,18 @@ "Node": "GPUMinFreq", "Duration": 0, "Value": "400000" + }, + { + "PowerHint": "FP_BOOST", + "Node": "CPUBigClusterMaxFreq", + "Duration": 1000, + "Value": "9999999" + }, + { + "PowerHint": "FP_BOOST", + "Node": "CPUBigClusterMinFreq", + "Duration": 1000, + "Value": "9999999" } ] } diff --git a/powerhint_a0.json b/powerhint_a0.json index feafbef2..f1673a07 100644 --- a/powerhint_a0.json +++ b/powerhint_a0.json @@ -379,6 +379,18 @@ "Node": "DisplayWakeup", "Duration": 50, "Value": "1" - } + }, + { + "PowerHint": "FP_BOOST", + "Node": "CPUBigClusterMaxFreq", + "Duration": 1000, + "Value": "9999999" + }, + { + "PowerHint": "FP_BOOST", + "Node": "CPUBigClusterMinFreq", + "Duration": 1000, + "Value": "9999999" + } ] } diff --git a/powerhint_a1.json b/powerhint_a1.json index 6ab15f5e..3d27938c 100644 --- a/powerhint_a1.json +++ b/powerhint_a1.json @@ -439,6 +439,18 @@ "Node": "GPUMinFreq", "Duration": 0, "Value": "510000" + }, + { + "PowerHint": "FP_BOOST", + "Node": "CPUBigClusterMaxFreq", + "Duration": 1000, + "Value": "9999999" + }, + { + "PowerHint": "FP_BOOST", + "Node": "CPUBigClusterMinFreq", + "Duration": 1000, + "Value": "9999999" } ] }