Lines Matching refs:timeout
75 * up by timeout and gpu hang recovery code. Minimally that code must prevent
83 * time means. Some hang recovery code uses a fixed timeout, others a mix
85 * Drivers should not try to second guess timeout handling of fences from
175 * and timeout, gpu reset and gpu hang recovery code. Plus for integration
393 * or until timeout elapses
396 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
399 * remaining timeout in jiffies on success. Other error values may be
410 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout)
414 if (WARN_ON(timeout < 0))
423 ret = fence->ops->wait(fence, intr, timeout);
425 ret = dma_fence_default_wait(fence, intr, timeout);
663 * or until timeout elapses
666 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
669 * remaining timeout in jiffies on success. If timeout is zero the value one is
671 * functions taking a jiffies timeout.
674 dma_fence_default_wait(struct dma_fence *fence, bool intr, signed long timeout)
678 signed long ret = timeout ? timeout : 1;
693 if (!timeout) {
745 * or until timeout elapses
749 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
754 * interrupted, 0 if the wait timed out, or the remaining timeout in jiffies
765 bool intr, signed long timeout, uint32_t *idx)
768 signed long ret = timeout;
771 if (WARN_ON(!fences || !count || timeout < 0))
774 if (timeout == 0) {