drm/nouveau/mmu/gp100-: add privileged methods for fault replay/cancel
Host methods exist to do at least some of what we need, but we are not
currently pushing replay/cancels through a channel like UVM does as it's
not clear whether it's necessary in our case (UVM also updates PTEs with
the GPU).
UVM also pushes a software method for fault cancels on Pascal, seemingly
because the host methods don't appear to be sufficient. If/when we want
to push the replay/cancel on the GPU, we can re-purpose the cancellation
code here to implement that swmthd.
Keep it simple for now, until we figure out exactly what we need here.
Signed-off-by:
Ben Skeggs <bskeggs@redhat.com>
Showing
- drivers/gpu/drm/nouveau/include/nvif/if000c.h 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/include/nvif/if000c.h
- drivers/gpu/drm/nouveau/include/nvif/ifc00d.h 15 additions, 0 deletionsdrivers/gpu/drm/nouveau/include/nvif/ifc00d.h
- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c 7 additions, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h 4 additions, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h
- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c 71 additions, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c
- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c
- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c
Loading
Please register or sign in to comment