nouveau: check if a fence has already been signalled
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 10 Jul 2014 03:20:43 +0000 (23:20 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 15 Jul 2014 21:57:45 +0000 (17:57 -0400)
commitbbc4a7bd31e604ee94b9285ec3e6c8bee0cb9502
tree7f384e8e74c92ba640cc85edda7c06dd76c43e2c
parentc11096c7497d12b54ace8709e696fcb823de9444
nouveau: check if a fence has already been signalled

nouveau_fence_update does real work unconditionally. Avoid doing that if
the fence we're checking on has already been signalled.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nouveau_fence.c