[Intel-gfx] [PATCH] [fixes] drm/i915/ringbuffer: Idling requires waiting for the ring to be empty

Ben Widawsky ben at bwidawsk.net
Tue Jul 12 23:45:32 CEST 2011


On Tue, 12 Jul 2011 18:03:29 +0100, Chris Wilson wrote:
> ...which is measured by the size and not the amount of space 
> remaining.
>
> Waiting upon size-8, did one of two things. In the common case with 
> more
> than 8 bytes available to write into the ring, it would return
> immediately. Otherwise, it would timeout given the impossible 
> condition
> of waiting for more space than is available in the ring, leading to
> warnings such as:
>
> [drm:intel_cleanup_ring_buffer] *ERROR* failed to quiesce render ring
> whilst cleaning up: -16
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Ben Widawsky <ben at bwidawsk.net>

This may potentially fix:
https://bugzilla.kernel.org/show_bug.cgi?id=38332



More information about the Intel-gfx mailing list