projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44cbd33
)
drm/i915: Fix sparse warnings in from AGP kill code
author
Ben Widawsky
<ben@bwidawsk.net>
Tue, 6 Nov 2012 09:50:16 +0000
(09:50 +0000)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:45 +0000
(23:51 +0100)
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>
drivers/gpu/drm/i915/i915_gem_gtt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index afa56e978e8057333714a79a4ea100ef093d03e9..0aed724c7321628a46d734ae5abf5fec743b570e 100644
(file)
--- 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), >t_entries[i]
);
i++;
}
}