mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-28 00:00:22 +02:00
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:
committed by
Gerrit - the friendly Code Review server
parent
b80b6c9daf
commit
f86d508239
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user