]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/i915: Make GSM void
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 18 Dec 2012 18:31:27 +0000 (10:31 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Dec 2012 15:32:04 +0000 (16:32 +0100)
commit1c45140d3da0c98fa7eda2cd10f9805232a5e9ac
tree4310248376ec589798efbb9eff273a854517edaa
parent06e5598fce5ce89fe8bf081398296e5b08d993dd
drm/i915: Make GSM void

The iomapping of the register region has historically been a uint32_t
for the obvious reason that our PTE size was always 4b. In the future
however, we cannot make this assumption.

By making the type void, it makes the upcoming pointer math we will do
much easier, and hopefully gives the compiler opportunities to warn us
when we do stupid things.

v2: Cast to __iomem, caught by Ville

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Fixup __iomem issue for real.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c