hardware_xiaomi/aidl
Jimmy Shiu 5936e4a52e power: 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
2022-11-01 11:01:16 +00:00
..
light aidl: light: Add "backlight" to the list of backlight devices 2022-09-13 22:12:24 +05:30
power-libperfmgr power: ADPF: make uclamp.min stable 2022-11-01 11:01:16 +00:00
Android.mk power-libperfmgr: Import power HAL AIDL implementation 2021-04-18 22:38:40 +01:00