diff options
-rw-r--r-- | sys/dev/pci/drm/i915/i915_request.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/i915/i915_request.c b/sys/dev/pci/drm/i915/i915_request.c index 0ea5f91b0f1..a2a5352b269 100644 --- a/sys/dev/pci/drm/i915/i915_request.c +++ b/sys/dev/pci/drm/i915/i915_request.c @@ -501,14 +501,16 @@ __await_execution(struct i915_request *rq, struct i915_request *signal, gfp_t gfp) { - STUB(); - return -ENOSYS; -#ifdef notyet struct execute_cb *cb; if (i915_request_is_active(signal)) return 0; + STUB(); + i915_sw_fence_await(&rq->submit); + return -ENOSYS; +#ifdef notyet + #ifdef __linux__ cb = kmem_cache_alloc(slab_execute_cbs, gfp); #else |