cpufreq: interactive: don't drop speed if recently at higher load
authorTodd Poynor <toddpoynor@google.com>
Sat, 7 Apr 2012 02:59:36 +0000 (19:59 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:43 +0000 (13:40 -0700)
commitb6258ddd6413cfd2c560fed6a680bac1333bb50d
treef163260bab071f8db5e1a1ed43f573feb1edd97e
parentaf95534ed618a2d0e7c868c01a566b959706b318
cpufreq: interactive: don't drop speed if recently at higher load

Apply min_sample_time to the last time the current target speed
was originally requested or re-validated as appropriate for the
current load, not to the time since the current speed was
originally set.  Avoids periodic dips in speed during bursty
loads.

Change-Id: I250bda657985de60373f9897cc41f480664d51a1
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/cpufreq/cpufreq_interactive.c