OSDN Git Service

nv50: support chipset NV96
authorBen Skeggs <skeggsb@gmail.com>
Mon, 26 Jan 2009 22:36:33 +0000 (08:36 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Mon, 26 Jan 2009 22:36:33 +0000 (08:36 +1000)
ctxprog seen in okias' trace identical to one we use on NV94, assuming
the initial context values for NV94 will work here too.

shared-core/nv50_graph.c

index 4acc58d..84f3fd7 100644 (file)
@@ -106,6 +106,7 @@ nv50_graph_init_ctxctl(struct drm_device *dev)
                voodoo = nv92_ctxprog;
                break;
        case 0x94:
+       case 0x96:
                voodoo = nv94_ctxprog;
                break;
        case 0xaa:
@@ -198,6 +199,7 @@ nv50_graph_create_context(struct nouveau_channel *chan)
                ctxvals = nv92_ctxvals;
                break;
        case 0x94:
+       case 0x96:
                ctxvals = nv94_ctxvals;
                break;
        case 0xaa: