Change the method signature of interaction function
to allow input arguments for the optimizations
requested and the duration.
Add msm8226 and msm8610 specific power files for
interaction power hint override.
Change-Id: Iac6762d2864021d35981fee11496bda39f8f82fe
It is possible, although very unusual, for more
than one display off events to reach the power HAL
without any intervening display on events. In
this case, do not perform any actions. Multiple
consecutive display on events are already handled.
Change-Id: Id7cd51c2fdc804aa7ebb8322a236077b1785f45f
Add and use the opcode to disable synchronization
of cores on foreground thread migration.
Synchronization of cores on foreground thread migration
feature is on by default so we will disable
when the display is off and encode/decode hints.
Change-Id: Ib52b894059b030b9a711c98e0dab41793c99276f
Display off opcode used to inform PerfLock the display is off.
Power collapse enable opcode allows users to enable power collapse
modes on all cpus.
Change-Id: I5dc01f47c9df0aa70d34bb8519de115e8c12588a
When the display turns off, the MSM8974
needs to set ondemand governor's sync_freq
and optimal_freq parameters to values different
from other targets. To accomplish this, override
the handling for set_interactive. Also refactor
power HAL to remove unnecessary macros.
Change-Id: I009ee88886abfb4f8423de3b2d85549fd0e65205
Perform initialization (or cleanup) in a special
constructor (or destructor) function that gets
invoked when the power HAL library is loaded
(or unloaded). Remove code that is made redundant
by doing this. Also remove other parts of the code
which are no longer used.
Change-Id: I6a08c998c32fb57d0c7975bc814f7d87cd1104d1
Replace multiple instances of string literals with
macros so as to minimize the risk of typos. Also fix
a check for max/min DCVS slack node values.
Change-Id: I9fa80a41dffba88d144d100d146726f2c18e7540
When the display turns off, set the ondemand sampling rate
to 500ms. Restore it to whatever it was when it turns back on.
Change-Id: I5cab3cbb993fae1aafb8323a3b47d0569badb9ee
Process video decode hints and display-off hints
in the power HAL. Also move to using the perflock
API to request system-level parameter changes.
Change-Id: I42e33d6d22016b02d85572a69fee64aadf36da58