From 15f8fd34df11d9fceb3f813c9478ffe66cae3473 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Mon, 7 Jan 2008 17:07:59 +1100 Subject: [PATCH] nv50: some needed ctx vals --- shared-core/nv50_graph.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shared-core/nv50_graph.c b/shared-core/nv50_graph.c index 6d1413e..1698cef 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; } -- 2.7.4