summaryrefslogtreecommitdiff
path: root/drivers/gpu/ion/ion.c
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-11-14 11:41:21 -0800
committerArve Hjønnevåg <arve@android.com>2013-07-01 14:16:15 -0700
commit04b3fd6f5f2dd650a12021dccb2ce7cad046e832 (patch)
tree02f5865d0d9c1bdb1598e5c51075310d05cab46a /drivers/gpu/ion/ion.c
parent672c7d475c987430fbdbb7794936ba416b4b15c2 (diff)
downloadolio-linux-3.10-04b3fd6f5f2dd650a12021dccb2ce7cad046e832.tar.xz
olio-linux-3.10-04b3fd6f5f2dd650a12021dccb2ce7cad046e832.zip
cpufreq: interactive: allow arbitrary speed / target load mappings
Accept a string of target loads and speeds at which to apply the target loads, per the documentation update in this patch. For example, "85 1000000:90 1700000:99" targets CPU load 85% below speed 1GHz, 90% at or above 1GHz, until 1.7GHz and above, at which load 99% is targeted. Attempt to avoid oscillations by evaluating the current speed weighted by current load against each new choice of speed, choosing a higher speed if the current load requires a higher speed. Change-Id: Ie3300206047c84eca5a26b0b63ea512e5207550e Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'drivers/gpu/ion/ion.c')
0 files changed, 0 insertions, 0 deletions