• Ben Skeggs's avatar
    drm/nouveau/nvkm: add a replacement for nvkm_notify · f43e47c0
    Ben Skeggs authored
    This replaces the twisty, confusing, relationship between nvkm_event and
    nvkm_notify with something much simpler, and less racey.  It also places
    events in the object tree hierarchy, which will allow a heap of the code
    tracking events across allocation/teardown/suspend to be removed.
    
    This commit just adds the new interfaces, and passes the owning subdev to
    the event constructor to enable debug-tracing in the new code.
    
    v2:
    - use ?: (lyude)
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
    f43e47c0
if000e.h 423 Bytes