nouveau: avoid queueing too much work onto a single fence
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 6 Nov 2015 05:44:10 +0000 (00:44 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Nov 2015 23:58:58 +0000 (18:58 -0500)
commit53cbb11707a502a31bb9f0380d730840245ee9b2
tree19317ad7571438e08914e7887938f7b7554ec2a0
parent0f5b1409fd2f9b26c45e750a37947d27c892ee60
nouveau: avoid queueing too much work onto a single fence

Force the fence to get kicked off, which won't actually wait for its
completion, but any additional work will be put onto a fresh list.

This fixes crashes in teximage-colors --benchmark with too many active
maps.

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