drm/nouveau: Free nv04 instmem ramin heap at card takedown
Subsystems (4)
PATCH 1/1 drm/nouveau: Free nv04 instmem ramin heap at card takedown
Add a missing nv04 instmem ramin heap shutdown call.
Signed-off-by Jimmy Rentz <[email protected]>
(quoted diff) +0 -0
b/drivers/gpu/drm/nouveau/nv04_instmem.c index b8e3edb..b8611b9 100644
drivers/gpu/drm/nouveau/nv04_instmem.c +3 -0
@@ -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
A message that is not in the archive (sent off-list or not yet received): 20110417161503.1769f9d0-bEIzoA7YQWm4miubQJdzGGS2/mPcPMSI/[email protected]
Quoted 1 line · Jimmy Rentz
Add a missing nv04 instmem ramin heap shutdown call.
Thank you, pushed this and the vga_ram patch.
Ben.
Quoted 21 lines
Signed-off-by Jimmy Rentz <[email protected]>(quoted diff) +0
-0
b/drivers/gpu/drm/nouveau/nv04_instmem.cindex b8e3edb..b8611b9 100644drivers/gpu/drm/nouveau/nv04_instmem.c +3
-0@@ -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 _______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau