summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bennett <stuart@freedesktop.org>2009-03-24 23:39:41 +0000
committerStuart Bennett <stuart@freedesktop.org>2009-03-25 02:50:34 +0000
commitc9cfeaa5542e08381a8144d0a5bd96036a19082f (patch)
treedba14cda797605471b8aed3e46c0b6f71f2f8dbf
parent03ca202fa56ad7711ad0f7527a1e537154093e8a (diff)
nouveau: plug drm fifo ioremap leak (#14941)
-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;
}