nouveau: graph ctx init nv25
authorPekka Paalanen <pq@iki.fi>
Sun, 30 Sep 2007 15:14:24 +0000 (18:14 +0300)
committerPekka Paalanen <pq@iki.fi>
Sun, 30 Sep 2007 19:16:01 +0000 (22:16 +0300)
According to mmio_trace_900XGL.tar.bz2 by Evan Fraser the nv25 init is
exactly the same as nv28 init.

shared-core/nv30_graph.c

index 951947d..0ec4f09 100644 (file)
@@ -2879,6 +2879,7 @@ int nv30_graph_create_context(struct nouveau_channel *chan)
        int ret;
 
        switch (dev_priv->chipset) {
+       case 0x25:
        case 0x28:
                ctx_size = NV28_GRCTX_SIZE;
                ctx_init = nv28_graph_context_init;