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

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

Merge "msm: kgsl: Change call timing to alleviate mutex contention"

parents a3e19b05 2c32f734
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1129,8 +1129,6 @@ void kgsl_idle_check(struct work_struct *work)

	mutex_lock(&device->mutex);

	kgsl_pwrscale_update(device);

	if (device->state == KGSL_STATE_ACTIVE
		   || device->state ==  KGSL_STATE_NAP) {

@@ -1144,6 +1142,7 @@ void kgsl_idle_check(struct work_struct *work)
					device->pwrctrl.interval_timeout);
	}

	kgsl_pwrscale_update(device);
	mutex_unlock(&device->mutex);
}
EXPORT_SYMBOL(kgsl_idle_check);