drm: updated DRM map patch for 32/64 bit systems
[linux-2.6.git] / drivers / char / drm / i810_dma.c
index 0a9ac1f2e2155313a5a30544ebd2a3dfae38b680..f9fd5abd774b97ce74ddad654e7a848b111233c0 100644 (file)
@@ -351,6 +351,7 @@ static int i810_dma_initialize(drm_device_t *dev,
                DRM_ERROR("can not find mmio map!\n");
                return -EINVAL;
        }
+       dev->agp_buffer_token = init->buffers_offset;
        dev->agp_buffer_map = drm_core_findmap(dev, init->buffers_offset);
        if (!dev->agp_buffer_map) {
                dev->dev_private = (void *)dev_priv;