Lines Matching defs:wait
1876 * @bo: buffer object to wait for
1877 * @timeout_ns: amount of time to wait in nanoseconds.
1878 * If value is less than 0, an infinite wait will occur.
1880 * Returns 0 if the wait was successful ie. the last batch referencing the
1882 * value describes the error. Of particular interest is -ETIME when the wait has
1888 * not hold the lock for the duration of the wait). This makes the wait subject
1891 * The implementation shall wait until the object is no longer actively
1892 * referenced within a batch buffer at the time of the call. The wait will
1897 * Note that some kernels have broken the inifite wait for negative values
1905 struct drm_i915_gem_wait wait;
1909 DBG("%s:%d: Timed wait is not supported. Falling back to "
1910 "infinite wait\n", __FILE__, __LINE__);
1919 memclear(wait);
1920 wait.bo_handle = bo_gem->gem_handle;
1921 wait.timeout_ns = timeout_ns;
1922 ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_WAIT, &wait);
2736 * This is the default behaviour of the kernel, to wait upon prior writes
2737 * completing on the object before rendering with it, or to wait for prior