diff options
| author | Ben Skeggs <bskeggs@redhat.com> | 2022-06-01 20:47:23 +1000 |
|---|---|---|
| committer | Ben Skeggs <bskeggs@redhat.com> | 2022-11-09 10:44:47 +1000 |
| commit | 800ac1f8d708ea2b70ac55b3029687c1b4283431 (patch) | |
| tree | 85659dd7c229a4fb3b10ab94a3a24509593bae75 /lib/mpi/mpi-add.c | |
| parent | 9be9c606c4be74b5e8cbebe5b1ea96821e27b04f (diff) | |
drm/nouveau/fifo: add chid allocator
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: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
