diff options
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 d7bddbcfe2..6ec390ec76 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; @@ -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; } |