diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-01-30 23:18:21 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-01-30 23:18:21 +0000 |
commit | bce31b490b16dbd3951a76c79007599db15b0698 (patch) | |
tree | 7c7736872d4af0da5700c4511544ec724f476f08 /sys/dev/pci | |
parent | c9be01505d3a712a5d19017f7fdc4392b83341d1 (diff) |
push stub down in __await_execution()
functions in this file want to reach into the implementation of
irq work which for us isn't a llist but rather a task
Diffstat (limited to 'sys/dev/pci')
-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 |