dma-buf/fence: don't wait when specified timeout is zero
authorJammy Zhou <Jammy.Zhou@amd.com>
Wed, 21 Jan 2015 10:35:48 +0000 (18:35 +0800)
committerSumit Semwal <sumit.semwal@linaro.org>
Thu, 22 Jan 2015 05:58:51 +0000 (11:28 +0530)
commit847b19a39e4c9b5e74c40f0842c48b41664cb43c
tree021c2489569f3a29f06300b86bc2d78d99af24c2
parentfb8b7d2b9d80e1e71f379e57355936bd2b024be9
dma-buf/fence: don't wait when specified timeout is zero

When specified timeout is zero for fence_wait_timeout, just check if the fence
is signaled or not without wait.

Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-By: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
drivers/dma-buf/fence.c
This page took 0.035483 seconds and 5 git commands to generate.