nouveau: opps restored the wrong channel
authorMatthieu Castet <mat@mat-pc.(none)>
Sat, 13 Jan 2007 22:30:43 +0000 (23:30 +0100)
committerMatthieu Castet <mat@mat-pc.(none)>
Sat, 13 Jan 2007 22:30:43 +0000 (23:30 +0100)
shared-core/nv20_graph.c

index 6d00eff..a148f5c 100644 (file)
@@ -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);