<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vendor_qcom_opensource_power/power-common.h, branch lineage-17.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/'/>
<entry>
<title>power: Prepare for power profile support</title>
<updated>2019-10-22T22:12:57+00:00</updated>
<author>
<name>dianlujitao</name>
<email>dianlujitao@lineageos.org</email>
</author>
<published>2018-01-18T13:24:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=19a43ccd9aa1db86585a01988d6f487df4e5793d'/>
<id>19a43ccd9aa1db86585a01988d6f487df4e5793d</id>
<content type='text'>
 * 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 &lt;shade@chemlab.org&gt;
Date:   Sat May 17 03:37:53 2014 -0700

    power: Add support for CPU boost hint

    Change-Id: I07c3e8daf8a5f3b568e27334f26d4ba8f4cf40c4

Author: Steve Kondik &lt;shade@chemlab.org&gt;
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 &lt;shade@chemlab.org&gt;
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 &lt;steve@cyngn.com&gt;
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 &lt;dianlujitao@lineageos.org&gt;
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * 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 &lt;shade@chemlab.org&gt;
Date:   Sat May 17 03:37:53 2014 -0700

    power: Add support for CPU boost hint

    Change-Id: I07c3e8daf8a5f3b568e27334f26d4ba8f4cf40c4

Author: Steve Kondik &lt;shade@chemlab.org&gt;
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 &lt;shade@chemlab.org&gt;
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 &lt;steve@cyngn.com&gt;
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 &lt;dianlujitao@lineageos.org&gt;
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
</pre>
</div>
</content>
</entry>
<entry>
<title>power: msm8916: Drop MIN_FREQ tweak for 8939</title>
<updated>2019-10-22T22:12:57+00:00</updated>
<author>
<name>nico</name>
<email>nicorg2529@gmail.com</email>
</author>
<published>2018-12-13T05:08:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=60d5a540eec686e78dfa03b6676fc926d96f58df'/>
<id>60d5a540eec686e78dfa03b6676fc926d96f58df</id>
<content type='text'>
Leave MIN_FREQ as default except for high performance profile.
Besides, big cluster is turned off by power_set_interactive_ext when display off for some 8939 device.
So, MIN_FREQ tweak would not work anyway.

Change-Id: I57545364ab331f171d1ee1c26787189668c60a91
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Leave MIN_FREQ as default except for high performance profile.
Besides, big cluster is turned off by power_set_interactive_ext when display off for some 8939 device.
So, MIN_FREQ tweak would not work anyway.

Change-Id: I57545364ab331f171d1ee1c26787189668c60a91
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Handle launch and interaction hints for perf HAL platforms</title>
<updated>2019-10-22T22:12:57+00:00</updated>
<author>
<name>BeYkeRYkt</name>
<email>beykerykt@gmail.com</email>
</author>
<published>2018-12-12T21:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=ef7a7ed7e04d113afdbe96ca07f55dd74111cc3c'/>
<id>ef7a7ed7e04d113afdbe96ca07f55dd74111cc3c</id>
<content type='text'>
Author: BeYkeRYkt &lt;beykerykt@gmail.com&gt;
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 &lt;arbiter1000@gmail.com&gt;
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 &lt;arbiter1000@gmail.com&gt;
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Author: BeYkeRYkt &lt;beykerykt@gmail.com&gt;
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 &lt;arbiter1000@gmail.com&gt;
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 &lt;arbiter1000@gmail.com&gt;
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
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Find online CPU core and get scaling governor</title>
<updated>2019-10-22T22:12:57+00:00</updated>
<author>
<name>nico</name>
<email>nicorg2529@gmail.com</email>
</author>
<published>2018-12-13T05:58:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=7075241133d606a11966eb9517bc727c4b7115ae'/>
<id>7075241133d606a11966eb9517bc727c4b7115ae</id>
<content type='text'>
Change-Id: I90aed1aaee8d3819d1de921674da924efd0a6c4f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I90aed1aaee8d3819d1de921674da924efd0a6c4f
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Use ARRAY_SIZE macro where possible</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Zhao Wei Liew</name>
<email>zhaoweiliew@gmail.com</email>
</author>
<published>2016-06-26T03:37:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=ee9bd619746cb0425905baf354e7f52130bb2ef8'/>
<id>ee9bd619746cb0425905baf354e7f52130bb2ef8</id>
<content type='text'>
Change-Id: Ie47d0e6b91b7bba378b0fdf53a345a021b0c2d48
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie47d0e6b91b7bba378b0fdf53a345a021b0c2d48
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Remove leftover support for ondemand governor</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2018-06-09T13:16:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=4c96994df0edd76b981d34776823681440f3b371'/>
<id>4c96994df0edd76b981d34776823681440f3b371</id>
<content type='text'>
Change-Id: Id4c2aa5efa7101535a7311e34529e0b90c7491f1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Id4c2aa5efa7101535a7311e34529e0b90c7491f1
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Remove leftover support for msm-dcvs governor</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2018-06-09T13:10:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=64ac5a0748769df53da297c911aa96254bd3b047'/>
<id>64ac5a0748769df53da297c911aa96254bd3b047</id>
<content type='text'>
* This is not used by any recent qcom SoC
  and not used by any SoC using this HAL.

Change-Id: If9b2997104bcd5e3ff27fc39c75590d07e813f85
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This is not used by any recent qcom SoC
  and not used by any SoC using this HAL.

Change-Id: If9b2997104bcd5e3ff27fc39c75590d07e813f85
</pre>
</div>
</content>
</entry>
<entry>
<title>power: clang-format</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2019-09-29T20:59:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=420f26552469aa8b98692c27de2320a9c1c5dbc2'/>
<id>420f26552469aa8b98692c27de2320a9c1c5dbc2</id>
<content type='text'>
* Using AOSP interface .clang-format
* Clean Android.mk while we are at it

Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Using AOSP interface .clang-format
* Clean Android.mk while we are at it

Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Fix power hal compiler warnings</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Adrian Salido</name>
<email>salidoa@google.com</email>
</author>
<published>2017-03-29T22:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=45df97b4a01aaf7fd6e2df17126bd53e59e0099a'/>
<id>45df97b4a01aaf7fd6e2df17126bd53e59e0099a</id>
<content type='text'>
Bug: 30432975
Test: compile power hal for walleye without warnings
Change-Id: I0d90c26462c662690f8a179250000b9a449a109f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 30432975
Test: compile power hal for walleye without warnings
Change-Id: I0d90c26462c662690f8a179250000b9a449a109f
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Introducing PowerHAL binderized service</title>
<updated>2019-01-18T00:15:04+00:00</updated>
<author>
<name>Ananth Raghavan Subramanian</name>
<email>sananth@codeaurora.org</email>
</author>
<published>2018-09-09T02:47:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=d39ec577a6b154ddc1643728e54a093f3e667b80'/>
<id>d39ec577a6b154ddc1643728e54a093f3e667b80</id>
<content type='text'>
Moving from the default implementation to a binderized service with no
wrapping.
Now using 1.2 implementation of the IPower interface.

Change-Id: Ibefd916544f51545e6889684a051b2ecc5867fe2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moving from the default implementation to a binderized service with no
wrapping.
Now using 1.2 implementation of the IPower interface.

Change-Id: Ibefd916544f51545e6889684a051b2ecc5867fe2
</pre>
</div>
</content>
</entry>
</feed>
