Commit 7a1af0f8 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fb/gf100-: zero mmu debug buffers

These are used for accesses to sparse mappings, and we want reads of
such mappings to return 0.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 485c2c91
...@@ -60,12 +60,12 @@ gf100_fb_oneinit(struct nvkm_fb *base) ...@@ -60,12 +60,12 @@ gf100_fb_oneinit(struct nvkm_fb *base)
size = min(size, 0x1000); size = min(size, 0x1000);
ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, size, 0x1000, ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, size, 0x1000,
false, &fb->base.mmu_rd); true, &fb->base.mmu_rd);
if (ret) if (ret)
return ret; return ret;
ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, size, 0x1000, ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, size, 0x1000,
false, &fb->base.mmu_wr); true, &fb->base.mmu_wr);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment