summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2017-11-01 03:56:50 +1000
committerJérôme Glisse <jglisse@redhat.com>2018-03-21 21:19:45 -0400
commiteb4ec64be6374a4a2a0bbf88b740bcbad2494017 (patch)
tree0d1b9df327a875c7748a9ec53ecf4ba5b043f0a1
parent5de7b3a2345f2e1cd3b71f4223a406431cba18e0 (diff)
drm/nouveau/mmu/gp100: allow gcc/tex to generate replayable faults
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
index 059fafe0e771..8752d9ce4af0 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
@@ -315,7 +315,10 @@ gp100_vmm_flush(struct nvkm_vmm *vmm, int depth)
int
gp100_vmm_join(struct nvkm_vmm *vmm, struct nvkm_memory *inst)
{
- const u64 base = BIT_ULL(10) /* VER2 */ | BIT_ULL(11); /* 64KiB */
+ const u64 base = BIT_ULL(4) /* FAULT_REPLAY_TEX */ |
+ BIT_ULL(5) /* FAULT_REPLAY_GCC */ |
+ BIT_ULL(10) /* VER2 */ |
+ BIT_ULL(11) /* 64KiB */;
return gf100_vmm_join_(vmm, inst, base);
}