From 06cd15559525cd023fe347fcb8e918c6418b938e Mon Sep 17 00:00:00 2001 From: Matthieu Castet Date: Sat, 13 Jan 2007 23:30:43 +0100 Subject: nouveau: opps restored the wrong channel --- shared-core/nv20_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared-core/nv20_graph.c b/shared-core/nv20_graph.c index 6d00effa..a148f5cb 100644 --- a/shared-core/nv20_graph.c +++ b/shared-core/nv20_graph.c @@ -119,7 +119,7 @@ void nouveau_nv20_context_switch(drm_device_t *dev) NV_WRITE(NV_PGRAPH_CTX_CONTROL, 0x10000000); - nv20_graph_context_restore(dev, channel_old); + nv20_graph_context_restore(dev, channel); nouveau_wait_for_idle(dev); -- cgit v1.2.3