]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf/fence: make timeout handling in fence_default_wait consistent (v2)
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 7 Nov 2016 21:16:13 +0000 (16:16 -0500)
committerSumit Semwal <sumit.semwal@linaro.org>
Tue, 8 Nov 2016 19:15:14 +0000 (00:45 +0530)
commit0627a64b0285f20b44641b4c60676a40e26eda81
tree74daa7068485ec53de499fe73e45ebcd2087cb4f
parente1438d58a570d9b1eaff315ac018841000097392
dma-buf/fence: make timeout handling in fence_default_wait consistent (v2)

Kernel functions taking a timeout usually return 1 on success even
when they get a zero timeout.

v2: agd: 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>
Link: http://patchwork.freedesktop.org/patch/msgid/1478553376-18575-1-git-send-email-alexander.deucher@amd.com
drivers/dma-buf/dma-fence.c