sm6375-common: power-libperfmgr: ADPF: Use Adpf Profile for PID tunnables
1. Use Adpf Profile to replace system-property-based PID tunnables. 2. Add a tunable for switch PID on/off 3. Switch Adpf Profile by hint name (ex: REFRESH_120FPS) Bug: 202158746 Bug: 204444691 Bug: 206061061 Test: Build Change-Id: Ia673a6bf64d40128ca1797d1e26fe564b3b35ff1
This commit is contained in:
parent
e395871686
commit
362ddc9bd3
7 changed files with 123 additions and 150 deletions
|
|
@ -44,6 +44,9 @@ void PowerSessionManager::updateHintMode(const std::string &mode, bool enabled)
|
|||
mDisplayRefreshRate = 60;
|
||||
}
|
||||
}
|
||||
if (HintManager::GetInstance()->GetAdpfProfile()) {
|
||||
HintManager::GetInstance()->SetAdpfProfile(mode);
|
||||
}
|
||||
}
|
||||
|
||||
int PowerSessionManager::getDisplayRefreshRate() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue