]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf/fence: revert "don't wait when specified timeout is zero" (v2)
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 7 Nov 2016 21:16:14 +0000 (16:16 -0500)
committerSumit Semwal <sumit.semwal@linaro.org>
Tue, 8 Nov 2016 19:15:33 +0000 (00:45 +0530)
commit3b537e347848f89d454f314a9bfe4007bcb3bb98
treee406e8bba438bc4716815d77bcabcbf7c92ff566
parent4986d89fc51229b3ecffd6d56edba12caace6a23
dma-buf/fence: revert "don't wait when specified timeout is zero" (v2)

Reverts commit a45c867e65a5
("dma-buf/fence: don't wait when specified timeout is zero")

When we don't call the wait function software signaling might never be
activated. This can cause infinite polling loops with unreliable interrupt
driven hardware.

v2: rebase on drm-next

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
  [sumits: reword commit msg for checkpatch warnings]
Link: http://patchwork.freedesktop.org/patch/msgid/1478553376-18575-2-git-send-email-alexander.deucher@amd.com
drivers/dma-buf/dma-fence.c