diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-17 17:34:49 +0100 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2017-03-17 23:51:36 +0530 |
commit | d5b72a2123dfaf9416b1a1177b4be041f8a8b6d4 (patch) | |
tree | 13688abc1a544a75f611e0e8256c528762ddc518 /kernel | |
parent | bb7d78568814a31a11fa14f1479a9fe51f1582ad (diff) | |
download | linux-d5b72a2123dfaf9416b1a1177b4be041f8a8b6d4.tar.bz2 |
dma-fence: add dma_fence_match_context helper
Add a helper to check if all fences in a fence array are from a given
context. For convenience, the function can also handle being given a
non-array fence.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1489768492-25190-1-git-send-email-p.zabel@pengutronix.de
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions