nouveau: trigger the current fence's work on destroy explicitly
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 13 Jan 2021 05:38:10 +0000 (00:38 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 Jan 2021 16:59:18 +0000 (16:59 +0000)
commitf9237619d353d34c6d471cd39fe31c765d8dc529
tree9151c31f8497358f2987ccb97a196bfd18d6a6b0
parent3b265e828f9034fba770c034410a1a383e9f160f
nouveau: trigger the current fence's work on destroy explicitly

Otherwise the delete yells at us that there's still work pending. This
isn't an actual problem, but annoying to see each time.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8462>
src/gallium/drivers/nouveau/nouveau_fence.c