Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8004a9e authored by Ben Skeggs's avatar Ben Skeggs
Browse files

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: default avatarBen Skeggs <bskeggs@redhat.com>
parent cb1e06e0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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;
	}