diff options
author | Ben Skeggs | 2018-07-09 08:07:40 +0200 |
---|---|---|
committer | Ben Skeggs | 2019-02-20 00:00:00 +0100 |
commit | 71871aa6df5009ebf39ae94d15d0e9836bf91c03 (patch) | |
tree | 72fbc1234d977405cc407abdbc2d4a7f34451100 /drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c | |
parent | drm/nouveau/mmu: add a privileged method to directly manage PTEs (diff) | |
download | kernel-qcow2-linux-71871aa6df5009ebf39ae94d15d0e9836bf91c03.tar.gz kernel-qcow2-linux-71871aa6df5009ebf39ae94d15d0e9836bf91c03.tar.xz kernel-qcow2-linux-71871aa6df5009ebf39ae94d15d0e9836bf91c03.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c index 07b91d835e18..317a83e40def 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp10b.c @@ -28,6 +28,7 @@ gp10b_vmm = { .aper = gk20a_vmm_aper, .valid = gp100_vmm_valid, .flush = gp100_vmm_flush, + .mthd = gp100_vmm_mthd, .invalidate_pdb = gp100_vmm_invalidate_pdb, .page = { { 47, &gp100_vmm_desc_16[4], NVKM_VMM_PAGE_Sxxx }, |