power-libperfmgr: Set min MIF freq for 1st frame
Give the first frame minimum mif freq to avoid the situation that mif at lower level but memlat can't reflect the loading in time. Bug: 259275437 Bug: 263383561 Test: manual Original-Change-Id: I1dbcc23fa4a7bc2e3daf05b7cc0489a1ac5953d5 Change-Id: I2f34ba6111027832cf0e544ebc288116855c47cb Signed-off-by: Luke Chang <lukechang@google.com>
This commit is contained in:
parent
3ce1ad239c
commit
e4b318db52
1 changed files with 1 additions and 0 deletions
|
@ -364,6 +364,7 @@ ndk::ScopedAStatus PowerHintSession::sendHint(SessionHint hint) {
|
|||
ALOGE("Error: hint is invalid");
|
||||
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
|
||||
}
|
||||
setCpuLoadChangeHint(toString(hint));
|
||||
mLastUpdatedTime.store(std::chrono::steady_clock::now());
|
||||
if (ATRACE_ENABLED()) {
|
||||
mLastHintSent = static_cast<int>(hint);
|
||||
|
|
Loading…
Reference in a new issue