drm/i915: Fix use of invalid array size for ring->sync_seqno
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jan 2011 10:07:18 +0000 (10:07 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 23 Jan 2011 12:52:11 +0000 (12:52 +0000)
There are I915_NUM_RINGS-1 inter-ring synchronisation counters, but we
were clearing I915_NUM_RINGS of them. Oops.

Reported-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

No differences found