<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vendor_qcom_opensource_power/power-8937.c, 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: msm8937: Support power profiles</title>
<updated>2019-10-22T22:12:57+00:00</updated>
<author>
<name>BeYkeRYkt</name>
<email>beykerykt@gmail.com</email>
</author>
<published>2018-12-23T13:55:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=070a8e149fac0292eb49d1489a6876957b8d85b6'/>
<id>070a8e149fac0292eb49d1489a6876957b8d85b6</id>
<content type='text'>
Author: BeYkeRYkt &lt;beykerykt@gmail.com&gt;
Date:   Sun Dec 23 22:55:35 2018 +0900

    power: Add specific powerhal for msm8937

    * msm8937 is on the same CAF line along with msm8953 and msm8996 and also
      supports the MPCTL_V3 commands, in contrast to msm8952. Separate it from
      msm8952.

    Change-Id: I58b0d7563cd3896ee4484ed0e0f38a6ef7eb01b2

Author: BeYkeRYkt &lt;beykerykt@gmail.com&gt;
Date:   Sun Dec 23 23:21:50 2018 +0900

    power: msm8937: Update power profile settings

     * msm8937 supports the MPCTL_V3 commands.

    Change-Id: Ibeaaf3d4577a8378f1d9a495b87ac58f75b1da73

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: Ibaaf9a8a4398dfac12c901835f2f7aae9eefec3b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Author: BeYkeRYkt &lt;beykerykt@gmail.com&gt;
Date:   Sun Dec 23 22:55:35 2018 +0900

    power: Add specific powerhal for msm8937

    * msm8937 is on the same CAF line along with msm8953 and msm8996 and also
      supports the MPCTL_V3 commands, in contrast to msm8952. Separate it from
      msm8952.

    Change-Id: I58b0d7563cd3896ee4484ed0e0f38a6ef7eb01b2

Author: BeYkeRYkt &lt;beykerykt@gmail.com&gt;
Date:   Sun Dec 23 23:21:50 2018 +0900

    power: msm8937: Update power profile settings

     * msm8937 supports the MPCTL_V3 commands.

    Change-Id: Ibeaaf3d4577a8378f1d9a495b87ac58f75b1da73

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: Ibaaf9a8a4398dfac12c901835f2f7aae9eefec3b
</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: Use declared enums where possible</title>
<updated>2019-10-22T22:12:57+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2019-10-15T16:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=662bc2c978dafd4a804e68fa94712565fa121472'/>
<id>662bc2c978dafd4a804e68fa94712565fa121472</id>
<content type='text'>
Change-Id: I079490f8ff61bf278dd69eb89b9dae5ce42e6052
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I079490f8ff61bf278dd69eb89b9dae5ce42e6052
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Clean up and fix set_interactive_override</title>
<updated>2019-10-22T22:12:57+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2019-10-05T22:34:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=43b9e3524f90a59e59f4d6a1f0e7f6629e4d029f'/>
<id>43b9e3524f90a59e59f4d6a1f0e7f6629e4d029f</id>
<content type='text'>
* Remove debug logs and useless comments
* Consistent return values
* Add back display hints for legacy platforms, they used to live in
  power-common.c but removed in commit 561cffcbfa66192e839e040d2da3bff2ecf8dcac
* Check if set_interactive_override handled hints and print
  info message if it didn't

Change-Id: Iff9f7327ba71c282e34ff3143c45a3f40f72fc92
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove debug logs and useless comments
* Consistent return values
* Add back display hints for legacy platforms, they used to live in
  power-common.c but removed in commit 561cffcbfa66192e839e040d2da3bff2ecf8dcac
* Check if set_interactive_override handled hints and print
  info message if it didn't

Change-Id: Iff9f7327ba71c282e34ff3143c45a3f40f72fc92
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Clean up and fix video encode/decode hint handling</title>
<updated>2019-10-22T22:12:57+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2019-10-05T23:05:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=7af0fea40b41e90123908e0ea104f70dfc370edb'/>
<id>7af0fea40b41e90123908e0ea104f70dfc370edb</id>
<content type='text'>
* 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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
</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: Rename power-8952.c to power-8937.c</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2019-10-06T02:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=b1d08ab0de8338103a7424c8871f19b2d5616288'/>
<id>b1d08ab0de8338103a7424c8871f19b2d5616288</id>
<content type='text'>
* 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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
</pre>
</div>
</content>
</entry>
</feed>
