Skip to content

Commit

Permalink
drm/nvc0-/gr: bump maximum gpc/tpc limits
Browse files Browse the repository at this point in the history
Needed for GK110, separate commit to catch any unexpected breaks to
other parts of the code.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Jul 1, 2013
1 parent cb1e06e commit a8004a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -124,6 +124,8 @@ nvc0_graph_class(void *obj)
case 0xe7:
case 0xe6:
return 0xa097;
case 0xf0:
return 0xa197;
default:
return 0;
}
Expand Down

0 comments on commit a8004a9

Please sign in to comment.