Merge branch 'nouveau-gallium-0.1' into darktama-gallium-0.1

This commit is contained in:
Ben Skeggs 2007-12-09 22:32:09 +11:00
commit 88b56c4545

View file

@ -137,6 +137,7 @@ nouveau_dma_kickoff(struct nouveau_channel *userchan)
struct nouveau_channel_priv *chan = nouveau_channel(userchan);
uint32_t put_offset;
int i;
volatile int dum;
if (chan->dma.cur == chan->dma.put)
return;
@ -170,6 +171,7 @@ nouveau_dma_kickoff(struct nouveau_channel *userchan)
#endif
chan->dma.put = chan->dma.cur;
NOUVEAU_DMA_BARRIER;
dum = READ_GET(chan);
*chan->put = put_offset;
NOUVEAU_DMA_BARRIER;
}