drm/nouveau: fence: separate fence alloc and emit
The new (VM_BIND) UAPI exports DMA fences through DRM syncobjs. Hence, in order to emit fences within DMA fence signalling critical sections (e.g. as typically done in the DRM GPU schedulers run_job() callback) we need to separate fence allocation and fence emitting. Reviewed-by:Dave Airlie <airlied@redhat.com> Signed-off-by:
Danilo Krummrich <dakr@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230804182406.5222-8-dakr@redhat.com
Showing
- drivers/gpu/drm/nouveau/dispnv04/crtc.c 8 additions, 1 deletiondrivers/gpu/drm/nouveau/dispnv04/crtc.c
- drivers/gpu/drm/nouveau/nouveau_bo.c 31 additions, 21 deletionsdrivers/gpu/drm/nouveau/nouveau_bo.c
- drivers/gpu/drm/nouveau/nouveau_chan.c 4 additions, 2 deletionsdrivers/gpu/drm/nouveau/nouveau_chan.c
- drivers/gpu/drm/nouveau/nouveau_dmem.c 6 additions, 3 deletionsdrivers/gpu/drm/nouveau/nouveau_dmem.c
- drivers/gpu/drm/nouveau/nouveau_fence.c 5 additions, 11 deletionsdrivers/gpu/drm/nouveau/nouveau_fence.c
- drivers/gpu/drm/nouveau/nouveau_fence.h 1 addition, 2 deletionsdrivers/gpu/drm/nouveau/nouveau_fence.h
- drivers/gpu/drm/nouveau/nouveau_gem.c 4 additions, 1 deletiondrivers/gpu/drm/nouveau/nouveau_gem.c
Please register or sign in to comment