• Ben Skeggs's avatar
    drm/nouveau: hang drm client of a master · cb7e88e7
    Ben Skeggs authored
    TTM memory allocations will be hanging off the DRM's client, but the
    locking needed to do so gets really tricky with all the other use of
    the DRM's object tree.
    
    To solve this, we make the normal DRM client a child of a new master,
    where the memory allocations will be done from instead.
    
    This also solves a potential race with client creation.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    cb7e88e7
nouveau_drv.h 5.79 KB