From: Ben Widawsky Date: Sun, 20 Mar 2011 01:14:27 +0000 (-0700) Subject: drm/1915: ringbuffer wait for idle function X-Git-Tag: v3.0-rc1~312^2~4^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96f298aa9c9fc9b7c8a2ebaf8c195d178f570e09;p=pandora-kernel.git drm/1915: ringbuffer wait for idle function Added a new function which waits for the ringbuffer space to be equal to (total - 8). This is the empty condition of the ringbuffer, and equivalent to head==tail. Also modified two users of this functionality elsewhere in the code. Signed-off-by: Ben Widawsky Signed-off-by: Chris Wilson --- Reading git-diff-tree failed