drm/i915: Drop the iomem accessors when writing to the kmapped blt batch
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Nov 2010 11:17:23 +0000 (11:17 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Nov 2010 11:17:23 +0000 (11:17 +0000)
commit27153f72d04bcd83b3a66e219418a21d6269553b
treedf3be8e993b0f550a19679014e33a307513d18b9
parent8c1812ad4879676bec1bd20f8ff478c8a076f3fc
drm/i915: Drop the iomem accessors when writing to the kmapped blt batch

I presumed that we would be writing to the batch through the GTT having
bound it, so I converted it to use iomem. Even later as I spotted that
we didn't even move the batch to the GTT (now an issue since we default
to uncached memory on SNB) I still didn't realise that using iomem for
kmapped memory was incorrect. Fix it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c