drm/nouveau: unpin various bo's before destroying
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 25 Nov 2012 22:04:23 +0000 (23:04 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 28 Nov 2012 23:58:11 +0000 (09:58 +1000)
commit04c8c21085e13011a2eaf3ae518ab44e23e21917
treeeb7fe589503f248555e3fc7e33d071932c78dd86
parent124ea297c8f0e0a3a567af0894fdbe05caaf80ec
drm/nouveau: unpin various bo's before destroying

These objects leak VRAM - but only on module unload.

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