From efcef2c2bcd7a8ea16381cc8d6ae06fff1bc3483 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 10 Feb 2009 09:05:09 +1000 Subject: 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. --- shared-core/nv50_graph.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shared-core/nv50_graph.c') 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; -- cgit v1.2.3