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

Commit f5a8c75f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "msm: kgsl: Do not change active_pwrlevel while entering SLUMBER""

parents 5e48b428 ed2f42b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2485,6 +2485,9 @@ static int kgsl_pwrctrl_enable(struct kgsl_device *device)
static void kgsl_pwrctrl_disable(struct kgsl_device *device)
{
	if (kgsl_gmu_isenabled(device)) {
		struct kgsl_pwrctrl *pwr = &device->pwrctrl;

		pwr->active_pwrlevel = pwr->num_pwrlevels - 1;
		kgsl_pwrctrl_axi(device, KGSL_PWRFLAGS_OFF);
		return gmu_stop(device);
	}