Browse Source

drm/nv50/fb: fix double free of vram mm

nouveau_fb_destroy already calls nouveau_mm_fini on vram mm.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Marcin Slusarz 13 years ago
parent
commit
5db4c6c5dd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c

+ 0 - 1
drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c

@@ -277,7 +277,6 @@ nv50_fb_dtor(struct nouveau_object *object)
 		__free_page(priv->r100c08_page);
 		__free_page(priv->r100c08_page);
 	}
 	}
 
 
-	nouveau_mm_fini(&priv->base.vram);
 	nouveau_fb_destroy(&priv->base);
 	nouveau_fb_destroy(&priv->base);
 }
 }