summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/nv20_graph.c2
1 files changed, 1 insertions, 1 deletions
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);