diff options
| author | Ben Skeggs <bskeggs@redhat.com> | 2022-06-01 20:47:19 +1000 |
|---|---|---|
| committer | Ben Skeggs <bskeggs@redhat.com> | 2022-11-09 10:44:46 +1000 |
| commit | 8478cd5a740a092163c8ad5b6da1a1b488eb42bd (patch) | |
| tree | 4d1b7ed6edf9111fd93f626ad59ffb573277e747 /lib/mpi/mpi-add.c | |
| parent | 565bfaf1f26af0e9fc9aafbb7053da1187afe9f4 (diff) | |
drm/nouveau/nvkm: add locking to subdev/engine init paths
This wasn't really needed before; the main place this could race is with
channel recovery, but (through potentially fragile means) shouldn't have
been possible.
However, a number of upcoming patches benefit from having better control
over subdev init, necessitating some improvements here.
- allows subdev/engine oneinit() without init() (host/fifo patches)
- merges engine use locking/tracking into subdev, and extends it to fix
some issues that will arise with future usage patterns (acr patches)
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
