Daniel Vetter 4225d0f219 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 <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-05-03 11:18:31 +02:00
..
2012-03-27 16:03:32 -07:00
2012-04-10 15:30:16 -07:00
2012-04-12 15:36:33 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 00:09:17 -07:00
2012-04-12 15:35:12 -07:00
2012-04-12 15:36:33 -07:00
2012-03-29 18:02:10 -07:00
2012-04-06 17:54:53 -07:00