drm/i915: Unroll wrapping of the ringbuffer.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Aug 2010 14:18:12 +0000 (15:18 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 9 Aug 2010 18:24:31 +0000 (11:24 -0700)
commit1741dd4aa7552055659bf74ab829a21579407f10
tree906fe978285f21f221036e60afa6cb552520bf27
parentae7d49d879fd196bded306e9465e0aa5a203e971
drm/i915: Unroll wrapping of the ringbuffer.

The tail is quadword aligned, so we can add two MI_NOOP as a time.

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