From: Ben Skeggs Date: Fri, 10 Jun 2011 03:36:08 +0000 (+1000) Subject: drm/nouveau: rework vram init/fini ordering a little X-Git-Tag: v3.1-rc1~230^2~22^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24f246ac10ae6a6ae873045387d4501498869f74;p=pandora-kernel.git drm/nouveau: rework vram init/fini ordering a little Commit "drm/nouveau: add some debug output if nouveau_mm busy at destroy time" revealed an issue where vram mm takedown would actually fail due to there still being nodes present, causing nouveau to leak a small amount of memory on module unload. This splits TTM/nouveau_mm a bit more cleanly and ensures nouveau_mm fini isn't done until all gpuobjs are also destroyed. Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed