diff options
author | Dave Airlie <airlied@linux.ie> | 2009-02-07 02:15:41 +0100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-02-08 12:37:24 +0100 |
commit | 9b8d5a124f133fe9a75397d20b874844a2e3d7e9 (patch) | |
tree | 5fd88d79be97e6d5d6d181fe181a350cb9f223af /drivers/gpu/drm/radeon/radeon_cp.c | |
parent | i915: fix unneeded locking in i915 LVDS get modes code. (diff) | |
download | linux-9b8d5a124f133fe9a75397d20b874844a2e3d7e9.tar.xz linux-9b8d5a124f133fe9a75397d20b874844a2e3d7e9.zip |
drm/radeon: fix ioremap conflict with AGP mappings
this solves a regression from
http://bugzilla.kernel.org/show_bug.cgi?id=12441
Reported-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cp.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cp.c b/drivers/gpu/drm/radeon/radeon_cp.c index 63212d7bbc28..df4cf97e5d97 100644 --- a/drivers/gpu/drm/radeon/radeon_cp.c +++ b/drivers/gpu/drm/radeon/radeon_cp.c @@ -1039,9 +1039,9 @@ static int radeon_do_init_cp(struct drm_device *dev, drm_radeon_init_t *init, #if __OS_HAS_AGP 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) { |