summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c
diff options
context:
space:
mode:
authorBen Skeggs2018-05-08 12:39:48 +0200
committerBen Skeggs2019-02-20 00:00:00 +0100
commitab2ee9ffa38ac1bcb7321a615872739e3e240b75 (patch)
tree8adeb99e37056f91706b3b16f3f900da84f94a6c /drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c
parentdrm/nouveau/mmu/gp100-: add privileged methods for fault replay/cancel (diff)
downloadkernel-qcow2-linux-ab2ee9ffa38ac1bcb7321a615872739e3e240b75.tar.gz
kernel-qcow2-linux-ab2ee9ffa38ac1bcb7321a615872739e3e240b75.tar.xz
kernel-qcow2-linux-ab2ee9ffa38ac1bcb7321a615872739e3e240b75.zip
drm/nouveau/mmu/gp100-: support vmms with gcc/tex replayable faults enabled
Some GPU units are capable of supporting "replayable" page faults, where the execution unit will wait for SW to fixup GPU page tables rather than triggering a channel-fatal fault. This feature isn't useful (it's harmful, even) unless something like HMM is being used to manage events appearing in the replayable fault buffer, so, it's disabled by default. This commit allows a client to request it be enabled. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c
index 172d685932d0..f0e21f63253a 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgv100.c
@@ -84,6 +84,6 @@ gv100_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size,
void *argv, u32 argc, struct lock_class_key *key,
const char *name, struct nvkm_vmm **pvmm)
{
- return nv04_vmm_new_(&gv100_vmm, mmu, 0, managed, addr, size,
- argv, argc, key, name, pvmm);
+ return gp100_vmm_new_(&gv100_vmm, mmu, managed, addr, size,
+ argv, argc, key, name, pvmm);
}