drm/nvc0/gr: fix some bugs in grctx generation
authorBen Skeggs <bskeggs@redhat.com>
Mon, 11 Jul 2011 05:40:43 +0000 (15:40 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Nov 2011 23:01:12 +0000 (09:01 +1000)
Most serious is for chips with only 1 TPC, we'd get stuck in an infinite
loop.  The fix here will slightly change the setup for all other chipsets
too, but, it shouldn't matter too much, and this all needs figuring out
and likely redone anyway.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found