summaryrefslogtreecommitdiff
path: root/shared-core/nv50_graph.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2009-02-10 09:05:09 +1000
committerBen Skeggs <skeggsb@gmail.com>2009-02-10 09:11:41 +1000
commitefcef2c2bcd7a8ea16381cc8d6ae06fff1bc3483 (patch)
treea7a3b256cf884ac6882bc96f39968208cdfaeb74 /shared-core/nv50_graph.c
parentf43039c52c7f27b61316beba5863968996a05bc0 (diff)
drm/nv50: use a slightly different initial context for nv96
I'm not 100% sure that the nv94 one we were using won't work. The context layouts are identical (well.. same ctxprog, so of course!), only a couple of registers differ. But, be safe until we actually get some 9xxx chips working.
Diffstat (limited to 'shared-core/nv50_graph.c')
-rw-r--r--shared-core/nv50_graph.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared-core/nv50_graph.c b/shared-core/nv50_graph.c
index 84f3fd7a..85dd332a 100644
--- a/shared-core/nv50_graph.c
+++ b/shared-core/nv50_graph.c
@@ -199,9 +199,11 @@ nv50_graph_create_context(struct nouveau_channel *chan)
ctxvals = nv92_ctxvals;
break;
case 0x94:
- case 0x96:
ctxvals = nv94_ctxvals;
break;
+ case 0x96:
+ ctxvals = nv96_ctxvals;
+ break;
case 0xaa:
ctxvals = nvaa_ctxvals;
break;