summaryrefslogtreecommitdiff
path: root/linux/agpsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/agpsupport.c')
-rw-r--r--linux/agpsupport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/agpsupport.c b/linux/agpsupport.c
index e49911ab..b1266cfa 100644
--- a/linux/agpsupport.c
+++ b/linux/agpsupport.c
@@ -178,6 +178,8 @@ int drm_agp_alloc(struct inode *inode, struct file *filp, unsigned int cmd,
dev->agp->memory = entry;
request.handle = entry->handle;
+ request.physical = memory->physical;
+
if (copy_to_user((drm_agp_buffer_t *)arg, &request, sizeof(request))) {
dev->agp->memory = entry->next;
dev->agp->memory->prev = NULL;