• Ben Skeggs's avatar
    drm/nouveau/mmu: implement base for new vm management · 806a7335
    Ben Skeggs authored
    This is the first chunk of the new VMM code that provides the structures
    needed to describe a GPU virtual address-space layout, as well as common
    interfaces to handle VMM creation, and connecting instances to a VMM.
    
    The constructor now allocates the PD itself, rather than having the user
    handle that manually.  This won't/can't be used until after all backends
    have been ported to these interfaces, so a little bit of memory will be
    wasted on Fermi and newer for a couple of commits in the series.
    
    Compatibility has been hacked into the old code to allow each GPU backend
    to be ported individually.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    806a7335
nv04.c 3.96 KB