Quoting Tvrtko Ursulin (2018-05-23 16:13:38)
> 
> On 22/05/2018 19:00, Lionel Landwerlin wrote:
> > @@ -804,6 +820,10 @@ i915_request_alloc(struct intel_engine_cs *engine, 
> > struct i915_gem_context *ctx)
> >        */
> >       rq->head = rq->ring->emit;
> >   
> > +     ret = add_global_barrier(rq);
> > +     if (ret)
> > +             goto err_unwind;
> 
> Who ever clears the barrier?

Automatically cleared on request retirement (as it is hooked in with a
i915_gem_active).
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to