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 /tools/perf/scripts/python/stackcollapse.py | |
| parent | drm/nouveau/mc/ga100: switch to using NV_PMC_DEVICE_ENABLE (diff) | |
| download | linux-8478cd5a740a092163c8ad5b6da1a1b488eb42bd.tar.gz linux-8478cd5a740a092163c8ad5b6da1a1b488eb42bd.zip | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
