drm/nouveau/platform: release IOMMU's mm upon exit
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 20 Mar 2015 10:41:04 +0000 (19:41 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 Apr 2015 07:00:51 +0000 (17:00 +1000)
commit25eb3a924f8589b5ad80e5d50d743befca8a46de
tree76243d7260637945a20981b773d68ccfd9f1709e
parented22e684622533f903dfad9beb99d872536c3040
drm/nouveau/platform: release IOMMU's mm upon exit

nvkm_mm_fini() was not called when exiting the driver, resulting in a
memory leak. Fix this.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_platform.c