Commit Graph

10 Commits

Author SHA1 Message Date
Alex Naidis 7c8857aa09 common: power: Put msm8996 interactive override into use
The interactive_override code path was obstructed.
This clears the code path, so it is ready to be
used.

Change-Id: Ic08d0850e2ca40c5262ad3c7ffcc9b7d8d0abe82
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2017-04-01 14:10:18 +00:00
Alex Naidis 1775229bbd common: power: Provide SPM support for some chipsets
Use the newly introduced framework to enable
and configure SPM:

msm8992/msm8994:
* Unplug all big cores
* Set maximum GPU power level to 3
* Set interactive timer rate to 40ms

msm8996:
* Limit CPU frequency to 1.3Ghz
* Set maximum GPU power level to 4
* Set interactive timer rate to 40ms

Change-Id: I84f29edc2fb127c3f7bfcb5d8c6fdb09a8842f45
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2017-02-03 19:12:39 +00:00
Dilip Gudlur f9b3073c67 power: Remove ignore_hispeed_notif tuning
Change removes ignore_hispeed_notif tuning for
camera encode use case in powerhal to avoid
perf impact.

Change-Id: Ide0e553ede122e65d25397e09bf3bd49fb4df43b
2016-12-17 17:26:10 -05:00
Ramakrishnan Ganesh 22ee24dc93 power: Add mutex to camera hints
Add mutex around camera hints to take in consideration
dual camera use cases.

Change-Id: Ief8d5843893de3f6a03fb73b3ca662e818aee550
2016-12-17 17:26:00 -05:00
Jake Weinstein 1129c81fbd power: remove cam preview hint on 8996
* Not supported by current platform and isn't in HAL anyway.

Change-Id: Ib379c88db7d8159c3d2cfdc3588cc70aa9683182
2016-08-31 13:56:16 -04:00
Dilip Gudlur 0adb50d776 power: Encode optimization
Change adds bus dcvs hysteresis tuning, sample_ms
tuning and disable ignore_hispeed_notif.

Change-Id: Ifd424f11dbba9d7f3dce70bed8f5867a0d4b2e94
2016-01-30 22:10:40 -05:00
Dilip Gudlur 6670684586 power: Modify camera encode/preview hint
Change modifies Bus DCVS v2 params and CPU Hispeed
Frequency param for encode and preview.

Change-Id: I20dc1b974feb93c59c63c9256eae1c61bfe41fff
2016-01-30 22:10:40 -05:00
Dilip Gudlur 73413090c4 power: Enable camera preview hint in powerhal
These changes add the powerhal support to detect
camera preview hint and perform power optimization
in cpu, scheduler.

Change-Id: Ibd7bd1c341a86004dc736aba6a634d6206da8564
2016-01-30 22:10:39 -05:00
Charles Bin 7df9867974 power: Add and update resources for encode powerHAL
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
2016-01-30 22:10:39 -05:00
Dilip Gudlur 55b20eb173 power: Introduce 8996 specific handling
Enable powerhal hints for specific use case
handling like encode to help power.

Change-Id: I466f3276777407ad28d7f0cffc306bbaec86a99f
2016-01-30 22:10:39 -05:00