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

Commit d862d2b4 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: Requeue context if dispatcher signaled to stop"

parents c78b8038 2c6ac670
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -466,7 +466,7 @@ static int sendcmd(struct adreno_device *adreno_dev,
	mutex_lock(&device->mutex);
	if (adreno_gpu_halt(adreno_dev) != 0) {
		mutex_unlock(&device->mutex);
		return -EINVAL;
		return -EBUSY;
	}

	dispatcher->inflight++;
@@ -629,8 +629,9 @@ static int dispatcher_context_sendcmds(struct adreno_device *adreno_dev,
		 * conditions improve
		 */
		if (ret) {
			ret = adreno_dispatcher_requeue_cmdbatch(drawctxt,
				cmdbatch);
			if (adreno_dispatcher_requeue_cmdbatch(drawctxt,
				cmdbatch))
				ret = -EINVAL;
			break;
		}