MotoSM6375Devs fork
Find a file
jimmyshiu 523949c628
sm6375-common: power-libperfmgr: ADPF: optimize the wakeup performance and fix unstable boost.
Optimize boost:
A more efficient way is to trigger the wakeup boost through mTidSessionListMap, so the time
   complexity reduce from O(n^3) to O(n^2).

The original code path:
  PSM:wakeSessions() contains a loop that is O(n),
  inside the loop, it calls to PHS::wakeup() which call to
  PSM::setUclampMinLocked(), and
  PSM::setUclampMinLocked() contains two loops O(n^2)

The new code path:
  PSM::wakeSessions() directly checks all the ADPF tasks O(n) and
  get the wakeup boost value O(n), then directly set the uclamp.min
  The time complexity lower to O(n^2).

Fix unstable boost:
The original flow is to find max boost and wake it up from stale state
one by one. But the previous woken ones would not be counted when the later ones finding their max boost value.
The new flow boost all the tasks first, then wake up all those sessions.

Bug: 235510337
Test: Manually playing UIBench -> Transitions -> ActivityTransition
Change-Id: I995673b74401e198eb72188134ba1ebc134f971c
2024-07-18 20:16:00 +05:30
audio/sku_holi sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
bootctrl sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
configs sm6375-common: Remove QTI perfd 2024-07-18 20:16:00 +05:30
gps sm7325-common: gps: Don't include cutils/threads.h 2024-03-10 19:24:42 -04:00
gpt-utils sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
livedisplay sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
location sm7325-common: update location to LA.UM.9.14.r1-20000-LAHAINA.QSSI13.0 2022-09-29 22:21:28 -04:00
media sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
overlay-lineage sm7325-common: overlay: Configure aux camera for Aperture 2024-01-24 02:02:54 +00:00
power-libperfmgr sm6375-common: power-libperfmgr: ADPF: optimize the wakeup performance and fix unstable boost. 2024-07-18 20:16:00 +05:30
recovery sm7325-common: rootdir: import device specific recovery.rc 2023-02-08 19:14:29 +01:00
resource-overlay sm6375-common: overlay: Drop 6GHz band support 2024-07-16 12:56:42 +05:30
rootdir sm6375-common: init: Drop I/O prefetcher 2024-07-18 20:16:00 +05:30
sepolicy sm6375-common: sepolicy: Allow hal_health_default to access sysfs 2024-07-16 12:56:42 +05:30
wifi sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
Android.bp sm8250-common: import bootctrl from LA.UM.9.12.r1-13800-SMxx50.0 2022-02-18 13:27:05 +01:00
Android.mk sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
BoardConfigCommon.mk sm6375-common: Adjust kernel cmdline for moto_sm6375 2024-07-16 12:56:42 +05:30
common.mk sm6375-common: Build power-libperfmgr 2024-07-18 20:16:00 +05:30
compatibility_matrix.xml sm7325-common: Update blobs from DUBAI_RETAIL_13_T1RD33.116-33-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC 2023-06-09 22:41:45 -06:00
config.fs sm8250-common: config.fs: add moto GIDs 2022-02-17 11:32:41 +01:00
device_framework_matrix.xml sm6375-common: FCM: Add missing radio entries 2024-07-16 12:56:42 +05:30
extract-files.sh sm7325-common: Add Motorola info dump script 2023-12-26 22:15:44 -07:00
framework_manifest.xml sm7325-common: Update blobs from DUBAI_RETAIL_13_T1RD33.116-33-3_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC 2023-06-09 22:41:45 -06:00
lineage.dependencies sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
manifest.xml sm6375-common: init: Drop I/O prefetcher 2024-07-18 20:16:00 +05:30
odm.prop sm8250-common: add common properties from RRA31.Q3-19-19 2022-02-16 23:30:51 +01:00
product.prop sm7325-common: Move BT profiles props to vendor 2022-09-29 22:21:16 -04:00
proprietary-files.txt sm6375-common: init: Drop I/O prefetcher 2024-07-18 20:16:00 +05:30
setup-makefiles.sh sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
system.prop sm7325-common: Fix property SELinux denials 2024-04-30 22:55:50 -06:00
update-sha1sums.py sm7325-common => sm6375-common 2024-07-03 12:56:42 +05:30
vendor.prop sm6375-common: Disable HDR related props 2024-07-16 12:56:42 +05:30