summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_cp.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-07-15 15:48:05 +1000
committerDave Airlie <airlied@linux.ie>2008-07-15 15:48:05 +1000
commit242e3df80b8d25ed681c278512df0993725f25dd (patch)
tree28dcd053d5c5203d8a952f0c1b5f354c3c7d06f7 /drivers/gpu/drm/radeon/radeon_cp.c
parent50515af207d410c9f228380e529c56f43c3de0bd (diff)
downloadop-kernel-dev-242e3df80b8d25ed681c278512df0993725f25dd.zip
op-kernel-dev-242e3df80b8d25ed681c278512df0993725f25dd.tar.gz
drm/radeon: fixup issue with radeon and PAT support.
With new userspace libpciaccess we can get a conflicting mapping on the PCIE GART table in the video RAM. Always try and map it _wc. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cp.c b/drivers/gpu/drm/radeon/radeon_cp.c
index e53158f..f0de81a 100644
--- a/drivers/gpu/drm/radeon/radeon_cp.c
+++ b/drivers/gpu/drm/radeon/radeon_cp.c
@@ -1154,7 +1154,7 @@ static int radeon_do_init_cp(struct drm_device * dev, drm_radeon_init_t * init)
dev_priv->gart_info.mapping.size =
dev_priv->gart_info.table_size;
- drm_core_ioremap(&dev_priv->gart_info.mapping, dev);
+ drm_core_ioremap_wc(&dev_priv->gart_info.mapping, dev);
dev_priv->gart_info.addr =
dev_priv->gart_info.mapping.handle;
OpenPOWER on IntegriCloud