summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/nouveau_dma.h')
-rw-r--r--shared-core/nouveau_dma.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared-core/nouveau_dma.h b/shared-core/nouveau_dma.h
index f8df54eb..ce3c58cb 100644
--- a/shared-core/nouveau_dma.h
+++ b/shared-core/nouveau_dma.h
@@ -89,8 +89,7 @@ typedef enum {
if (dchan->cur != dchan->put) { \
DRM_MEMORYBARRIER(); \
dchan->put = dchan->cur; \
- NV_WRITE(NV03_FIFO_REGS_DMAPUT(dchan->chan->id), \
- (dchan->put<<2)); \
+ NV_WRITE(dchan->chan->put, dchan->put << 2); \
} \
} while(0)