Lines Matching full:timeout
20 long timeout) in i915_gem_object_wait_fence() argument
25 return timeout; in i915_gem_object_wait_fence()
28 return i915_request_wait_timeout(to_request(fence), flags, timeout); in i915_gem_object_wait_fence()
32 timeout); in i915_gem_object_wait_fence()
69 long timeout) in i915_gem_object_wait_reservation() argument
73 long ret = timeout ?: 1; in i915_gem_object_wait_reservation()
80 ret = i915_gem_object_wait_fence(fence, flags, timeout); in i915_gem_object_wait_reservation()
84 if (timeout) in i915_gem_object_wait_reservation()
85 timeout = ret; in i915_gem_object_wait_reservation()
167 * @timeout: how long to wait
172 long timeout) in i915_gem_object_wait() argument
175 GEM_BUG_ON(timeout < 0); in i915_gem_object_wait()
177 timeout = i915_gem_object_wait_reservation(obj->base.resv, in i915_gem_object_wait()
178 flags, timeout); in i915_gem_object_wait()
180 if (timeout < 0) in i915_gem_object_wait()
181 return timeout; in i915_gem_object_wait()
183 return !timeout ? -ETIME : 0; in i915_gem_object_wait()
214 * the timeout parameter.
215 * -ETIME: object is still busy after timeout
224 * The wait ioctl with a timeout of 0 reimplements the busy ioctl. With any
225 * non-zero timeout parameter the wait ioctl will wait for the given number of