These changes add the powerhal support to detect
camera preview hint and perform power optimization
in cpu, scheduler.
Change-Id: Ibd7bd1c341a86004dc736aba6a634d6206da8564
Change adds an enum for bus DCVS V1 configuration for
camera encode power optimization.
Change updates existing resource opcodes to use refactored
perflock API.
Change-Id: Ib773d3789d9d3ab87de366bc8776c7501429bf6c
1.Changes to set CPU0 and CPU4 interactive timer rate values
-Display off cases:Set CPU0 and CPU4 to 50ms.
2.Removed min freq code change due to permission restriction.
Change-Id: Ibcec0551e305137e5e465c21b61ab7db5ffcc2a3
1.Changes to set CPU0 min freq for 8952 target as below:.
Display off case : set to 499.2Mhz
Display on case : set to 960Mhz.
2.Changes to set CPU0 and CPU4 interactive timer rate values
Display off cases : Set cpu0 and cpu4 to 50ms.
Change-Id: I833da462ab4db033a33051ed9499ea75b13f5d9f
* commit '6dfa44b044c858c2b5de0f0c3ca9eef28131a0c1': (27 commits)
Add tcp buffer sizes for LTE_CA
init.qcom.post_boot.sh: Update scheduler tunables for 8996
tz app seemp_healthd removed
init.qcom.post_boot: Enable low power modes for 8952
init.qcom.usb: Add composition to support DPL with DUN over char bridge
init.qcom.rc: FST Manager runs as user "wifi"
init.qcom.post_boot.sh: Enable all the LPMs by default
qcom: Add default configuration for DCC block on MSM8976
BTLogKit: Added BTLogKit to Product Packages
init.qcom.usb: Set default USB request buffer size as 128 KB for MTP
Adding and starting IOP service for 8996
base.mk: add FST Manager to the build
init.qcom.rc: add FST manager service
Bluetooth: Drop Wcnss_filter to bluetooth only access
init.qcom.post_boot: Set mincpubw devfreq governor to cpufreq for 8996
audio_policy: disable software DRC flag
init.qcom.rc: Seemp health Deamon
Disable sched_boost on msm8996 at post-boot.
Mms: Change default config options
qcom: Add default configuration for DCC block.
...
Conflicts:
rootdir/etc/init.qcom.rc
Change-Id: Ifedca1c92c67b2006f11eaa54d4fb8134fe5952c
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
This change is specific to 8084 and has been
modeled based on 8974 pro changes. Use PerfLock
to keep two cores online when the display is on.
Change-Id: Iffea0f9afbb3743cec2804da5884ec6d977b662a
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
This change is specific to 8974 Pro only.
Use PerfLock to keep two cores online
when the display is on.
Change-Id: I6c694df43ad884f00209b5afa6ed862357312261
Change the method signature of interaction function
to allow input arguments for the optimizations
requested and the duration.
Add msm8226 and msm8610 specific power files for
interaction power hint override.
Change-Id: Iac6762d2864021d35981fee11496bda39f8f82fe
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
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
Perform initialization (or cleanup) in a special
constructor (or destructor) function that gets
invoked when the power HAL library is loaded
(or unloaded). Remove code that is made redundant
by doing this. Also remove other parts of the code
which are no longer used.
Change-Id: I6a08c998c32fb57d0c7975bc814f7d87cd1104d1