sm6375-common: power-libperfmgr: add PowerHintSession for ADPF implementation

Adapted from PoC from ag/13100800

Added more ATRACE for further tuning and debug

Test: APPPID=$(adb shell pidof com.prefabulated.touchlatency); watch -n
      1 adb shell grep uclamp /proc/${APPPID}/sched
Test: atest VtsHalPowerTargetTest
Bug: 177492680
Change-Id: I6bfd61b21dc1cde04f6ba9ae8d3533cd263ad814
Signed-off-by: Wei Wang <wvw@google.com>
This commit is contained in:
Jimmy Shiu 2024-07-18 20:16:00 +05:30 committed by Anand S
commit 8ac355cf49
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
6 changed files with 55 additions and 10 deletions

View file

@ -20,7 +20,8 @@ cc_binary {
vintf_fragments: ["android.hardware.power-service.moto_sm6375.xml"],
vendor: true,
shared_libs: [
"android.hardware.power-V1-ndk_platform",
"android.hardware.power-V2-ndk_platform",
"libadpf-pixel",
"libbase",
"libcutils",
"liblog",