]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit91fac86d8636684fc32ec3ba20e8532484df2308
treefae38b0e7f95c5370f69b3259499e835435b4ebd
parent55dd37e52d122277192e7d0aa5530c59c646426b
Revert "dma-buf: Report signaled links inside dma-fence-chain"

This reverts commit 5de376bb434f80a13138f0ebedc8351ab73d8b0d.

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