Commit Graph

10 Commits

Author SHA1 Message Date
Zhoulu Luo fe60d0ef70 Revert "Revert "power: keep two cores online when display is on""
This reverts commit 1b147f354e.
2013-12-06 16:32:10 -08:00
Shruthi Krishna 1b147f354e Revert "power: keep two cores online when display is on"
This reverts commit 3427f3ef2a

Change-Id: Ib55ad4bd1ea9a4e0790705018dfd1d187522f450
2013-11-24 14:46:48 -08:00
Vince Leung 3427f3ef2a power: keep two cores online when display is on
This change is specific to 8974 Pro only.
Use PerfLock to keep two cores online
when the display is on.

Change-Id: I6c694df43ad884f00209b5afa6ed862357312261
2013-11-22 20:33:04 -08:00
Badhri Jagan Sridharan 1201b922a8 powerhal: Remove PWR_CLPS_ENA for display_off scenario
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
2013-07-24 09:52:51 -07:00
Anurag Singh 186e7e0ebe power: Ignore consecutive display off hints
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
2013-06-08 17:14:54 -07:00
Vince Leung 6af746075f powerhal: add opcode to disable sync on thread migration
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
2013-05-17 14:05:33 -07:00
Dilip Gudlur 08d0fda2f6 powerhal: add display off hints to improve power
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
2013-05-13 17:59:06 -07:00
Vishwanatha Kumar Ulthur d54e31e44a Revert "powerhal: Add display off and power collapse enable hint"
This reverts commit daafb89446

Change-Id: Ib0ee83cf8443fc697ff4b80ea53898dd2346b2ff
2013-05-01 12:38:10 -07:00
Dilip Gudlur daafb89446 powerhal: Add display off and power collapse enable hint
Change needed by powerhal to be able to send display off hint
to perflock to enable power collapse for all cores

Change-Id: I79cabc469055fe263b4b702f8d28263f2de36778
2013-04-25 13:09:46 -07:00
Anurag Singh daa8f718d8 power: introduce 8974-specific handling
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
2013-04-22 13:43:38 -07:00