diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-08-07 06:27:31 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-08-22 11:04:33 +0300 |
commit | 7a1af0f8bb0c8ba2a3a97f8a82f782549b3116df (patch) | |
tree | 90e371d1fb2380e1636cedf9b47e44856603b277 | |
parent | 485c2c91d403185c126dd18bfc98599be9db3acf (diff) | |
download | linux-7a1af0f8bb0c8ba2a3a97f8a82f782549b3116df.tar.xz |
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: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c index 3841ad6be99e..a239e73562c8 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c @@ -60,12 +60,12 @@ gf100_fb_oneinit(struct nvkm_fb *base) size = min(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) return ret; ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, size, 0x1000, - false, &fb->base.mmu_wr); + true, &fb->base.mmu_wr); if (ret) return ret; |