aboutsummaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>2008-06-18 14:51:46 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-18 14:51:46 -0700
commitc843d47b906e57fb3002af4a609d3cb95c5e195d (patch)
tree6011050c9d890dbba122cf55d0133ce6598cdde3 /linux-core
parent241ff808b0f7368e3988d51d2ea3775adb75b6f4 (diff)
i915: use WC mapping for framebuffer screen_base
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/intel_fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/intel_fb.c b/linux-core/intel_fb.c
index b082080c..16788411 100644
--- a/linux-core/intel_fb.c
+++ b/linux-core/intel_fb.c
@@ -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;