aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-12 03:21:48 +1100
committerBen Skeggs <[email protected]>2008-03-12 03:21:48 +1100
commit9911ca2226cf87e2cc4ffc32e40bccaf0a4e5745 (patch)
tree3619c7560d7ea4244a5d73f01187162fef6942d4 /src/gallium
parent9c29512154992f95c11939615ddcbef185c6a96c (diff)
nv50: ouch, next_subchannel++ :)
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/dri/nouveau/nv50_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/nouveau/nv50_surface.c b/src/gallium/winsys/dri/nouveau/nv50_surface.c
index 5d74fb8d2bc..5c6733e44a3 100644
--- a/src/gallium/winsys/dri/nouveau/nv50_surface.c
+++ b/src/gallium/winsys/dri/nouveau/nv50_surface.c
@@ -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);