drm/nouveau/gr/gp100-: fix pagepool setup
authorBen Skeggs <bskeggs@redhat.com>
Tue, 8 May 2018 10:39:47 +0000 (20:39 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 18 May 2018 05:01:26 +0000 (15:01 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c

index 2344fd8086f72c1d54bc7b0789c4e97ea1c16f31..c51e3a27af144b2ad0ad6abc6f7a72417396eee7 100644 (file)
@@ -36,7 +36,7 @@ gp100_grctx_generate_pagepool(struct gf100_grctx *info)
        const int s = 8;
        const int b = mmio_vram(info, grctx->pagepool_size, (1 << s), true);
        mmio_refn(info, 0x40800c, 0x00000000, s, b);
-       mmio_wr32(info, 0x408010, 0x80000000);
+       mmio_wr32(info, 0x408010, 0x8007d800);
        mmio_refn(info, 0x419004, 0x00000000, s, b);
        mmio_wr32(info, 0x419008, 0x00000000);
 }