Lines Matching refs:timeout
76 * up by timeout and gpu hang recovery code. Minimally that code must prevent
84 * time means. Some hang recovery code uses a fixed timeout, others a mix
86 * Drivers should not try to second guess timeout handling of fences from
210 * and timeout, gpu reset and gpu hang recovery code. Plus for integration
484 * or until timeout elapses
487 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
490 * remaining timeout in jiffies on success. Other error values may be
501 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout)
505 if (WARN_ON(timeout < 0))
516 ret = fence->ops->wait(fence, intr, timeout);
518 ret = dma_fence_default_wait(fence, intr, timeout);
750 * or until timeout elapses
753 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
756 * remaining timeout in jiffies on success. If timeout is zero the value one is
758 * functions taking a jiffies timeout.
761 dma_fence_default_wait(struct dma_fence *fence, bool intr, signed long timeout)
765 signed long ret = timeout ? timeout : 1;
777 if (!timeout) {
829 * or until timeout elapses
833 * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
838 * interrupted, 0 if the wait timed out, or the remaining timeout in jiffies
849 bool intr, signed long timeout, uint32_t *idx)
852 signed long ret = timeout;
855 if (WARN_ON(!fences || !count || timeout < 0))
858 if (timeout == 0) {