PM: devfreq: Fix the fast ramp case in the adreno governor

Expected behavior of GPU DCVS is to immediately bump the frequency
to turbo upon encountering a long block of busy processing.  The
current code just raises the frequency by one level.

Change-Id: Ida953bb7be8a976da5400328a1c91083499e0fa0
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
This commit is contained in:
Lucille Sylvester
2013-11-22 21:41:48 -08:00
committed by Gerrit - the friendly Code Review server
parent b80b6c9daf
commit f86d508239
+1 -1
View File
@@ -135,7 +135,7 @@ static int tz_get_target_freq(struct devfreq *devfreq, unsigned long *freq,
* increase frequency. Otherwise run the normal algorithm.
*/
if (priv->bin.busy_time > CEILING) {
val = -1;
val = -1 * level;
} else {
val = __secure_tz_entry3(TZ_UPDATE_ID,
level,