Re: [Intel-gfx] [PATCH 06/38] drm/i915: Support asynchronous waits on struct fence from i915_gem_request

2016-09-21 Thread Joonas Lahtinen
On ti, 2016-09-20 at 09:29 +0100, Chris Wilson wrote: > + if (!fence_is_array(fence)) { > + ret = i915_sw_fence_await_dma_fence(>submit, > + fence, 10*HZ, #define I915_MAX_USERSPACE_WAIT or something. We already have two instances of

[Intel-gfx] [PATCH 06/38] drm/i915: Support asynchronous waits on struct fence from i915_gem_request

2016-09-20 Thread Chris Wilson
We will need to wait on DMA completion (as signaled via struct fence) before executing our i915_gem_request. Therefore we want to expose a method for adding the await on the fence itself to the request. Signed-off-by: Chris Wilson ---