summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-01-07 17:07:59 +1100
committerBen Skeggs <skeggsb@gmail.com>2008-01-07 17:09:00 +1100
commit15f8fd34df11d9fceb3f813c9478ffe66cae3473 (patch)
treebed28aa2b978f73a1a2bba51b7ef89524fe8f496 /shared-core
parentfa5e18679fcdb7bd2d69c605183b0b205416bf2b (diff)
nv50: some needed ctx vals
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nv50_graph.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/nv50_graph.c b/shared-core/nv50_graph.c
index 6d1413e7..1698cef4 100644
--- a/shared-core/nv50_graph.c
+++ b/shared-core/nv50_graph.c
@@ -272,6 +272,10 @@ nv50_graph_create_context(struct nouveau_channel *chan)
return ret;
}
+ INSTANCE_WR(chan->ramin_grctx->gpuobj, 0x00000/4,
+ chan->ramin->instance >> 12);
+ INSTANCE_WR(chan->ramin_grctx->gpuobj, 0x0011c/4, 0x00000002);
+
return 0;
}