[PATCH 01/10] dma-buf/fence: add fence_wait_any_timeout function

2015-10-26 Thread Christian König
> What do you prefer that we accumulate the fence in amdgpu before > calling the function or an extra check here that return -EINVAL if all > fences are NULL? Forget that question, I realized that the current check in amdgpu for this doesn't work any more anyway (even without this patch). I've

[PATCH 01/10] dma-buf/fence: add fence_wait_any_timeout function

2015-10-26 Thread Christian König
On 26.10.2015 14:18, Maarten Lankhorst wrote: > Op 26-10-15 om 13:29 schreef Christian König: >> From: Christian König >> >> Waiting for the first fence in an array of fences to signal. >> >> This is useful for device driver specific resource managers >> and also Vulkan needs something similar.

[PATCH 01/10] dma-buf/fence: add fence_wait_any_timeout function

2015-10-26 Thread Maarten Lankhorst
Op 26-10-15 om 13:29 schreef Christian König: > From: Christian König > > Waiting for the first fence in an array of fences to signal. > > This is useful for device driver specific resource managers > and also Vulkan needs something similar. > > Signed-off-by: Christian König > Reviewed-by: Al

[PATCH 01/10] dma-buf/fence: add fence_wait_any_timeout function

2015-10-26 Thread Christian König
From: Christian König Waiting for the first fence in an array of fences to signal. This is useful for device driver specific resource managers and also Vulkan needs something similar. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/dma-buf/fence.c | 96