drm/i915/ringbuffer: Fix sign of ring space.
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Sep 2010 16:45:39 +0000 (17:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Sep 2010 13:19:55 +0000 (14:19 +0100)
commit780f0ca3e0cd3f0677d9149b7e14bf0878d1dbdc
tree8fcc0cdf2af2e20f4d2ef30d9523824733ba3244
parent3eee1794ac14f160338622ea57dcace7382ceb8f
drm/i915/ringbuffer: Fix sign of ring space.

As we presume space is signed when computing and looking for wrap along,
make it so.

Reported-by: Owain G. Ainsworth <zerooa@googlemail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.h