瀏覽代碼

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>
Ben Skeggs 14 年之前
父節點
當前提交
1d97f4acd3
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      drivers/gpu/drm/nouveau/nvc0_graph.c

+ 0 - 6
drivers/gpu/drm/nouveau/nvc0_graph.c

@@ -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;
 }