Commit Graph

10 Commits

Author SHA1 Message Date
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 da28cce5a9 power: Use macros instead of string literals.
Replace multiple instances of string literals with
macros so as to minimize the risk of typos. Also fix
a check for max/min DCVS slack node values.

Change-Id: I9fa80a41dffba88d144d100d146726f2c18e7540
2013-01-15 17:30:32 -08:00
Anurag Singh 317051e7be power: Build the power module for QCOM targets
Allow the power module (power.qcom.so) to be built
for Qualcomm targets.

Change-Id: I7b671225a54e1a67bffdd2e71f9380a3d4db91e1
2013-01-15 15:40:52 -08:00
Anh Nguyen 7ffc571f20 Initial JB MR1 bring-up support
Change-Id: I312af7ba7e843e5748ffc8eb42494cb33afd95d1
2012-12-05 17:52:39 -08:00
Anurag Singh 1306363584 power: Change ondemand sampling rate when dipslay state changes.
When the display turns off, set the ondemand sampling rate
to 500ms. Restore it to whatever it was when it turns back on.

Change-Id: I5cab3cbb993fae1aafb8323a3b47d0569badb9ee
2012-11-09 17:53:00 -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
Linux Build Service Account 9dd462d9d3 Merge "common: Add performance header file." 2012-10-10 18:14:09 -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
Anurag Singh 7accfc5c5a power: Change MP/DCVS slack nodes with display state.
Set values on DCVS and mpdecision slack nodes when
display state changes.

Change-Id: Ic39c3d3f209b6a7daee77fce180d45a83a0871d2
2012-10-09 17:17:48 -07:00
Anurag Singh 2d5b93ca9f common: Add platform-specific power libraries.
Add platform-specific power HAL libraries
to the built product.

Change-Id: Ie6e8d3af3f5f83618bc66ccc2f420d209c53ce12
2012-09-11 09:57:00 -07:00