drm/nvc0/gr: copy GPC mpart config from PFFB
authorBen Skeggs <bskeggs@redhat.com>
Wed, 29 Jun 2011 00:42:14 +0000 (10:42 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 20 Sep 2011 06:04:15 +0000 (16:04 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_graph.c

index 84321640a071404c762ec4aa9cef61cad8f69503..1a17530efb8c46e7df356018be596b1fb96f88fa 100644 (file)
@@ -390,7 +390,7 @@ nvc0_graph_init_gpc_0(struct drm_device *dev)
        }
 
        nv_wr32(dev, GPC_BCAST(0x1bd4), magicgpc918);
-       nv_wr32(dev, GPC_BCAST(0x08ac), priv->rop_nr);
+       nv_wr32(dev, GPC_BCAST(0x08ac), nv_rd32(dev, 0x100800));
 }
 
 static void