Re: [Intel-gfx] [PATCH 10/19] drm/i915/execlists: Assert there are no simple cycles in the dependencies

2018-01-03 Thread MichaƂ Winiarski
On Tue, Jan 02, 2018 at 03:12:26PM +, Chris Wilson wrote: > The dependency chain must be an acyclic graph. This is checked by the > swfence, but for sanity, also do a simple check that we do not corrupt > our list iteration in execlists_schedule() by a shallow dependency > cycle. > >

[Intel-gfx] [PATCH 10/19] drm/i915/execlists: Assert there are no simple cycles in the dependencies

2018-01-02 Thread Chris Wilson
The dependency chain must be an acyclic graph. This is checked by the swfence, but for sanity, also do a simple check that we do not corrupt our list iteration in execlists_schedule() by a shallow dependency cycle. Signed-off-by: Chris Wilson ---