<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vendor_qcom_opensource_power/power-common.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: 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: 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: Drop default POWER_HINT_INTERACTION routine</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>dianlujitao</name>
<email>dianlujitao@lineageos.org</email>
</author>
<published>2018-11-30T05:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=f906ae2e7abb86978c77f8e449146343eba7cbb9'/>
<id>f906ae2e7abb86978c77f8e449146343eba7cbb9</id>
<content type='text'>
 * These boost resources were introduced years ago and are no longer
   suitable for modern SoCs. Each SoC should implement its own boost
   resource in either platform specific power HAL source file or perf
   HAL.
 * Starting from LineageOS 15.1, recent SoCs no longer handle
   POWER_HINT_INTERACTION in the power HAL, so power_hint_override
   returns HINT_NONE and the default routine is always executed. E.g, on
   msm8996 little cluster is always boosted to max frequency on touch,
   which causes a huge battery drain.
 * As a bonus, the "Failed to apply optimization" errors are gone.

Change-Id: I322f23f40fc5da7485f2c7a6cf8ee952d0fb94c6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * These boost resources were introduced years ago and are no longer
   suitable for modern SoCs. Each SoC should implement its own boost
   resource in either platform specific power HAL source file or perf
   HAL.
 * Starting from LineageOS 15.1, recent SoCs no longer handle
   POWER_HINT_INTERACTION in the power HAL, so power_hint_override
   returns HINT_NONE and the default routine is always executed. E.g, on
   msm8996 little cluster is always boosted to max frequency on touch,
   which causes a huge battery drain.
 * As a bonus, the "Failed to apply optimization" errors are gone.

Change-Id: I322f23f40fc5da7485f2c7a6cf8ee952d0fb94c6
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Simplify display_hint_sent</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-26T13:29:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=85e00bf2ce6aa080a42ad6f8dd47733b514cceac'/>
<id>85e00bf2ce6aa080a42ad6f8dd47733b514cceac</id>
<content type='text'>
Check for whether the display hint has been sent at the start
of the set_interactive() function in the common powerHAL.

This gets rid of the need to replicate the same variable in
every target-specific powerHAL that implements the
set_interactive_override() function.

Change-Id: If7dd11fcb578211f4f83847f9257232c4138ce53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for whether the display hint has been sent at the start
of the set_interactive() function in the common powerHAL.

This gets rid of the need to replicate the same variable in
every target-specific powerHAL that implements the
set_interactive_override() function.

Change-Id: If7dd11fcb578211f4f83847f9257232c4138ce53
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Avoid interaction build errors</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2018-03-25T23:07:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=c9ed433d24c2807a33a25ed42ec57526063ac127'/>
<id>c9ed433d24c2807a33a25ed42ec57526063ac127</id>
<content type='text'>
Change-Id: I77942f23a9c617abac1a8533cfc1fd7bfa7f66e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I77942f23a9c617abac1a8533cfc1fd7bfa7f66e8
</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: Allow device specific hooks for set_interactive</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Steve Kondik</name>
<email>shade@chemlab.org</email>
</author>
<published>2014-03-28T05:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=c332b13bb90469c179546484abfc8ea2204e4eea'/>
<id>c332b13bb90469c179546484abfc8ea2204e4eea</id>
<content type='text'>
* Some devices may want to implement custom hooks

Change-Id: I9be8023c8134b3c262f27b43a28bec0e14c0fd7f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Some devices may want to implement custom hooks

Change-Id: I9be8023c8134b3c262f27b43a28bec0e14c0fd7f
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Refactor TARGET_TAP_TO_WAKE_NODE</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Keith Mok</name>
<email>kmok@cyngn.com</email>
</author>
<published>2015-11-13T17:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=e9c7fcc763ff005ed91de23a05db7c87cc836b58'/>
<id>e9c7fcc763ff005ed91de23a05db7c87cc836b58</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Use log/log.h instead of utils/Log.h</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Ethan Chen</name>
<email>intervigil@gmail.com</email>
</author>
<published>2018-03-02T05:31:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=d1cd53fa2c28f13d929979b2930dedf69b6a9aff'/>
<id>d1cd53fa2c28f13d929979b2930dedf69b6a9aff</id>
<content type='text'>
Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
</pre>
</div>
</content>
</entry>
<entry>
<title>power: Fix a few compiler warnings</title>
<updated>2019-10-22T22:12:56+00:00</updated>
<author>
<name>Paul Keith</name>
<email>javelinanddart@gmail.com</email>
</author>
<published>2017-12-31T01:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/vendor_qcom_opensource_power/commit/?id=23dc599d41a3c9952852e7564c8b5e5e0cbbf931'/>
<id>23dc599d41a3c9952852e7564c8b5e5e0cbbf931</id>
<content type='text'>
* And unify styling a little bit

Change-Id: I7f9bb43a534e352fdd7693ff975749864f8addb3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* And unify styling a little bit

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