diff options
author | Dave Airlie <airlied@linux.ie> | 2005-08-16 12:51:57 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-08-16 12:51:57 +0000 |
commit | 7af0186f4ccef285c2158770781ebfc3a26ddd66 (patch) | |
tree | e38ae798b605e3c433ba5d1a6c153baf0e9c15ce /shared-core/mga_dma.c | |
parent | 8c21b783c3e38aa2c2d16e11ec01cf695f8e7f8a (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.c | 1 |
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"); |