aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-04-12 22:55:36 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-05-15 20:49:26 -0400
commit1d97f4acd31f605452ed042bbd9ff5802e37d477 (patch)
tree24a53f09feaa88a5e1b753232755e7e21c0d7cc0 /drivers
parent0638df425f65d1f413b36e53acd1fb689679cabe (diff)
drm/nvc0/gr: no need to store context in graph_fini()
PFIFO kickoff should have handled this for us. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/nvc0_graph.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_graph.c b/drivers/gpu/drm/nouveau/nvc0_graph.c
index dcb8d9a12120..c4b65fa7aaf1 100644
--- a/drivers/gpu/drm/nouveau/nvc0_graph.c
+++ b/drivers/gpu/drm/nouveau/nvc0_graph.c
@@ -250,12 +250,6 @@ nvc0_graph_object_new(struct nouveau_channel *chan, int engine,
250static int 250static int
251nvc0_graph_fini(struct drm_device *dev, int engine) 251nvc0_graph_fini(struct drm_device *dev, int engine)
252{ 252{
253 u32 inst = nv_rd32(dev, 0x409b00);
254 if (inst & 0x80000000) {
255 inst &= 0x0fffffff;
256 nvc0_graph_unload_context_to(dev, (u64)inst << 12);
257 }
258
259 return 0; 253 return 0;
260} 254}
261 255