• B
    drm/nouveau: rework vram init/fini ordering a little · 24f246ac
    Ben Skeggs 提交于
    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: NBen Skeggs <bskeggs@redhat.com>
    24f246ac
nouveau_drv.h 50.2 KB