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
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
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
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
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
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