Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59696f5c authored by Lynus Vaz's avatar Lynus Vaz Committed by Lucille Sylvester
Browse files

msm: kgsl: Enable POPP at non-turbo levels



The POPP feature was disabled at non-turbo power levels.
Fix the condition to make it work at other levels as intended.

Change-Id: Ic45470e68880f233164787ed0de41d98031fa4ad
Signed-off-by: default avatarLynus Vaz <lvaz@codeaurora.org>
Signed-off-by: default avatarLucille Sylvester <lsylvest@codeaurora.org>
parent 58d6bfbe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -271,7 +271,7 @@ static bool popp_stable(struct kgsl_device *device)
	if (test_bit(POPP_PUSH, &psc->popp_state))
		return false;
	if (!psc->popp_level &&
			pwr->active_pwrlevel != 0)
			(pwr->active_pwrlevel == pwr->min_pwrlevel))
		return false;
	if (psc->history[KGSL_PWREVENT_STATE].events == NULL)
		return false;