commit | 24f246ac10ae6a6ae873045387d4501498869f74 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Fri Jun 10 13:36:08 2011 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Thu Jun 23 16:03:46 2011 +1000 |
tree | eb0c2dde2080898958e317c37ed87bb883653678 | |
parent | 15ba79ad44fed84a9dabf6996144789424abae5b [diff] |
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 <bskeggs@redhat.com>