提交 1d97f4ac 编写于 作者: B Ben Skeggs

drm/nvc0/gr: no need to store context in graph_fini()

PFIFO kickoff should have handled this for us.
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 0638df42
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册