Skip to content

Commit

Permalink
drm/nvc0/gr: no need to store context in graph_fini()
Browse files Browse the repository at this point in the history
PFIFO kickoff should have handled this for us.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed May 16, 2011
1 parent 0638df4 commit 1d97f4a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/gpu/drm/nouveau/nvc0_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,6 @@ nvc0_graph_object_new(struct nouveau_channel *chan, int engine,
static int
nvc0_graph_fini(struct drm_device *dev, int engine)
{
u32 inst = nv_rd32(dev, 0x409b00);
if (inst & 0x80000000) {
inst &= 0x0fffffff;
nvc0_graph_unload_context_to(dev, (u64)inst << 12);
}

return 0;
}

Expand Down

0 comments on commit 1d97f4a

Please sign in to comment.