Commit Graph

13 Commits

Author SHA1 Message Date
Anurag Singh c2140b83b8 power: vote to turn off io_is_busy for interactive governor
If the interactive governor is being used, vote to turn off
io_is_busy when video encode starts to reduce power consumption.

Change-Id: I69738b989af3d6e0f1a708c21875b935b435cd91
2014-01-07 14:11:01 -08: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
Linux Build Service Account fb6a73b2d7 Merge "power: add display off and power collapse enable opcodes." 2013-04-30 01:32:02 -07:00
Linux Build Service Account 442fd104ce Merge "common: Add comments for CPU_MIN_FREQ usage" 2013-04-26 13:53:05 -07:00
Linux Build Service Account 52d7614c11 Merge "common: Add opcodes to lock the maximum number of cores" 2013-04-26 13:52:52 -07:00
Vince Leung 735a2f98c5 power: add display off and power collapse enable opcodes.
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
2013-04-23 23:50:54 -07:00
Vince Leung a9d32c5034 common: Add comments for CPU_MIN_FREQ usage
Add comments to inform users on how
PerfLock supports CPU min frequencies

Change-Id: I13046c9bff8108a7d43405ca08070be853d1d84b
2013-04-23 13:57:34 -07:00
Vince Leung eb3eea131c common: Add opcodes to lock the maximum number of cores
Add opcodes for PerfLock to support locking of
maximum number of cores online.

Change-Id: Idb4b8313f8518cc5f322d0a7f483922737a3502b
2013-04-22 18:05:25 -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
Vince Leung c44f88778b common: Add opcodes for sync_freq and optimal_freq
Add opcodes for synchronous freq and optimal freq
into PerfLock.

Change-Id: Idb4d4f2194cb34fee5e76614ae1cbe3938534100
2013-02-07 18:15:30 -08:00
Anurag Singh 79ab543c4c power: Process video decode and screen off hints.
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
2012-10-11 18:56:35 -07:00
Vince Leung eaf7493615 common: Add performance header file.
Add performance header file that includes
opcodes required to use PerfLock.

Change-Id: I2b26673499f8427e8db40baf6784b85baddbe869
2012-10-09 18:05:01 -07:00