summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-07-25 05:36:45 +0000
committerDave Airlie <airlied@linux.ie>2004-07-25 05:36:45 +0000
commit6ba31fb4813116e94f8fc94574ffd81743cf8832 (patch)
tree40a13e50726b6b129a88481e9c647aab4b3ce231 /linux
parent1e5354e867d1dde8c86273e7434f49b57779ef36 (diff)
Patch from Tom Arbuckle for missing bus_address
Diffstat (limited to 'linux')
-rw-r--r--linux/drm_bufs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h
index 7270ff4a..a6f40f9a 100644
--- a/linux/drm_bufs.h
+++ b/linux/drm_bufs.h
@@ -693,6 +693,7 @@ int DRM(addbufs_pci)( struct inode *inode, struct file *filp,
buf->used = 0;
buf->offset = (dma->byte_count + byte_count + offset);
buf->address = (void *)(page + offset);
+ buf->bus_address = virt_to_bus(buf->address);
buf->next = NULL;
buf->waiting = 0;
buf->pending = 0;