• B
    drm/i915: Make GSM void · 1c45140d
    Ben Widawsky 提交于
    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: NBen Widawsky <ben@bwidawsk.net>
    [danvet: Fixup __iomem issue for real.]
    Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
    1c45140d
i915_gem_gtt.c 21.6 KB