[PATCH 11/18] drm/radeon: use one wait queue for all rings add fence_wait_any

2012-05-04 Thread j.gli...@gmail.com
From: Jerome Glisse 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.

[PATCH 11/18] drm/radeon: use one wait queue for all rings add fence_wait_any

2012-05-04 Thread j . glisse
From: Jerome Glisse jgli...@redhat.com 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