[Intel-gfx] [PATCH 2/7] drm/i915: Only sync tasklets once for recursive reset preparation

2018-05-16 Thread Chris Wilson
When setting up reset, we may need to recursively prepare an engine. In which case we should only synchronously flush the tasklets on the outer most call, the inner calls will then be inside an atomic section where the tasklet will never be run (and so the sync will never complete).

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Only sync tasklets once for recursive reset preparation

2018-05-16 Thread Chris Wilson
Quoting Mika Kuoppala (2018-05-16 15:24:56) > Chris Wilson writes: > > > When setting up reset, we may need to recursively prepare an engine. In > > which case we should only synchronously flush the tasklets on the outer > > most call, the inner calls will then be

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Only sync tasklets once for recursive reset preparation

2018-05-16 Thread Mika Kuoppala
Chris Wilson writes: > When setting up reset, we may need to recursively prepare an engine. In > which case we should only synchronously flush the tasklets on the outer > most call, the inner calls will then be inside an atomic section where > the tasklet will never be

[Intel-gfx] [PATCH 2/7] drm/i915: Only sync tasklets once for recursive reset preparation

2018-05-16 Thread Chris Wilson
When setting up reset, we may need to recursively prepare an engine. In which case we should only synchronously flush the tasklets on the outer most call, the inner calls will then be inside an atomic section where the tasklet will never be run (and so the sync will never complete).