projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
215f902
)
drm/nouveau: Free nv04 instmem ramin heap at card takedown
author
Jimmy Rentz
<jb17bsome@gmail.com>
Sun, 17 Apr 2011 20:15:03 +0000
(16:15 -0400)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 16 May 2011 00:49:58 +0000
(10:49 +1000)
Add a missing nv04 instmem ramin heap shutdown call.
Signed-off-by: Jimmy Rentz <jb17bsome@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv04_instmem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv04_instmem.c
b/drivers/gpu/drm/nouveau/nv04_instmem.c
index
b8e3edb
..
b8611b9
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv04_instmem.c
+++ b/
drivers/gpu/drm/nouveau/nv04_instmem.c
@@
-95,6
+95,9
@@
nv04_instmem_takedown(struct drm_device *dev)
nouveau_ramht_ref(NULL, &dev_priv->ramht, NULL);
nouveau_gpuobj_ref(NULL, &dev_priv->ramro);
nouveau_gpuobj_ref(NULL, &dev_priv->ramfc);
+
+ if (drm_mm_initialized(&dev_priv->ramin_heap))
+ drm_mm_takedown(&dev_priv->ramin_heap);
}
int