Skip to content
Snippets Groups Projects
Commit c89e7307 authored by Carter Cooper's avatar Carter Cooper Committed by Iliyan Malchev
Browse files

msm: kgsl: Respect power constraints for a full interval


No matter what type of constraint leave it in effect until
the constraint has expired.

Change-Id: I75118823fd484f87dda8e0f26fa3fe1ae12ca07d
Signed-off-by: default avatarLucille Sylester <lsylvest@codeaurora.org>
parent 8ee5bb77
Branches
Tags
No related merge requests found
...@@ -192,8 +192,6 @@ static void tz_idle(struct kgsl_device *device, struct kgsl_pwrscale *pwrscale) ...@@ -192,8 +192,6 @@ static void tz_idle(struct kgsl_device *device, struct kgsl_pwrscale *pwrscale)
val *= pwr->step_mul; val *= pwr->step_mul;
if ((pwr->constraint.type == KGSL_CONSTRAINT_NONE) || if ((pwr->constraint.type == KGSL_CONSTRAINT_NONE) ||
((pwr->active_pwrlevel + val) <
pwr->constraint.hint.pwrlevel.level) ||
(time_after(jiffies, pwr->constraint.expires))) { (time_after(jiffies, pwr->constraint.expires))) {
kgsl_pwrctrl_pwrlevel_change(device, kgsl_pwrctrl_pwrlevel_change(device,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment