summaryrefslogtreecommitdiff
path: root/linux/dma.c
diff options
context:
space:
mode:
authorJeff Hartmann <jhartmann@valinux.com>2000-01-24 05:13:07 +0000
committerJeff Hartmann <jhartmann@valinux.com>2000-01-24 05:13:07 +0000
commit8663acd3b5f8f6515b388930a961f630d7f6ef57 (patch)
tree07761443901457785bec45edf510e286499a97cd /linux/dma.c
parent8b7e3ee88c41b342421903fb0012f228b303c2d3 (diff)
Interrupt dma for mga
Diffstat (limited to 'linux/dma.c')
-rw-r--r--linux/dma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/dma.c b/linux/dma.c
index 87f00f12..0d19792a 100644
--- a/linux/dma.c
+++ b/linux/dma.c
@@ -425,6 +425,8 @@ int drm_dma_enqueue(drm_device_t *dev, drm_dma_t *d)
current->pid, buf->idx, buf->list);
}
buf->used = d->send_sizes[i];
+ buf->bus_address = dev->agp->base + 65536 +
+ (idx * 524288);
buf->while_locked = while_locked;
buf->context = d->context;
if (!buf->used) {