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
This commit is contained in:
Kris Chen 2021-05-20 18:48:37 +08:00
parent af8304bbe0
commit 41cc48dd07
3 changed files with 37 additions and 1 deletions

View file

@ -1053,6 +1053,18 @@
"Node": "GPUMinFreq", "Node": "GPUMinFreq",
"Duration": 0, "Duration": 0,
"Value": "400000" "Value": "400000"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMaxFreq",
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMinFreq",
"Duration": 1000,
"Value": "9999999"
} }
] ]
} }

View file

@ -379,6 +379,18 @@
"Node": "DisplayWakeup", "Node": "DisplayWakeup",
"Duration": 50, "Duration": 50,
"Value": "1" "Value": "1"
} },
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMaxFreq",
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMinFreq",
"Duration": 1000,
"Value": "9999999"
}
] ]
} }

View file

@ -439,6 +439,18 @@
"Node": "GPUMinFreq", "Node": "GPUMinFreq",
"Duration": 0, "Duration": 0,
"Value": "510000" "Value": "510000"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMaxFreq",
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "FP_BOOST",
"Node": "CPUBigClusterMinFreq",
"Duration": 1000,
"Value": "9999999"
} }
] ]
} }