aboutsummaryrefslogtreecommitdiff
path: root/shared-core/nouveau_dma.h
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-11-14 04:05:48 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-11-14 04:09:53 +1100
commit7246a33dd104903bc9227628270712ea9e6168d8 (patch)
treed31437290dd81fc7257a1437e57931fbfe834514 /shared-core/nouveau_dma.h
parentd0904f0f2b87c725d3e67060419c445259bd4a5e (diff)
nouveau: store user control reg offsets in channel struct
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)