Skip to content
Snippets Groups Projects
Commit f76a5eda authored by Christian König's avatar Christian König Committed by T.J. Mercier
Browse files

UPSTREAM: dma-buf/sync-file: fix logic error in new fence merge code


When the array is empty because everything is signaled we can't use
add_fence() to add something because that would filter the signaled
fence again.

Change-Id: I94ddd92e7668ecf82c9b6f8ce21263ac723e5c6b
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Fixes: 519f490d ("dma-buf/sync-file: fix warning about fence containers")
Reviewed-by: default avatarThomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220329070001.134180-1-christian.koenig@amd.com


(cherry picked from commit 21d139d7)
Bug: 394776841
Bug: 397845301
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent 137c322f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment