android_device_motorola_sm6.../power-libperfmgr
Adithya R 431daebc40
sm6375-common: power-libperfmgr: Properly handle sustained performance mode
* when tested with [1], even after exiting the app, spm was
   still active in powerhal thereby keeping max freqs limited
   and blocking boosts

 * enable/disable it properly and end all other hints before
   enabling, to fix this issue

 * while we're at it, don't handle max freq for anything other
   than spm in powerhint

[1] https://android.googlesource.com/platform/cts/+/refs/heads/master/hostsidetests/sustainedperf

Change-Id: I6e37dfa7ffab0137d70cb5ba5d1b156133416062
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-07-18 20:16:00 +05:30
..
Android.bp sm6375-common: power-libperfmgr: aidl: Remove ndk_platform backend. Use the ndk backend. 2024-07-18 20:16:00 +05:30
android.hardware.power-service.moto_sm6375-libperfmgr.rc sm6375-common: power-libperfmgr: enable powerhint parsing after boot completion 2024-07-18 20:16:00 +05:30
android.hardware.power-service.moto_sm6375.xml sm6375-common: power-libperfmgr: add PowerHintSession for ADPF implementation 2024-07-18 20:16:00 +05:30
InteractionHandler.cpp sm6375-common: power-libperfmgr: Make HintManager a singleton class 2024-07-18 20:16:00 +05:30
InteractionHandler.h sm6375-common: power-libperfmgr: Make HintManager a singleton class 2024-07-18 20:16:00 +05:30
Power.cpp sm6375-common: power-libperfmgr: Properly handle sustained performance mode 2024-07-18 20:16:00 +05:30
Power.h sm6375-common: power-libperfmgr: Disable boosting when battery saver is on 2024-07-18 20:16:00 +05:30
PowerExt.cpp sm6375-common: power-libperfmgr: ADPF: Fix updateHintBoost blocks the binder thread 2024-07-18 20:16:00 +05:30
PowerExt.h sm6375-common: power-libperfmgr: Make HintManager a singleton class 2024-07-18 20:16:00 +05:30
PowerHintSession.cpp sm6375-common: power-libperfmgr: ADPF: fix use-after-free crash 2024-07-18 20:16:00 +05:30
PowerHintSession.h sm6375-common: power-libperfmgr: ADPF: fix use-after-free crash 2024-07-18 20:16:00 +05:30
PowerSessionManager.cpp sm6375-common: power-libperfmgr: ADPF: optimize the wakeup performance and fix unstable boost. 2024-07-18 20:16:00 +05:30
PowerSessionManager.h sm6375-common: power-libperfmgr: ADPF: Fix updateHintBoost blocks the binder thread 2024-07-18 20:16:00 +05:30
service.cpp sm6375-common: power-libperfmgr: Add minimal binder thread prio as -20 to match process prio 2024-07-18 20:16:00 +05:30