From: Daniel Vetter Date: Thu, 26 Apr 2012 21:28:16 +0000 (+0200) Subject: drm/i915: fixup __iomem mixups in ringbuffer.c X-Git-Tag: v3.5-rc1~83^2~8^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4225d0f219d22440e33a5686bf806356cb25bcf5;p=pandora-kernel.git drm/i915: fixup __iomem mixups in ringbuffer.c Two things: - ring->virtual start is an __iomem pointer, treat it accordingly. - dev_priv->status_page.page_addr is now always a cpu addr, no pointer casting needed for that. Take the opportunity to remove the unnecessary drm indirection when setting up the ringbuffer iomapping. v2: Add a compiler barrier before reading the hw status page. Acked-by: Jesse Barnes Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed