]> git.karo-electronics.de Git - linux-beck.git/commitdiff
radeon: fix r600 AGP support
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 25 Feb 2009 20:55:01 +0000 (15:55 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Mar 2009 04:24:12 +0000 (14:24 +1000)
This fixes the ioremap issues with r600 AGP.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_cp.c

index fcb0fc164c39ce0a857055124bbbc876afa97743..3f40558beece34f435ce4f76623760cb477cb5df 100644 (file)
@@ -1932,9 +1932,9 @@ int r600_do_init_cp(struct drm_device *dev, drm_radeon_init_t *init,
 #if __OS_HAS_AGP
        /* XXX */
        if (dev_priv->flags & RADEON_IS_AGP) {
-               drm_core_ioremap(dev_priv->cp_ring, dev);
-               drm_core_ioremap(dev_priv->ring_rptr, dev);
-               drm_core_ioremap(dev->agp_buffer_map, dev);
+               drm_core_ioremap_wc(dev_priv->cp_ring, dev);
+               drm_core_ioremap_wc(dev_priv->ring_rptr, dev);
+               drm_core_ioremap_wc(dev->agp_buffer_map, dev);
                if (!dev_priv->cp_ring->handle ||
                    !dev_priv->ring_rptr->handle ||
                    !dev->agp_buffer_map->handle) {