diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_cp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/r600_cp.c b/drivers/gpu/drm/radeon/r600_cp.c index fcb0fc164c39..3f40558beece 100644 --- a/drivers/gpu/drm/radeon/r600_cp.c +++ b/drivers/gpu/drm/radeon/r600_cp.c | |||
@@ -1932,9 +1932,9 @@ int r600_do_init_cp(struct drm_device *dev, drm_radeon_init_t *init, | |||
1932 | #if __OS_HAS_AGP | 1932 | #if __OS_HAS_AGP |
1933 | /* XXX */ | 1933 | /* XXX */ |
1934 | if (dev_priv->flags & RADEON_IS_AGP) { | 1934 | if (dev_priv->flags & RADEON_IS_AGP) { |
1935 | drm_core_ioremap(dev_priv->cp_ring, dev); | 1935 | drm_core_ioremap_wc(dev_priv->cp_ring, dev); |
1936 | drm_core_ioremap(dev_priv->ring_rptr, dev); | 1936 | drm_core_ioremap_wc(dev_priv->ring_rptr, dev); |
1937 | drm_core_ioremap(dev->agp_buffer_map, dev); | 1937 | drm_core_ioremap_wc(dev->agp_buffer_map, dev); |
1938 | if (!dev_priv->cp_ring->handle || | 1938 | if (!dev_priv->cp_ring->handle || |
1939 | !dev_priv->ring_rptr->handle || | 1939 | !dev_priv->ring_rptr->handle || |
1940 | !dev->agp_buffer_map->handle) { | 1940 | !dev->agp_buffer_map->handle) { |