From: Jesse Barnes Date: Mon, 23 Feb 2009 00:08:21 +0000 (+1000) Subject: drm/i915: fix WC mapping in non-GEM i915 code. X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6fb88588555a18792a27f483887fe1f2af5f9c9b;p=linux-2.6-omap-h63xx.git drm/i915: fix WC mapping in non-GEM i915 code. [airlied - taken from mailing list posting] Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 81f1cff56fd..2d797ffe813 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -202,7 +202,7 @@ static int i915_initialize(struct drm_device * dev, drm_i915_init_t * init) dev_priv->ring.map.flags = 0; dev_priv->ring.map.mtrr = 0; - drm_core_ioremap(&dev_priv->ring.map, dev); + drm_core_ioremap_wc(&dev_priv->ring.map, dev); if (dev_priv->ring.map.handle == NULL) { i915_dma_cleanup(dev);