drm/nvc0/gr: calculate some more of our magic numbers
authorBen Skeggs <bskeggs@redhat.com>
Mon, 18 Apr 2011 02:52:47 +0000 (12:52 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 May 2011 00:50:22 +0000 (10:50 +1000)
commitaa58c4056355afd349aa4a0092de5141a425142a
treec9c1bc2b014b118b51fe23f6d6c939c643422190
parentb23b9e7109e74a2cb10705396148624016ad8f8f
drm/nvc0/gr: calculate some more of our magic numbers

Again, doesn't quite match NVIDIA's, but not sure it really matters.  This
will however, match the same rules we use to calculate the other related
grctx magics.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_graph.c
drivers/gpu/drm/nouveau/nvc0_graph.h