Lines Matching full:pending
149 atomic_set_release(&fence->pending, -1); /* 0 -> -1 [done] */ in __i915_sw_fence_wake_up_all()
196 if (!atomic_dec_and_test(&fence->pending)) in __i915_sw_fence_complete()
224 int pending; in i915_sw_fence_await() local
230 pending = atomic_read(&fence->pending); in i915_sw_fence_await()
232 if (pending < 1) in i915_sw_fence_await()
234 } while (!atomic_try_cmpxchg(&fence->pending, &pending, pending + 1)); in i915_sw_fence_await()
257 atomic_set(&fence->pending, 1); in i915_sw_fence_reinit()
344 unsigned int pending; in __i915_sw_fence_await_sw_fence() local
361 pending = I915_SW_FENCE_FLAG_FENCE; in __i915_sw_fence_await_sw_fence()
373 pending |= I915_SW_FENCE_FLAG_ALLOC; in __i915_sw_fence_await_sw_fence()
377 wq->flags = pending; in __i915_sw_fence_await_sw_fence()
386 pending = 1; in __i915_sw_fence_await_sw_fence()
389 pending = 0; in __i915_sw_fence_await_sw_fence()
393 return pending; in __i915_sw_fence_await_sw_fence()
580 int ret = 0, pending; in i915_sw_fence_await_reservation() local
587 pending = i915_sw_fence_await_dma_fence(fence, f, timeout, in i915_sw_fence_await_reservation()
589 if (pending < 0) { in i915_sw_fence_await_reservation()
590 ret = pending; in i915_sw_fence_await_reservation()
594 ret |= pending; in i915_sw_fence_await_reservation()