summaryrefslogtreecommitdiff
path: root/libdrm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-04-17 09:29:19 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-04-17 09:29:19 +1000
commita1e3ab9e55047c08a4006ec389c1a99b72bc672c (patch)
treec4ea08718e4fd7d4fc3f9ecf1f4a6306bbe60f12 /libdrm/nouveau
parent78e753d03314e3aa92af8ec601e9dbb869a938d5 (diff)
nouveau: write posting got lost somewhere, bring it back
Diffstat (limited to 'libdrm/nouveau')
-rw-r--r--libdrm/nouveau/nouveau_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/nouveau/nouveau_dma.c b/libdrm/nouveau/nouveau_dma.c
index 23da64b8..b084f706 100644
--- a/libdrm/nouveau/nouveau_dma.c
+++ b/libdrm/nouveau/nouveau_dma.c
@@ -41,6 +41,7 @@ WRITE_PUT(struct nouveau_channel_priv *nvchan, uint32_t val)
volatile int dum;
NOUVEAU_DMA_BARRIER;
+ dum = nvchan->pushbuf[0];
dum = READ_GET(nvchan);
*nvchan->put = put;