drm/gk208/gr: add missing registers to grctx init
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Jun 2014 19:39:45 +0000 (15:39 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 10 Jun 2014 06:08:09 +0000 (16:08 +1000)
This fixes hangs on GK208 which happen instantaneously on trying to use a
geometry shader.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org # v3.14+
drivers/gpu/drm/nouveau/core/engine/graph/ctxnv108.c

index 48351b4d6d6bd8460ee83b2110f9e1adce7235bf..8de4a4291548897d85d84a2662f031b364bb3bc9 100644 (file)
@@ -545,10 +545,12 @@ nv108_grctx_generate_mods(struct nvc0_graph_priv *priv, struct nvc0_grctx *info)
        mmio_list(0x408010, 0x80000000,  0, 0);
        mmio_list(0x419004, 0x00000000,  8, 1);
        mmio_list(0x419008, 0x00000000,  0, 0);
+       mmio_list(0x4064cc, 0x80000000,  0, 0);
        mmio_list(0x408004, 0x00000000,  8, 0);
        mmio_list(0x408008, 0x80000030,  0, 0);
        mmio_list(0x418808, 0x00000000,  8, 0);
        mmio_list(0x41880c, 0x80000030,  0, 0);
+       mmio_list(0x4064c8, 0x00c20200,  0, 0);
        mmio_list(0x418810, 0x80000000, 12, 2);
        mmio_list(0x419848, 0x10000000, 12, 2);
 
This page took 0.025826 seconds and 5 git commands to generate.