projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
485c2c9
)
drm/nouveau/fb/gf100-: zero mmu debug buffers
author
Ben Skeggs
<bskeggs@redhat.com>
Mon, 7 Aug 2017 03:27:31 +0000
(13:27 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 22 Aug 2017 08:04:33 +0000
(18:04 +1000)
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>
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
index 3841ad6be99e28568f3bf23912ed88309d7e7171..a239e73562c8123dae0d432e5ed006bb396a13ce 100644
(file)
--- 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,
-
fals
e, &fb->base.mmu_rd);
+
tru
e, &fb->base.mmu_rd);
if (ret)
return ret;
ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, size, 0x1000,
-
fals
e, &fb->base.mmu_wr);
+
tru
e, &fb->base.mmu_wr);
if (ret)
return ret;