Commit Graph

20 Commits

Author SHA1 Message Date
Vince Leung b103dd8d6a common: update enum value for disabling PC
Update enum value used to disable PC via PerfLock

Change-Id: I14cb3292b94db90d592905fb344c942e7d61c4f8
2014-10-29 17:40:13 -07:00
Pracheer cd15b0b776 power: add sched boost enum.
Add enum for enabling sched boost and
core 4-8 in perflock

Change-Id: I049c44d18045d9ab2dce7a96cf73207357e63a18
2014-09-10 16:46:32 +05:30
Vince Leung 8d4cfd3782 common: add sched boost enum
Add enum for enabling sched boost in PerfLock

Change-Id: I252953c79a5194f75384140c20dd413e7518c14e
2014-08-15 08:39:28 -07:00
Vince Leung 4a6faafa5f common: add CPU max cores online enums
Previously the enums to limit the maximum number
of cores online were using the same resource as
minimum number of cores. Separate the min and max
to each have their own resource.

Change-Id: I3d2e8ebe1bba61a0d63ee79972cbe78c972b2bd8
2014-03-13 12:30:10 -07:00
Linux Build Service Account 286a4d0210 Merge "common: add CPU max freq enums" 2014-03-12 14:23:25 -07:00
Vince Leung 061f27df7b common: add CPU max freq enums
Add the enums for CPU max freq limit
Remove unsupported enum for all cpus freq

Change-Id: I8720c22f6aadaa8ced2a5917aa97f568d94f2f93
2014-03-10 13:55:37 -07:00
Dilip Gudlur 66757bd2e6 power: Modify power HAL hint for Interactive governor
Currently power HAL sets display off hint to 500ms for
Interactive Governor, this change modifies the hint to 50ms
to enable CPU to sample and scale better.

Change-Id: I611f7d318c78f85fb345852b8e2c82ec1cbda006
2014-02-25 12:32:37 -08:00
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