Lines Matching refs:wait

178 	.wait = i915_fence_wait,
791 * wait until the submit_request() is completed before
840 /* If we cannot wait, dip into our reserves */
1173 * (post-wrap) values than they were expecting (and so wait
1205 struct i915_sw_fence *wait = &to->submit;
1240 wait = &to->semaphore;
1243 return i915_sw_fence_await_dma_fence(wait,
1303 * So we wait.
1305 * However, there is also a second condition for which we need to wait
1310 * immediate execution, and so we must wait until it reaches the
1342 * it wait upon a semaphore.
1561 * i915_request_await_deps - set this request to (async) wait upon a struct
1582 * i915_request_await_object - set this request to (async) wait upon a bo
1585 * @write: whether the wait is on behalf of a writer
1593 * request must wait for it to complete (either CPU or in hw, requests
1597 * request must wait for outstanding read requests to complete.
1907 * Only wait for the request if we know it is likely to complete.
1923 * required to set up the irq and wait upon it limits the response
1956 struct request_wait *wait = container_of(cb, typeof(*wait), cb);
1958 wake_up_process(fetch_and_zero(&wait->tsk));
1962 * i915_request_wait_timeout - wait until execution of request has finished
1963 * @rq: the request to wait upon
1964 * @flags: how to wait
1965 * @timeout: how long to wait in jiffies
1969 * unbounded wait).
1978 * NOTE: This function has the same wait semantics as dma-fence.
1986 struct request_wait wait;
2000 * We must never wait on the GPU while holding a lock as we
2002 * serialise wait/reset with an explicit lock, we do want
2012 * wait upon an old swapbuffer to throttle itself to remain within a
2017 * short wait, we first spin to see if the request would have completed
2049 wait.tsk = current;
2050 if (dma_fence_add_callback(&rq->fence, &wait.cb, request_wait_wake))
2091 if (READ_ONCE(wait.tsk))
2092 dma_fence_remove_callback(&rq->fence, &wait.cb);
2093 GEM_BUG_ON(!list_empty(&wait.cb.node));
2102 * i915_request_wait - wait until execution of request has finished
2103 * @rq: the request to wait upon
2104 * @flags: how to wait
2105 * @timeout: how long to wait in jiffies
2109 * unbounded wait).
2116 * NOTE: This function behaves differently from dma-fence wait semantics for
2206 * - a ready request may still need to wait on semaphores