drm/nouveau: unpin pushbuffer bo before destroying it
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 25 Nov 2012 22:02:28 +0000 (23:02 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 28 Nov 2012 23:58:11 +0000 (09:58 +1000)
commit124ea297c8f0e0a3a567af0894fdbe05caaf80ec
treeb0e032a8f31f3c3654d66e6c30f81026f38e394b
parent3f69e7605d6b072b9890845bb6d9f982bcd879ec
drm/nouveau: unpin pushbuffer bo before destroying it

Fixes GART leak (as accounted by nouveau_drm.gem.gart_available).

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_chan.c