drm/nvc0-/gr: factor out yet more unknown magic into versioned functions
authorBen Skeggs <bskeggs@redhat.com>
Fri, 5 Jul 2013 00:26:20 +0000 (10:26 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 5 Jul 2013 03:44:52 +0000 (13:44 +1000)
commitd196e16ebf8bc9489ee3dc41dc5dfd84a70cec18
tree6dfd266b79ce92b5ec62a7452f2906071e2a6aa4
parent0bfd6f734a99ce2c7217571c45c2456ae1da63c3
drm/nvc0-/gr: factor out yet more unknown magic into versioned functions

NVC1/NVD9 are the only chipsets that should have anything different
happen on them after this.  We previously weren't doing these
register modifications, and NVIDIA do.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc0.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc1.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc3.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvc8.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvd7.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvd9.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnve4.c
drivers/gpu/drm/nouveau/core/engine/graph/ctxnvf0.c
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.h