summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvc0_graph.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-05-24 14:57:53 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-06-23 15:57:16 +1000
commite1b89b1ca59f558d4f7ec18e0b6a8eb34437c8d9 (patch)
treeb9425112ddf6acbbf3fd4d6b79e45900580ae22a /drivers/gpu/drm/nouveau/nvc0_graph.c
parent6f376460e42220dfd44711cff3ef8d0309e277d4 (diff)
downloadtalos-obmc-linux-e1b89b1ca59f558d4f7ec18e0b6a8eb34437c8d9.tar.gz
talos-obmc-linux-e1b89b1ca59f558d4f7ec18e0b6a8eb34437c8d9.zip
drm/nvc0/gr: some initial state modifications
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_graph.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvc0_graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_graph.c b/drivers/gpu/drm/nouveau/nvc0_graph.c
index a57fba3da941..c99b3caa568c 100644
--- a/drivers/gpu/drm/nouveau/nvc0_graph.c
+++ b/drivers/gpu/drm/nouveau/nvc0_graph.c
@@ -159,7 +159,7 @@ nvc0_graph_create_context_mmio_list(struct nouveau_channel *chan)
nv_wo32(grch->mmio, i++ * 4, 0x00405830);
nv_wo32(grch->mmio, i++ * 4, magic);
for (gpc = 0; gpc < priv->gpc_nr; gpc++) {
- for (tp = 0; tp < priv->tp_nr[gpc]; tp++, magic += 0x02fc) {
+ for (tp = 0; tp < priv->tp_nr[gpc]; tp++, magic += 0x0324) {
u32 reg = 0x504520 + (gpc * 0x8000) + (tp * 0x0800);
nv_wo32(grch->mmio, i++ * 4, reg);
nv_wo32(grch->mmio, i++ * 4, magic);
OpenPOWER on IntegriCloud