drm/nve0/grctx: initial attempt at unhardcoding yet more magic
authorBen Skeggs <bskeggs@redhat.com>
Wed, 20 Mar 2013 01:34:32 +0000 (11:34 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 26 Apr 2013 05:37:37 +0000 (15:37 +1000)
commit7092a8dd5c16c32746444bcd468b429185c25472
treee1bb68aa3009bbc6e2d01295056d974d0b7cb8c0
parentba366c25bc0b2a6f5e4d3fab07851e6f39b883be
drm/nve0/grctx: initial attempt at unhardcoding yet more magic

Not sure about the (gpc_nr == 1) condition, it's probably wrong but for
all the examples I've seen so far it matches what NVIDIA end up poking.

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