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

Commit 7716ea56 authored by Monk Liu's avatar Monk Liu Committed by Alex Deucher
Browse files

drm/amdgpu:skip job for guilty ctx in parser_init

parent 1102900d
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -90,6 +90,12 @@ static int amdgpu_cs_parser_init(struct amdgpu_cs_parser *p, void *data)
		goto free_chunk;
		goto free_chunk;
	}
	}


	/* skip guilty context job */
	if (atomic_read(&p->ctx->guilty) == 1) {
		ret = -ECANCELED;
		goto free_chunk;
	}

	mutex_lock(&p->ctx->lock);
	mutex_lock(&p->ctx->lock);


	/* get chunks */
	/* get chunks */