summaryrefslogtreecommitdiffstats
path: root/power
Commit message (Collapse)AuthorAgeFilesLines
* Fix building with Clang.Kyle Repinski2016-01-171-1/+1
|
* power: Build with -Wall -Werror.Kyle Repinski2016-01-171-0/+1
|
* tuna: increase hispeed_freq to 920 mhzZiyan2015-04-111-1/+1
| | | | Change-Id: Iecbc07f26a7c8efe589e6d8f8216a14c55ffccc9
* Review power freq on screen off codeKalimochoAz2014-11-141-7/+3
| | | | | | | Review general code removed non sense comparation "on ?" since is extra Change-Id: I285368dbb449e4234e9cea8846c087fc4f3200f3
* tuna: power: make sure we don't apply the screen off freq on screen onEmilio López2014-11-141-1/+7
| | | | | | | This fixes issues when pressing the power button repeatedly in a short period of time. The "on" call might not run, and when we re-read the value on screen off to store it, we will be actually reading the capped screen off value. Make sure that's not the case.
* tuna: add cpu boost hintSteve Kondik2014-11-141-6/+12
| | | | | | Code copied from Steve Kondik's commit. Change-Id: I7576534132940ef0820af91f2d314055fbd84411
* tuna: PowerHAL: Define constants for CPUfreq pathsZiyann2014-11-141-15/+10
| | | | | | | | | | Same CPUfreq paths are used many times in the code. This patch defines constants for them. Cherry-picked and adjusted for tuna from http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=f5ee7ba155978bd9e547c079b521a1a249bdefab Change-Id: I07519ad70a2f243c6fe68b26dc8b409e6223772e
* tuna: PowerHAL: Check that PowerHAL is successfully initializedZiyann2014-11-141-1/+15
| | | | | | | | | | It doesn't make any sense to do something if PowerHAL couldn't setup initial parameters successfully. Cherry-picked and adjusted for tuna from http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=5b250f0dbc8fa43f8ff9e45151730b5b733c5ed0 Change-Id: I4e87f6b7be53e52f21f02cc500c8a1096f70df5f
* Fixed overclocking Power HAL modulePaul Reioux2014-11-141-2/+41
| | | | Change-Id: I7fc7c517e04eee3933ab7107e788b50e41270b67
* tuna: PowerHAL: Change obsolete designated initializers syntaxZiyann2014-11-141-15/+15
| | | | | | | | | | | | Designated initializers syntax which is used to initialize HAL_MODULE_INFO_SYM is obsolete since GCC 2.5: http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html This patch changes syntax to usual one. Cherry-picked from http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=361e9eab2dd455588327612c31623396725fdb1a Change-Id: I7ed930bd6cf0f44f1503947c9abbc93a9ef99821
* tuna: power: interactive governor params update for performanceTodd Poynor2013-02-041-2/+2
| | | | | | | | | | above_hispeed_delay = 80000 (from 100000), this is now applied to each step above 700MHz and is impacting short-term load burst benchmarks. min_sample_time = 60000 (from 40000, back to jb-mr1.1 value) Bug: 8096433 Change-Id: I652e60c54e93a4b593d89f3f38d36a1133decb55
* tuna: power: interactive governor target loads updateTodd Poynor2013-01-311-1/+1
| | | | | | | | | | Target 70% at 350M/700M, 80% at 920M (and 99% at 1.2G as before) Boost performance of short bursts / medium loads. Power effects TBD. Bug: 8096433 Change-Id: I17794870e636607fe2bb644692f5d9d0adf67b50
* tuna: power HAL: interactive governor param updatesTodd Poynor2013-01-161-7/+4
| | | | Change-Id: If2759f25bd9f503d82ee0287c1258fa4fad2ca82
* tuna: Power HAL: Boost pulse CPU speeds on POWER_HINT_INTERACTIONTodd Poynor2012-05-111-14/+62
| | | | | | And no longer request in-kernel touchscreen boost. Change-Id: I0d276c5188a7c7b9fb0c3c445b4e1229d26b15a5
* tuna: remove triggering suspend from power halColin Cross2012-05-031-27/+0
| | | | | | | PowerManagerService will trigger suspend after calling into the power hal, remove it from here. Change-Id: I9c6bc42f8615d047000295fb8b100e32c4e46318
* tuna: Power HAL: min sample time to 60ms, go hispeed load to 50%Todd Poynor2012-04-271-4/+4
| | | | Change-Id: I018bad401fcc72025d1c3997224eecc54da8ee92
* tuna: Power HAL: Enable touchscreen input boostTodd Poynor2012-04-271-1/+2
| | | | Change-Id: I8d296e36222a45599edf7d3cab48a9aa8aae7bd7
* tuna: Power HAL: turn off VSYNC power hintTodd Poynor2012-04-271-22/+1
| | | | Change-Id: Icb36ec7fa3057978c7075ddb4e961c1ef403e7f4
* tuna: Power HAL: Add version 0.2Todd Poynor2012-04-261-2/+2
| | | | Change-Id: Ibea0084f48ce0cbea50fb151ade0785822f7222e
* tuna: Power HAL: Add VSYNC power hint -- DO NOT MERGETodd Poynor2012-04-251-0/+36
| | | | | Change-Id: I3a0c72e843c4d9c7a9129a35ed8bbee59acb5599 Signed-off-by: Todd Poynor <toddpoynor@google.com>
* tuna: Power HAL: Set 100ms delay for moving above CPU 700MHzTodd Poynor2012-04-181-0/+2
| | | | | | | Require a sustained high CPU load before moving to 920MHz/1.2GHz. Change-Id: I0eca4bf3c0104bd89c300bb8f28da2f31f479d12 Signed-off-by: Todd Poynor <toddpoynor@google.com>
* tuna: Add Power HALTodd Poynor2012-04-112-0/+149
* Add Power HAL for Tuna. * Update cpufreq interactive governor params: min_sample_time = 100ms to cover bursts of graphics load go_hispeed_load = 40% to handle graphics loads * Move screen off maximum frequency to generic cpufreq scaling_max_freq interface, set when turning screen on/off. * Move cpufreq init from init.rc to Power HAL. Change-Id: I12efd9b5fbfe89a487fac926b42ce1fe65980f7a