Lines Matching refs:signaler

283 				    const struct i915_sw_fence * const signaler)  in __i915_sw_fence_check_if_after()  argument
290 if (fence == signaler) in __i915_sw_fence_check_if_after()
297 if (__i915_sw_fence_check_if_after(wq->private, signaler)) in __i915_sw_fence_check_if_after()
320 const struct i915_sw_fence * const signaler) in i915_sw_fence_check_if_after() argument
326 err = __i915_sw_fence_check_if_after(fence, signaler); in i915_sw_fence_check_if_after()
334 const struct i915_sw_fence * const signaler) in i915_sw_fence_check_if_after() argument
341 struct i915_sw_fence *signaler, in __i915_sw_fence_await_sw_fence() argument
350 if (i915_sw_fence_done(signaler)) { in __i915_sw_fence_await_sw_fence()
351 i915_sw_fence_set_error_once(fence, signaler->error); in __i915_sw_fence_await_sw_fence()
355 debug_fence_assert(signaler); in __i915_sw_fence_await_sw_fence()
358 if (unlikely(i915_sw_fence_check_if_after(fence, signaler))) in __i915_sw_fence_await_sw_fence()
368 i915_sw_fence_wait(signaler); in __i915_sw_fence_await_sw_fence()
369 i915_sw_fence_set_error_once(fence, signaler->error); in __i915_sw_fence_await_sw_fence()
383 spin_lock_irqsave(&signaler->wait.lock, flags); in __i915_sw_fence_await_sw_fence()
384 if (likely(!i915_sw_fence_done(signaler))) { in __i915_sw_fence_await_sw_fence()
385 __add_wait_queue_entry_tail(&signaler->wait, wq); in __i915_sw_fence_await_sw_fence()
388 i915_sw_fence_wake(wq, 0, signaler->error, NULL); in __i915_sw_fence_await_sw_fence()
391 spin_unlock_irqrestore(&signaler->wait.lock, flags); in __i915_sw_fence_await_sw_fence()
397 struct i915_sw_fence *signaler, in i915_sw_fence_await_sw_fence() argument
400 return __i915_sw_fence_await_sw_fence(fence, signaler, wq, 0); in i915_sw_fence_await_sw_fence()
404 struct i915_sw_fence *signaler, in i915_sw_fence_await_sw_fence_gfp() argument
407 return __i915_sw_fence_await_sw_fence(fence, signaler, NULL, gfp); in i915_sw_fence_await_sw_fence_gfp()