nv50: ouch, next_subchannel++ :)
authorBen Skeggs <skeggsb@gmail.com>
Tue, 11 Mar 2008 16:21:48 +0000 (03:21 +1100)
committerBen Skeggs <skeggsb@gmail.com>
Tue, 11 Mar 2008 16:21:48 +0000 (03:21 +1100)
src/gallium/winsys/dri/nouveau/nv50_surface.c

index 5d74fb8d2bc4c30f20bd128c3f310d42bac47597..5c6733e44a3e0a7bc18f05496aafff7676a8b3d1 100644 (file)
@@ -155,7 +155,7 @@ nouveau_surface_channel_create_nv50(struct nouveau_channel_context *nvc)
                                  &nvc->Nv2D);
        if (ret)
                return ret;
-       BIND_RING (nvc->channel, nvc->Nv2D, 0);
+       BIND_RING (nvc->channel, nvc->Nv2D, nvc->next_subchannel++);
        BEGIN_RING(nvc->channel, nvc->Nv2D, NV50_2D_DMA_NOTIFY, 1);
        OUT_RING  (nvc->channel, nvc->sync_notifier->handle);
        BEGIN_RING(nvc->channel, nvc->Nv2D, NV50_2D_DMA_IN_MEMORY0, 2);