summaryrefslogtreecommitdiff
path: root/linux/drm_bufs.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drm_bufs.h')
-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;