commit | 43ed340ad93dcefe00a8f116b7e1b9dab2958543 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Jul 01 17:53:00 2010 +0100 |
committer | Eric Anholt <eric@anholt.net> | Thu Jul 01 15:28:08 2010 -0700 |
tree | cd904adb6ed4a965cfaee97162e52555a7be19f2 | |
parent | 1afe3e9d4335bf3bc5615e37243dc8fef65dac8f [diff] |
drm/i915: Account for space on the ring buffer consumed whilst wrapping. 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>