diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-12-07 02:31:40 +0100 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2007-12-07 02:31:40 +0100 |
commit | fecb3ce5860caa498f531c28db043c3c2cb845a8 (patch) | |
tree | ce53171ef7cbd775b6b01319424fbc4d87e927af /src | |
parent | 2a2756a019ecdd5406ef84019610a0016868a39b (diff) |
Use write posting in the kickoff function too.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/nouveau_winsys/nouveau_dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau_winsys/nouveau_dma.c b/src/mesa/drivers/dri/nouveau_winsys/nouveau_dma.c index 6e123c4473..d323995903 100644 --- a/src/mesa/drivers/dri/nouveau_winsys/nouveau_dma.c +++ b/src/mesa/drivers/dri/nouveau_winsys/nouveau_dma.c @@ -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; @@ -188,6 +189,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; } |