From: Ben Skeggs Date: Mon, 6 May 2013 06:44:17 +0000 (+1000) Subject: drm/nvc0-/gr: bump maximum gpc/tpc limits X-Git-Tag: v3.11-rc3~23^2~1^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8004a9edd8c6ee86c3e263c9082ddf64797a667;p=profile%2Fcommon%2Fkernel-common.git drm/nvc0-/gr: bump maximum gpc/tpc limits Needed for GK110, separate commit to catch any unexpected breaks to other parts of the code. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h b/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h index c870dad..af7212d 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h +++ b/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h @@ -38,8 +38,8 @@ #include #include -#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; }