From: Marcin Slusarz Date: Thu, 11 Oct 2012 21:53:48 +0000 (+0200) Subject: drm/nv50/fb: fix double free of vram mm X-Git-Tag: v3.7-rc3~22^2~7^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5db4c6c5dd26f7737c1fa45ea73549b8aef6e395;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c index 436e9ef..42d7539 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv50.c +++ b/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); } - nouveau_mm_fini(&priv->base.vram); nouveau_fb_destroy(&priv->base); }