[Intel-gfx] [PATCH 1/2] drm/i915: Pass timeout==0 on to i915_gem_object_wait_fence()

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 14 09:40:23 UTC 2017


On Sun, Feb 12, 2017 at 09:53:43PM +0000, Chris Wilson wrote:
> The i915_gem_object_wait_fence() uses an incoming timeout=0 to query
> whether the current fence is busy or idle, without waiting. This can be
> used by the wait-ioctl to implement a busy query.
> 
> Fixes: e95433c73a11 ("drm/i915: Rearrange i915_wait_request() accounting with callers")
> Testcase: igt/gem_wait/basic-busy-write-all
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.william.auld at gmail.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: <drm-intel-fixes at lists.freedesktop.org> # v4.10-rc1+
> Cc: stable at vger.kernel.org

Pushed this patch with Joonas' IRC r-b. Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list