| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: dianlujitao <dianlujitao@lineageos.org>
Date: Sat Oct 14 12:08:10 2017 +0800
power: msm8998: Support power profiles
Change-Id: I8a11aa9db00051cfaae650273d980ce5080f6567
Author: dianlujitao <dianlujitao@lineageos.org>
Date: Sat Jan 20 22:19:17 2018 +0800
power: msm8998: Fix perf mode switch
* Checking a pointer is NULL or not makes no sense, and as a result
perf mode cannot be turned off. Fix it by checking the value.
Change-Id: I4feb37da72b757631619e1aa2917f2a345a8032b
Author: dianlujitao <dianlujitao@lineageos.org>
Date: Fri Mar 2 12:40:04 2018 +0800
power: Don't advertise power profile when interaction boost disabled
* Power profile is fake news without interaction boost.
Change-Id: Iceea885e6cb176f0620e76cfc335b7da500a0c2b
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Mon Mar 26 05:21:23 2018 +0300
power: Consistent skipping of non perf profile hints
Change-Id: I9129de9046df7b922af7b32eac94167776f820cf
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Fri May 25 21:30:28 2018 +0300
power: Spring cleanup
* 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
Author: Corinna Vinschen <xda@vinschen.de>
Date: Sun Aug 26 22:11:49 2018 +0200
power: set_power_profile: handle errors
* 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>
Author: dianlujitao <dianlujitao@lineageos.org>
Date: Sat Feb 23 20:24:57 2019 +0800
power: Pass NULL parameter in powerHint if data is zero
* This restores the behavior in AOSP and CAF power HAL to avoid
confusion.
Change-Id: I72f5bb9286e2f57121e39eea82d2fe8854989393
Change-Id: I06d33afacea2e221d778a87cf81f8d89296019a9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Author: BeYkeRYkt <beykerykt@gmail.com>
Date: Thu Dec 13 06:42:35 2018 +0900
power: Handle launch and interaction hints for perf HAL platforms
* MP-CTL does not handle POWER_HINT_INTERACTION and POWER_HINT_LAUNCH
directly. Requests for processing are sent by Qualcomm BoostFramework
(QPerformance) at the framework service level. Since we do not have
BoostFramework, process POWER_HINT_INTERACTION and POWER_HINT_LAUNCH
in PowerHAL to ensure a sufficient level of performance.
* For proper operation, perfboostsconfig.xml file is required.
Change-Id: I4c67d886c9dd74ae07094d32bdffc8ef403e04e7
Author: tomascus <arbiter1000@gmail.com>
Date: Wed Feb 13 14:42:27 2019 +1100
power: don't use SCROLL_PREFILING
The current use of the SCROLL_PREFILING hint hurts scroll performance
and results in a lot of dropped frames.
The hint ID corresponding to SCROLL_PREFILING only takes into effect for
a default timeout value of 80 ms (as found in perfboostsconfig.xml),
while the duration value in the process_interaction_hint function runs
for a much longer time, from 1500 ms up to 5000 ms (bounds of
kMinFlingDuration and kMaxInteractiveDuration). During the period
of time, when the timeout value has elapsed and current time is less
than duration, another interaction hint cannot be processed. Therefore,
if the user decides to scroll during this period, high frame drops can be
experienced as the CPU freq isn't raised by processing another hint to
account for this additional scrolling.
By only using SCROLL_VERTICAL, fluidity can be maintained, improving user
experience.
Furthmore, kMinInteractiveDuration has been lowered to 400 ms for some
platforms as it is more than sufficient to maintain fluidity (minimal
frames dropped) while scrolling.
Change-Id: I42edd07a67c7dca43a10ae2fa1b44b64b7794b43
commit e9063a6956974a2e33652e2df0ecac991ee84c80
Author: tomascus <arbiter1000@gmail.com>
Date: Tue Feb 19 17:15:58 2019 +1100
power: Release launch boost perflock when launch is completed
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
Change-Id: I8ef6a890bc191f9504980707107750a720b50da3
|
|
|
|
|
|
|
|
| |
* Unify code style for non legacy SoCs
* Restore legacy SoC handling which used to live in power-common.c
but was removed in commit 561cffcbfa66192e839e040d2da3bff2ecf8dcac
Change-Id: Ieb84e6d6c8d762614e21267e81e6057aa64b36dd
|
|
|
|
|
|
|
| |
* Using AOSP interface .clang-format
* Clean Android.mk while we are at it
Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
|
|
|
|
|
|
| |
* No longer needed.
Change-Id: I09fc90b4e5399b3f3b8a409edf3f57361da90100
|
|
|
|
| |
Change-Id: If45b59915022b563d4c5c9bf454b02b431a97833
|
|
|
|
| |
Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
|
|
|
|
|
|
| |
Bug: 30432975
Test: compile power hal for walleye without warnings
Change-Id: I0d90c26462c662690f8a179250000b9a449a109f
|
|
|
|
|
|
|
|
| |
* The usage of this code was removed in commit
0c226b7921b421dd24363f15aefef1236aa25287
* powerhint.xml is now read by libqti-perfd
Change-Id: I498ad19d0bb43124e4518c5a4f20191a2c122997
|
|
|
|
| |
Change-Id: I7e2143b4c29ba9f0e4fc8ddbe1d700a2b17d513a
|
|
Split module from combined device/qcom/common project into its
own project.
Relocation of some files from device/qcom/common at
b5ce80cb1f60759a142a9338104d3adf3303ec0c.
Change-Id: I6c13729a822f6fb9b5574b759ae9ec12154be464
|