i915: use WC mapping for framebuffer screen_base
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>
Wed, 18 Jun 2008 21:51:46 +0000 (14:51 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 18 Jun 2008 21:51:46 +0000 (14:51 -0700)
linux-core/intel_fb.c

index b082080..1678841 100644 (file)
@@ -677,8 +677,8 @@ int intelfb_create(struct drm_device *dev, uint32_t fb_width, uint32_t fb_height
 
        info->flags = FBINFO_DEFAULT;
 
-       info->screen_base = ioremap(dev->agp->base + obj_priv->gtt_offset,
-                                   size);
+       info->screen_base = ioremap_wc(dev->agp->base + obj_priv->gtt_offset,
+                                      size);
        if (!info->screen_base) {
                ret = -ENOSPC;
                goto out_unref;