android_device_motorola_sm6.../power-libperfmgr
Jimmy Shiu e395871686
sm6375-common: power-libperfmgr: ADPF: make uclamp.min stable
Considering the previous uclamp.min value is the base of PID output.
Instead of:
  `next_min = std::min(sUclampMinHighLimit, output);`
We should use:
  `next_min = std::min(sUclampMinHighLimit, current_min + output);`

When session status entered stale state, set the uclamp to 0, but keep
the current_min. That would be helpful for boosting the heavy workload
of the first few frames.

Bug: 204444691
Test: build && manual test

Change-Id: Idb19e2bfd8e9522fae5fd452b1fcc58786e96e65
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: Add global debug property for override config path properly 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: Make HintManager a singleton class 2024-07-18 20:16:00 +05:30
Power.h sm6375-common: power-libperfmgr: Make HintManager a singleton class 2024-07-18 20:16:00 +05:30
PowerExt.cpp sm6375-common: power-libperfmgr: Make HintManager a singleton class 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: make uclamp.min stable 2024-07-18 20:16:00 +05:30
PowerHintSession.h sm6375-common: power-libperfmgr: ADPF: make uclamp.min stable 2024-07-18 20:16:00 +05:30
PowerSessionManager.cpp sm6375-common: power-libperfmgr: Make HintManager a singleton class 2024-07-18 20:16:00 +05:30
PowerSessionManager.h sm6375-common: power-libperfmgr: Make HintManager a singleton class 2024-07-18 20:16:00 +05:30
service.cpp sm6375-common: power-libperfmgr: Make HintManager a singleton class 2024-07-18 20:16:00 +05:30