Loading drivers/gpu/msm/kgsl_pwrscale_trustzone.c +6 −3 Original line number Diff line number Diff line Loading @@ -159,11 +159,14 @@ static void tz_idle(struct kgsl_device *device, struct kgsl_pwrscale *pwrscale) (priv->bin.total_time < FLOOR)) return; /* If there is an extended block of busy processing, * increase frequency. Otherwise run the normal algorithm. /* * If there is an extended block of busy processing, set * frequency to turbo. Otherwise run the normal algorithm. */ if (priv->bin.busy_time > CEILING) { val = -1; val = 0; kgsl_pwrctrl_pwrlevel_change(device, KGSL_PWRLEVEL_TURBO); } else if (priv->idle_dcvs) { idle = priv->bin.total_time - priv->bin.busy_time; idle = (idle > 0) ? idle : 0; Loading Loading
drivers/gpu/msm/kgsl_pwrscale_trustzone.c +6 −3 Original line number Diff line number Diff line Loading @@ -159,11 +159,14 @@ static void tz_idle(struct kgsl_device *device, struct kgsl_pwrscale *pwrscale) (priv->bin.total_time < FLOOR)) return; /* If there is an extended block of busy processing, * increase frequency. Otherwise run the normal algorithm. /* * If there is an extended block of busy processing, set * frequency to turbo. Otherwise run the normal algorithm. */ if (priv->bin.busy_time > CEILING) { val = -1; val = 0; kgsl_pwrctrl_pwrlevel_change(device, KGSL_PWRLEVEL_TURBO); } else if (priv->idle_dcvs) { idle = priv->bin.total_time - priv->bin.busy_time; idle = (idle > 0) ? idle : 0; Loading