summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/nouveau_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/nouveau_dma.c b/shared-core/nouveau_dma.c
index e519dc4e..8b1549c7 100644
--- a/shared-core/nouveau_dma.c
+++ b/shared-core/nouveau_dma.c
@@ -121,6 +121,7 @@ nouveau_dma_channel_takedown(struct drm_device *dev)
DRM_DEBUG("\n");
if (dchan->chan) {
+ drm_core_ioremapfree(dchan->chan->pushbuf_mem->map, dev);
nouveau_fifo_free(dchan->chan);
dchan->chan = NULL;
}