summaryrefslogtreecommitdiff
path: root/shared-core/nv20_graph.c
diff options
context:
space:
mode:
authorMatthieu Castet <mat@mat-pc.(none)>2007-01-13 23:30:43 +0100
committerMatthieu Castet <mat@mat-pc.(none)>2007-01-13 23:30:43 +0100
commit06cd15559525cd023fe347fcb8e918c6418b938e (patch)
treeed8caa0e768d4c221e34dac4a130c5cf8564d1e8 /shared-core/nv20_graph.c
parentf04347f371c6c9c3a47550c6b7d26b7bd5629c85 (diff)
nouveau: opps restored the wrong channel
Diffstat (limited to 'shared-core/nv20_graph.c')
-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);