Lines Matching refs:timeout
671 struct i915_sw_fence *timeout = NULL, *not = NULL; in test_dma_fence() local
681 timeout = wrap_dma_fence(dma, delay); in test_dma_fence()
682 if (IS_ERR(timeout)) { in test_dma_fence()
683 err = PTR_ERR(timeout); in test_dma_fence()
694 if (i915_sw_fence_done(timeout) || i915_sw_fence_done(not)) { in test_dma_fence()
710 if (i915_sw_fence_done(timeout) || i915_sw_fence_done(not)) { in test_dma_fence()
715 if (!wait_event_timeout(timeout->wait, in test_dma_fence()
716 i915_sw_fence_done(timeout), in test_dma_fence()
730 if (!i915_sw_fence_done(timeout) || !i915_sw_fence_done(not)) { in test_dma_fence()
736 free_fence(timeout); in test_dma_fence()
743 if (!IS_ERR_OR_NULL(timeout)) in test_dma_fence()
744 free_fence(timeout); in test_dma_fence()