nouveau: opps restored the wrong channel

This commit is contained in:
Matthieu Castet 2007-01-13 23:30:43 +01:00
parent f04347f371
commit 06cd155595

View 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);