| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This avoids some lagging scenarios
Change-Id: Ia588b983279fcd6ef2aca99e7aafa5cd8793205e
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, the launch boost perflock is held for a fixed duration, either
specified in perfboostsconfig.xml for perf HAL platforms or hardcoded in the
powerHAL for non-perf HAL platforms.
Using a fixed duration for this perflock has two shortcomings:
* perflock can be held for too long, causing the CPU freq and other resources
to be boosted for too long even if the application has finished launching,
resulting in excessive battery drainage
* perflock can be held not long enough if it takes more than the timeout
time to finish launch
The framework sends out a powerhint for both when launch starts and when
launch ends. The launch finish hint can be used to signal when to release the
perflock.
Reference: Wahoo power-libperfmgr
Change-Id: I405cc453c5f58d9fb2583b9c6017f3964a0ce024
|
|
|
|
|
|
|
| |
* This restores the behavior in AOSP and CAF power HAL to avoid
confusion.
Change-Id: I72f5bb9286e2f57121e39eea82d2fe8854989393
|
|
|
|
|
|
| |
time.h isnt included by default when vndk is enabled.
Change-Id: I949ed271d7e7ed31e186019b0289299c1c8ff940
|
|
|
|
|
|
|
|
|
|
|
| |
This effectively reverts commit 0ef4cb429ff3d42e8f8bd27d749ecd80f2911dc5.
Users (including myself) noticed some laggy behaviour.
The patch reverts to some more oomph at launch time, trying for a
compromise between performance and power saving.
Change-Id: I2d07686a131dcb75c9e590d99764d2a650cae507
|
|
|
|
|
|
|
|
|
| |
* Make sure current_power_profile reflects actual setting.
* Propagate error condition up to caller.
* Handle error from set_power_profile in power_hint_override.
Change-Id: I8518d921a94c912c75f59fbf993a8f44116bdca9
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
|
|
|
|
|
| |
Change-Id: Ic6dbe8511d694be0c0883f3052c612aa0a30c581
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
|
|
|
|
|
|
|
| |
* kernel governor is doing well by itself, but thanks all the same
Change-Id: I64fa61a1d8ff0f20bac9e5c32c56b031570a564f
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
|
|
|
|
|
|
|
|
|
|
| |
* 1,1 GHz min freq is more than enough for interactive boost on apq8084
* default duration is unnecessarily long, reduce to 200 ms
* 1,5 GHz min freq on 2 CPUs for 1 sec is entirely sufficient for
launch action
Change-Id: I5e51267ed32a3e50899627e4281321820fac237f
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
|
|
|
|
|
|
|
|
|
|
| |
* express interactive boost frequencies as descriptive symbolic values
rather than arbitrary hex numbers
* express durations as descriptive symbolic values rather than just
numbers in the code
Change-Id: I47a92bd4c9b0b86ae0444d87345daf4e94d56126
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
profile_power_save: 2 cores max freq 1,2GHz
profile_bias_power: 2 cores max freq 2,4GHz
profile_bias_performance: 4 cores min freq 1,2GHz (2 active)
profile_high_performance: 4 cores min freq 1,5GHz (4 active)
- rearranged profiles in ascending order
- fixed typo in profile_bias_performance
Change-Id: I6f5d34e797c4f1f7ce9f7344f7f489c40debd094
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Cleanup SoC specific files:
- Fix code spacing and indentation
- Remove dead code
- Remove useless comments
- Remove useless logs
- Make code uniform between the files so it's easier to diff
- Use declared enums when possible for power hints
Change-Id: Ie1378c94c53b33299927c5eb1bfc19f1a42b8743
|
|
|
|
|
|
| |
* Based on msm8974 HAL.
Change-Id: I88ce707b022f7b122ad7a2fcfc67fde0075d7e7a
|
|
|
|
|
|
| |
* Don't copy paste the same governor check code multiple times
Change-Id: I1586a764ee617814c18fc68bf1aef868c480fe83
|
|
|
|
|
|
|
|
| |
- Remove 8084 check as all 8084s make use of the display boost
- Convert the display_boost check to an soc_id check for 8974pro
- Move display_boost (now soc_id) check to 8974's HAL
Change-Id: I237b9108e666f4cb0051d1c1bb22453d55ffcdc7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check for whether the display hint has been sent at the start
of the set_interactive() function in the common powerHAL.
This gets rid of the need to replicate the same variable in
every target-specific powerHAL that implements the
set_interactive_override() function.
Also remove the unnecessary saved_interactive_mode variable
used by the msm-dcvs governor; its function is superseded by
the variable display_hint_sent.
Change-Id: If7dd11fcb578211f4f83847f9257232c4138ce53
|
|
|
|
|
|
|
|
|
| |
The common macro was introduced in the commit:
8fe35cc7dd88bbb82a7732591fac4b8ecd935970
So use it.
Change-Id: Ie47d0e6b91b7bba378b0fdf53a345a021b0c2d48
|
|
|
|
| |
Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
|
|
|
|
| |
Change-Id: If45b59915022b563d4c5c9bf454b02b431a97833
|
|
This change is specific to 8084 and has been
modeled based on 8974 pro changes. Use PerfLock
to keep two cores online when the display is on.
Change-Id: Iffea0f9afbb3743cec2804da5884ec6d977b662a
|