summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-11-06 09:50:16 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-11 23:51:45 +0100
commitccdf56cdb2a4d6103eb6627494d6cd34edb1c2ea (patch)
treeff2314ce082b913b541a23cebb1229109122fe9d /drivers
parent44cbd33899302fc5294fc5fedfd0276348d796e4 (diff)
downloadlinux-stable-ccdf56cdb2a4d6103eb6627494d6cd34edb1c2ea.tar.gz
linux-stable-ccdf56cdb2a4d6103eb6627494d6cd34edb1c2ea.tar.bz2
linux-stable-ccdf56cdb2a4d6103eb6627494d6cd34edb1c2ea.zip
drm/i915: Fix sparse warnings in from AGP kill code
Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_gtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index afa56e978e80..0aed724c7321 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -439,7 +439,7 @@ static void gen6_ggtt_bind_object(struct drm_i915_gem_object *obj,
len = sg_dma_len(sg) >> PAGE_SHIFT;
for (m = 0; m < len; m++) {
addr = sg_dma_address(sg) + (m << PAGE_SHIFT);
- gtt_entries[i] = pte_encode(dev, addr, level);
+ iowrite32(pte_encode(dev, addr, level), &gtt_entries[i]);
i++;
}
}