drm/i915: Fix sparse warnings in from AGP kill code
Subsystems (2)
PATCH 1/1 drm/i915: Fix sparse warnings in from AGP kill code
Reported-by Fengguang Wu <[email protected]>
Signed-off-by Ben Widawsky <[email protected]>
--- drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_gem_gtt.c +1 -1
@@ -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++; } }
Signature · 1 line
1.8.0
Daniel Vetter
AppliedQuoted 2 lines · Ben Widawsky
Reported-by Fengguang Wu <[email protected]>Signed-off-by Ben Widawsky <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Daniel Vetter
AppliedQuoted 2 lines · Ben Widawsky
Reported-by Fengguang Wu <[email protected]>Signed-off-by Ben Widawsky <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch