Commit 20b2d562 authored by Christian König's avatar Christian König Committed by Todd Kjos
Browse files

UPSTREAM: dma-buf: add dma_fence_chain_contained helper



It's a reoccurring pattern that we need to extract the fence
from a dma_fence_chain object. Add a helper for this.

Bug: 286102048
Change-Id: Ib94b7f26893ca39ee3c3a58c335d30a7787facc2
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarThomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220204100429.2049-6-christian.koenig@amd.com


(cherry picked from commit 18f5fad2)
Signed-off-by: default avatarRichard Fung <richardfung@google.com>
parent a2a56bf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment