drm/nvc0-/gr: bump maximum gpc/tpc limits
authorBen Skeggs <bskeggs@redhat.com>
Mon, 6 May 2013 06:44:17 +0000 (16:44 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 1 Jul 2013 03:50:37 +0000 (13:50 +1000)
Needed for GK110, separate commit to catch any unexpected breaks to
other parts of the code.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h

index c870dad0f670a5f37ec4b9b7824517463bfc8f63..af7212d96f3ffa407ae59cdd2a541a3a37f50e71 100644 (file)
@@ -38,8 +38,8 @@
 #include <engine/fifo.h>
 #include <engine/graph.h>
 
-#define GPC_MAX 4
-#define TPC_MAX 32
+#define GPC_MAX 32
+#define TPC_MAX (GPC_MAX * 8)
 
 #define ROP_BCAST(r)      (0x408800 + (r))
 #define ROP_UNIT(u, r)    (0x410000 + (u) * 0x400 + (r))
@@ -124,6 +124,8 @@ nvc0_graph_class(void *obj)
        case 0xe7:
        case 0xe6:
                return 0xa097;
+       case 0xf0:
+               return 0xa197;
        default:
                return 0;
        }