summaryrefslogtreecommitdiff
path: root/shared-core/mga_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-08-16 12:51:57 +0000
committerDave Airlie <airlied@linux.ie>2005-08-16 12:51:57 +0000
commit7af0186f4ccef285c2158770781ebfc3a26ddd66 (patch)
treee38ae798b605e3c433ba5d1a6c153baf0e9c15ce /shared-core/mga_dma.c
parent8c21b783c3e38aa2c2d16e11ec01cf695f8e7f8a (diff)
add Egberts 32/64 bit patch (its in kernel already...)
Diffstat (limited to 'shared-core/mga_dma.c')
-rw-r--r--shared-core/mga_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/mga_dma.c b/shared-core/mga_dma.c
index 31df5d6e..005c5234 100644
--- a/shared-core/mga_dma.c
+++ b/shared-core/mga_dma.c
@@ -819,6 +819,7 @@ static int mga_do_init_dma(drm_device_t * dev, drm_mga_init_t * init)
DRM_ERROR("failed to find primary dma region!\n");
return DRM_ERR(EINVAL);
}
+ dev->agp_buffer_token = init->buffers_offset;
dev->agp_buffer_map = drm_core_findmap(dev, init->buffers_offset);
if (!dev->agp_buffer_map) {
DRM_ERROR("failed to find dma buffer region!\n");