summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* power: Remove leftover support for msm-dcvs governorMichael Bestas2019-10-235-17/+0
| | | | | | | * This is not used by any recent qcom SoC and not used by any SoC using this HAL. Change-Id: If9b2997104bcd5e3ff27fc39c75590d07e813f85
* power: clang-formatMichael Bestas2019-10-2332-1158/+920
| | | | | | | * Using AOSP interface .clang-format * Clean Android.mk while we are at it Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
* power: Add -qti suffix to module nameMichael Bestas2019-10-234-5/+5
| | | | | | * Prevent conflict with other HALs Change-Id: Icf1216410db26c3bb811d7aedde03e6d2f87e3cc
* power: Remove mutex to hintsdianlujitao2019-10-237-52/+0
| | | | | | * No longer needed. Change-Id: I09fc90b4e5399b3f3b8a409edf3f57361da90100
* power: Remove unused arg from power_hint_override/set_interactive_overrideRashed Abdel-Tawab2019-10-2315-28/+24
| | | | Change-Id: If45b59915022b563d4c5c9bf454b02b431a97833
* power: Enable 4+0 core config for display off casesDilip Gudlur2019-10-232-4/+2
| | | | | | | | This change enables 4+0 core config for display off sceanrios and in display off scenario system should go back to default core config. Change-Id: I57795988e7e0f1b2c1e160e2e454549a14bbde50
* power: introduce 8992-specific handlingDilip Gudlur2019-10-232-0/+153
| | | | | | | Creates framework for handling special cases like display off, video encode differently for 8992. Change-Id: I195a96f0787c0d2dc2696c75a6f281774e2345cb
* power: modify return value for display off hint in 8994Dilip Gudlur2019-10-231-1/+1
| | | | | | | This change bypasses execution of deprecated code path in the power.c for dispaly off hint. Change-Id: I3e6f5d2f5a9f1d55015149a0f7abc3c3f1f445e1
* power: Fix to handle min freq changes when CPU cores hotplugged.Nikhil Kumar Kansal2019-10-231-17/+42
| | | | | | | | Finds which CPU cores is online and does following below 1.Gets scaling governor 2.Sets scaling min freq Change-Id: I209a6228294c945e943ff285ac8f38b7f97337d6
* power: Changed the minfreq to 400Mhz for display off scenario.vaibhav bhalla2019-10-232-0/+209
| | | | | | | | 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
* power: Change the Hi-Speed freq to 800Mhz for camcorder casevaibhav bhalla2019-10-232-1/+45
| | | | | | | | Changes to set Hi-Speed freq for 8909 target as below: -Camcorder ON : set to 800Mhz -Camcorder OFF : set to 998.4Mhz. Change-Id: I8e4ca512c137a137fabe7762695e336a3ed37fdd
* power: override encode hint for 8909vaibhav bhalla2019-10-232-0/+68
| | | | | | | Default encode hint was setting hispeed_freq to 1.1GHZ This is not needed for 8909 hence overrode that. Change-Id: I4c3695dbe82d43ebb34732559043b59815f7d49d
* power: Allow devices to write their own platform specific bitsChristopher R. Palmer2019-10-231-0/+6
| | | | | | | | | 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
* power: Allow device specific hooks for set_interactiveSteve Kondik2019-10-232-0/+13
| | | | | | * Some devices may want to implement custom hooks Change-Id: I9be8023c8134b3c262f27b43a28bec0e14c0fd7f
* power: Refactor TARGET_TAP_TO_WAKE_NODEKeith Mok2019-10-234-0/+44
| | | | | | | | | | | 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
* power: Add support for tap-to-wake feature controlSteve Kondik2019-10-232-0/+14
| | | | Change-Id: I545902b29f4828c127bc32def6e30b67ce4a3aa7
* power: Use log/log.h instead of utils/Log.hEthan Chen2019-10-2320-21/+19
| | | | Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
* power: Fix a few compiler warningsPaul Keith2019-10-233-10/+15
| | | | | | * And unify styling a little bit Change-Id: I7f9bb43a534e352fdd7693ff975749864f8addb3
* power: Fix power hal compiler warningsAdrian Salido2019-10-239-25/+21
| | | | | | Bug: 30432975 Test: compile power hal for walleye without warnings Change-Id: I0d90c26462c662690f8a179250000b9a449a109f
* power: Remove powerhintparserMichael Bestas2019-10-234-232/+2
| | | | | | | | * The usage of this code was removed in commit 0c226b7921b421dd24363f15aefef1236aa25287 * powerhint.xml is now read by libqti-perfd Change-Id: I498ad19d0bb43124e4518c5a4f20191a2c122997
* Merge tag 'LA.UM.8.1.r1-09500-sm8150.0' of ↵Michael Bestas2019-10-183-0/+294
|\ | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/power into lineage-17.0 "LA.UM.8.1.r1-09500-sm8150.0" Change-Id: I709bb17c5fba7e700bb275b398c114f62cde7ed7
| * Merge 8a27eca3b2a87cc478812140c136891285359757 on remote branchLinux Build Service Account2019-09-213-0/+294
|/| | | | | | | Change-Id: Idab188d773b1ec8033df39db3872b6ccaad401e7
| * powerhint: Add hints for 30/60 FPS encodeAnanth Raghavan Subramanian2019-09-091-0/+16
| | | | | | | | Change-Id: I5b897768a51c2cb9c6f6eb127b12c704b5937d73
| * power: Add config and makefilesSumit Gemini2019-09-032-0/+268
| | | | | | | | | | | | Added product makefiles. Moved powerhint XMLs to this project. Change-Id: Icd0d1e46d0d9793197eb2e5fb5b65c06a5858647
| * power: Add powerhint for 480FPS use-caseJay Wang2019-07-161-0/+10
| | | | | | | | | | | | | | | | Add powerhint for video encoding @ 480FPS CRs-Fixed: 2449387 Change-Id: I092c57e2964d5079ed295207b666d98a0b9b306f
* | Merge 52e7331bd7cdbc20582603c706ff5c56f9159401 on remote branchLinux Build Service Account2019-06-1013-82/+641
|\| | | | | | | Change-Id: Ic3ba148a50cffca007d0a2440b659d66b2fb4567
| * Merge "power: Add config and makefiles" into power.lnx.2.0Linux Build Service Account2019-05-304-0/+339
| |\
| | * power: Add config and makefilesAnanth Raghavan Subramanian2019-05-204-0/+339
| | | | | | | | | | | | | | | | | | Added product and board makefiles. Moved powerhint XMLs to this project. Change-Id: I3d36f29f69f09166f84d2e42a6480cb590b04d2d
| * | Merge "power: Introducing PowerHAL binderized service" into power.lnx.2.0Linux Build Service Account2019-05-308-78/+297
| |\ \
| | * | power: Introducing PowerHAL binderized serviceAnanth Raghavan Subramanian2019-01-178-78/+297
| | |/ | | | | | | | | | | | | | | | | | | | | | Moving from the default implementation to a binderized service with no wrapping. Now using 1.2 implementation of the IPower interface. Change-Id: Ibefd916544f51545e6889684a051b2ecc5867fe2
| * / power: Modify definitions of Perf client callsAnanth Raghavan Subramanian2019-05-281-4/+5
| |/ | | | | | | | | | | Now conforms to the exact definition in the shared perf library Change-Id: I6f92140b42800072283c2f3a52e6814fc0f1d5d2
* | Merge 561cffcbfa66192e839e040d2da3bff2ecf8dcac on remote branchLinux Build Service Account2019-01-284-341/+37
|\| | | | | | | Change-Id: Id72d4240e71a38dd83a1059a0ca2e7b4bfd8a9dc
| * Clean up code and add generic hint handlingAnanth Raghavan Subramanian2018-12-183-338/+33
| | | | | | | | | | | | | | Removed unused code and added generic hint handling to power.c file, does not need to be device specific anymore. Change-Id: I0d4e2a73de0ce4d3735314d2e49ba58c23eb313c
| * power: qcom: powerHal for sdm455Nikhil Kumar Kansal2018-10-161-3/+4
|/ | | | | | Power hal changes for sdm455 Change-Id: I14923ff92c27b442a5e2a87978b592d3cd766785
* Merge "vendor: qcom: powerHal for sdm632"Linux Build Service Account2018-08-251-12/+91
|\
| * vendor: qcom: powerHal for sdm632Deevana Murthy Bandaru2018-08-201-12/+91
| | | | | | | | | | | | This is power hal for sdm632 used for camera cases Change-Id: I9ae230993f6e7cb63b317cc26e5f64e2287d9672
* | Merge "Power: Naming convention change"Linux Build Service Account2018-08-222-1/+1
|\ \ | |/ |/|
| * Power: Naming convention changeAnanth Raghavan Subramanian2018-08-172-1/+1
| | | | | | | | Change-Id: Ie0437a9020059f639cfb729ba292254523278672
* | power: qcom: powerHal for sdm439 and sdm429Deevana Murthy Bandaru2018-08-162-24/+114
|/ | | | | | Power hal changes for camera encode Change-Id: Ib909844aea854ebffe8a00d83af9ca2d81c4f827
* power: Turn on/off display in SDM439Deevana Murthy Bandaru2018-07-241-2/+45
| | | | | | | PowerHAL writes to a sysfs node when it gets display on/off notification. Change-Id: I90acbef41cc01d7712cbb23765f3d278cb3ee637
* VNDK: Added required libsNaveen Kumar2018-07-021-0/+2
| | | | Change-Id: Ic2c82d5d734df00c15f628737253dde5d5a0bc4c
* Merge "VNDK: Added required headers for 8998 target"Linux Build Service Account2018-06-291-0/+2
|\
| * VNDK: Added required headers for 8998 targetBharat Pawar2018-06-281-0/+2
| | | | | | | | Change-Id: I7e2143b4c29ba9f0e4fc8ddbe1d700a2b17d513a
* | Power: Fixing the header inclusion for VNDK.Bhavana Prabhakar2018-06-221-1/+1
|/ | | | Change-Id: I41387b2c0cff847e65ba56f7adb9a0459e41f464
* Merge "VNDK: Added required libs" into qcom-devices.lnx.4.0Linux Build Service Account2018-06-181-0/+2
|\
| * VNDK: Added required libsVara Prasad A V S G2018-06-121-0/+2
| | | | | | | | Change-Id: I445c8a096b91d79a629beeca12234ca0d3aaa200
* | sdm710 : fixed VNDK compilation for warlockAnurudh Kumar Tiwari2018-06-121-0/+2
|/ | | | Change-Id: Ic095cf2aeec77b914dff6966c0cff66124f7a146
* Unconditionally include this project and create header libraryDavid Ng2018-06-042-2/+5
| | | | | | | | Create qti_powerhal_headers library from include files and permanently relocate power HAL from device/qcom/common for all targets. Change-Id: I379fde83cebf9d077b77fccf195345c4fe1c2d71
* power: Turn on/off displayvhunac2018-06-041-1/+44
| | | | | | | PowerHAL writes to a sysfs node when it gets display on/off notification. Change-Id: I8c3437908f992aec23336ea104c6ac091a961205
* Add touch boost overrideBhargav Upperla2018-06-041-0/+18
| | | | | | | | | | | | | | | | Similar to 1.3Ghz kernel touch boost. Automated tests inject input events directly to the android input interface via 'input tap' etc. Boost that a user will normally experience will not trigger since automation bypasses the input driver framework. Add similar boost in powerHAL layer to help boost android-level injected input or INTERACTION events. Change-Id: I948e22afddb9cc9dd6e0ee203938b325a6f6d15e