drm/i915: Account for space on the ring buffer consumed whilst wrapping.
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 1 Jul 2010 16:53:00 +0000 (17:53 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 1 Jul 2010 22:28:08 +0000 (15:28 -0700)
If we fill the tail of the physical ring buffer with NOOP when wrapping,
we need to account for the reduction in available space.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found