• Ben Skeggs's avatar
    drm/nouveau/fifo: add chid allocator · 800ac1f8
    Ben Skeggs authored
    We need to be able to allocate TSG IDs as well as channel IDs, also,
    Ampere has per-runlist channel IDs.
    
    - holds per-ID private data, which will be used for/to protect lookup
    - holds an nvkm_event which will be used for events tied to IDs
    - not used yet beyond setup, and switching use of "fifo->nr - 1" for
      channel ID mask to "chid->mask"
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
    800ac1f8
Kbuild 1.2 KB