| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for system performance profiles and CPU boost.
* Uses mpctl to configure the CPUs in the appropriate modes.
* Implement binderized Lineage power HAL.
Author: Steve Kondik <shade@chemlab.org>
Date: Sat May 17 03:37:53 2014 -0700
power: Add support for CPU boost hint
Change-Id: I07c3e8daf8a5f3b568e27334f26d4ba8f4cf40c4
Author: Steve Kondik <shade@chemlab.org>
Date: Sun May 18 23:55:23 2014 -0700
power: Add power hint to set profile
* A PowerHAL can implement support for this hint to receive
power profile changes from the framework.
Change-Id: Ie1e9e3b827c731cf5a817a0491677e3451fe8678
Author: Steve Kondik <shade@chemlab.org>
Date: Mon May 19 17:26:34 2014 -0700
power: Add support for SET_PROFILE hints
* Add support for system performance profiles.
* Uses mpctl to configure the CPUs in the appropriate modes.
* PERFORMANCE = all cores at max
* POWER_SAVE = max two cores at non-turbo voltage
* If a custom profile is set, don't honor any other hints
* Clean up the code and firm up the locking.
Change-Id: Ie6acada805780c9ae6e6bc2002843aef638ca63b
Author: Steve Kondik <steve@cyngn.com>
Date: Tue Nov 3 03:27:42 2015 -0800
power: Update for PerformanceManager changes
* Undo damage caused by the previous patch which broke
all hint arguments. We were actually using these wrong to
begin with anyway.
* Add support for get_profile
* Clean up code
Change-Id: Ibc3f21bfb7aa46ec97b9b63d09737d4331a5a714
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: I7ae614667e3182eaf0a90b81e8ed839689cfbf28
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Latest power-8952.c is used for msm8937 with mpctl V3.
Rename the file so we can add back the legacy msm8952 handling.
Change-Id: Iccd2a3c0abed2ef10d5f6c2182c0509a2fbe611d
|
|
|
|
|
|
|
| |
Set hwbinder buffer size to 16KB for 32 bit architecture.
Change-Id: I4272a12853269dd6363f58a5bb81caa09cc47e9a
CRs-Fixed: 2315283
|
|
|
|
|
|
| |
* And fix the build errors
Change-Id: I183203edfd92d4672893d74aa7428bc9f5e17772
|
|
|
|
|
|
|
| |
* Using AOSP interface .clang-format
* Clean Android.mk while we are at it
Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
|
|
|
|
|
|
| |
* Prevent conflict with other HALs
Change-Id: Icf1216410db26c3bb811d7aedde03e6d2f87e3cc
|
|
|
|
|
|
|
| |
Creates framework for handling special cases like
display off, video encode differently for 8992.
Change-Id: I195a96f0787c0d2dc2696c75a6f281774e2345cb
|
|
|
|
|
|
|
|
| |
1. Changes to set CPU0 min freq for 8939 target as below:
Display off case : set to 400Mhz
Display on case : set to 960Mhz.
Change-Id: Ie8cf31484e70f83594778c899485910b9ff2578e
|
|
|
|
|
|
|
| |
Default encode hint was setting hispeed_freq to 1.1GHZ
This is not needed for 8909 hence overrode that.
Change-Id: I4c3695dbe82d43ebb34732559043b59815f7d49d
|
|
|
|
|
|
|
|
|
| |
Using this hook, any device should be able to reuse the majority of the
powerhal and fork only power-<platform>.c if they feel that they need
the ability to provide more specific tuning of the hints/etc. for
their device.
Change-Id: I013a3ec3ddccbe6f74f3dacf456cc6e8b3ab3430
|
|
|
|
|
|
| |
* Some devices may want to implement custom hooks
Change-Id: I9be8023c8134b3c262f27b43a28bec0e14c0fd7f
|
|
|
|
|
|
|
|
|
|
|
| |
Add TARGET_POWER_SET_FEATURE_LIB, since other devices
are not simply writing a 0/1 to a device node.
TARGET_TAP_TO_WAKE_NODE is still valid and both
TARGET_TAP_TO_WAKE_NODE and TARGET_POWER_SET_FEATURE_LIB are
allowed to coexist. (Currently set_feature only has double tap
to wake, but it may be extended in future)
Change-Id: I5c6204fd38a6fbe48e8aac49843bfa047c4b6436
|
|
|
|
| |
Change-Id: I545902b29f4828c127bc32def6e30b67ce4a3aa7
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Moving from the default implementation to a binderized service with no
wrapping.
Now using 1.2 implementation of the IPower interface.
Change-Id: Ibefd916544f51545e6889684a051b2ecc5867fe2
|
|
|
|
| |
Change-Id: Ie0437a9020059f639cfb729ba292254523278672
|
|
|
|
|
|
|
|
| |
Create qti_powerhal_headers library from include files and
permanently relocate power HAL from device/qcom/common
for all targets.
Change-Id: I379fde83cebf9d077b77fccf195345c4fe1c2d71
|
|
|
|
|
|
| |
VNDK flag enablement for P upgrade
Change-Id: I033c3d9c8a1ee1e7f52a6398ae989becd66d161e
|
|
|
|
|
|
| |
PowerHAL writes to a sysfs node to inform touch when display goes on/off
Change-Id: Ia9af606ad3572d498f09d575a40c83e900a0b82a
|
|
|
|
|
|
| |
Merge and rename shared Android target paths.
Change-Id: If2f47bbff5445f4de9e6b3ddb5279920fb6c9ee0
|
|
|
|
|
|
| |
PowerHAL writes to a sysfs node when it gets display on/off notification.
Change-Id: I58d604cf4fae169f4c9af1ae683c6f7380432220
|
|
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
|