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@xxxxxxxxxxxxxxxxxx> > Cc: Matthew Auld <matthew.william.auld@xxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Cc: <drm-intel-fixes@xxxxxxxxxxxxxxxxxxxxx> # v4.10-rc1+ > Cc: stable@xxxxxxxxxxxxxxx Pushed this patch with Joonas' IRC r-b. Thanks, -Chris -- Chris Wilson, Intel Open Source Technology Centre -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html