Re: [Intel-gfx] [PATCH 11/13] drm/i915: Extend execution fence to support a callback

2019-03-11 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-03-11 13:09:11) > > > On 08/03/2019 14:12, Chris Wilson wrote: > > +int > > +i915_request_await_execution(struct i915_request *rq, > > + struct dma_fence *fence, > > + void (*hook)(struct i915_request *rq, > > +

Re: [Intel-gfx] [PATCH 11/13] drm/i915: Extend execution fence to support a callback

2019-03-11 Thread Tvrtko Ursulin
On 08/03/2019 14:12, Chris Wilson wrote: In the next patch, we will want to configure the slave request depending on which physical engine the master request is executed on. For this, we introduce a callback from the execute fence to convey this information. Signed-off-by: Chris Wilson ---

[Intel-gfx] [PATCH 11/13] drm/i915: Extend execution fence to support a callback

2019-03-08 Thread Chris Wilson
In the next patch, we will want to configure the slave request depending on which physical engine the master request is executed on. For this, we introduce a callback from the execute fence to convey this information. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_request.c | 84 +