From: Jerome Glisse Date: Wed, 9 May 2012 13:34:55 +0000 (+0200) Subject: drm/radeon: use one wait queue for all rings add fence_wait_any v2 X-Git-Tag: v3.5-rc1~83^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0085c95061e836f3ed489d042b502733c094e7e4;p=pandora-kernel.git drm/radeon: use one wait queue for all rings add fence_wait_any v2 Use one wait queue for all rings. When one ring progress, other likely does to and we are not expecting to have a lot of waiter anyway. Also add a fence_wait_any that will wait until the first fence in the fence array (one fence per ring) is signaled. This allow to wait on all rings. v2: some minor cleanups and improvements. Signed-off-by: Christian König Signed-off-by: Jerome Glisse Signed-off-by: Dave Airlie --- Reading git-diff-tree failed