]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drm/i915: fix WC mapping in non-GEM i915 code.
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 23 Feb 2009 00:08:21 +0000 (10:08 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Feb 2009 00:08:21 +0000 (10:08 +1000)
[airlied - taken from mailing list posting]

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_dma.c

index 81f1cff56fd5e2ff02313849a2d9f4d412d22237..2d797ffe8137c43472f08a3019ecb2052d664ec6 100644 (file)
@@ -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);