This change is specific to 8974 Pro only.
Use PerfLock to keep two cores online
when the display is on.
Change-Id: I6c694df43ad884f00209b5afa6ed862357312261
Mutlicore SPC is enabled for both display_on and display_off
scenarios. Hence removing the PWR_CLPS_ENA flag from display_off
hints list.
Change-Id: I4a6794b540dba5c619f069b346720332fd3369f4
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
Change needed during display off use cases to improve
power with specific hints to enable power collapse and
set sync/optimal frequency to 650 Mhz
Change-Id: I44442779310aee316b0175478629bd92741f17f0
Change needed by powerhal to be able to send display off hint
to perflock to enable power collapse for all cores
Change-Id: I79cabc469055fe263b4b702f8d28263f2de36778
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