nv50,nvc0: make sure to destroy the mutex used for blits
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 8 Mar 2016 18:01:13 +0000 (19:01 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 8 Mar 2016 20:24:46 +0000 (21:24 +0100)
commit752769e0531bc9b15e95a2bb2250dc0970b1a421
treebc9a117be01a24463d0aabd54efbd108495d9778
parent3146014d5f0f68b3c7524257ca095f1b475d25f2
nv50,nvc0: make sure to destroy the mutex used for blits

This mutex is initialized when the blitter is created, but it is never
destroyed. This doesn't hurt anything but it makes sense to destroy it
at blitter deletion.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_surface.c
src/gallium/drivers/nouveau/nvc0/nvc0_surface.c