diff options
author | Dave Airlie <airlied@linux.ie> | 2004-07-25 05:36:45 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-07-25 05:36:45 +0000 |
commit | 6ba31fb4813116e94f8fc94574ffd81743cf8832 (patch) | |
tree | 40a13e50726b6b129a88481e9c647aab4b3ce231 /linux-core | |
parent | 1e5354e867d1dde8c86273e7434f49b57779ef36 (diff) |
Patch from Tom Arbuckle for missing bus_address
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_bufs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_bufs.c b/linux-core/drm_bufs.c index 7270ff4a..a6f40f9a 100644 --- a/linux-core/drm_bufs.c +++ b/linux-core/drm_bufs.c @@ -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; |