]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "dma-buf: Report signaled links inside dma-fence-chain"
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 25 Jun 2020 12:34:42 +0000 (15:34 +0300)
committerChristian König <christian.koenig@amd.com>
Thu, 2 Jul 2020 13:21:24 +0000 (15:21 +0200)
commit867b8c28288033fdb5371b690a33c6680931e29b
treefae38b0e7f95c5370f69b3259499e835435b4ebd
parent92f7b6bfa6915456cb54384ba5b3892e50fdc16c
Revert "dma-buf: Report signaled links inside dma-fence-chain"

This reverts commit ddba9173da8c716c93f1fdb9a4de0ae466036951.

This change breaks synchronization of a timeline.
dma_fence_chain_find_seqno() might be a bit of a confusing name but
this function is not trying to find a particular seqno, is supposed to
give a fence to wait on for a particular point in the timeline.

In a timeline, a particular value is reached when all the points up to
and including that value have signaled.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/372958/
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/dma-buf/dma-fence-chain.c