]> git.karo-electronics.de Git - linux-beck.git/commit
Revert "dma-buf/sync-file: Avoid enable fence signaling if poll(.timeout=0)"
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 18 Nov 2016 08:26:43 +0000 (17:26 +0900)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Nov 2016 09:35:58 +0000 (10:35 +0100)
commit069cad6d02fef7924fb942b37a6c17dd02a79f7f
treec7e33129399ee83669727c7f3ae123473a185b08
parent4ada6f228404921d6ce661edc7a0c84f1ada1a1a
Revert "dma-buf/sync-file: Avoid enable fence signaling if poll(.timeout=0)"

This reverts commit ecebca79f6976ddaddfd054d699272515869ea28.

Do not enable fence callback on poll() when using fence_array causes the
fence_array to not signal.

For now we will revert the change and enable signaling everytime time
poll is called with timeout=0 as well.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1479457603-30758-1-git-send-email-gustavo@padovan.org
drivers/dma-buf/sync_file.c