drm/nvc0-/gr: generate grctx template at init time, not first context ctor
authorBen Skeggs <bskeggs@redhat.com>
Sat, 4 Aug 2012 08:40:45 +0000 (18:40 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:12:56 +0000 (13:12 +1000)
commitac1499d9573f4aadd1d2beac11fe23af8ce90c24
treede438586adfbbc4152978e6e60cee4af1cdfd8c9
parentc4afbe74cebf887d3d8e7a11aa93bebcb6a3e2e1
drm/nvc0-/gr: generate grctx template at init time, not first context ctor

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