Home
last modified time | relevance | path

Searched hist:"24 f246ac10ae6a6ae873045387d4501498869f74" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_mem.c24f246ac10ae6a6ae873045387d4501498869f74 Fri Jun 10 03:36:08 UTC 2011 Ben Skeggs <bskeggs@redhat.com> 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>