From: Chris Wilson Date: Tue, 12 Jul 2011 17:03:29 +0000 (+0100) Subject: drm/i915/ringbuffer: Idling requires waiting for the ring to be empty X-Git-Tag: v3.0~44^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94919eaddaa3fede1df8563ce4d761a75374645;p=pandora-kernel.git drm/i915/ringbuffer: Idling requires waiting for the ring to be empty ...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 Reviewed-by: Eric Anholt Signed-off-by: Keith Packard --- Reading git-diff-tree failed