aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2022-08-02 16:01:58 -0500
committerChristian König <[email protected]>2022-11-18 20:07:58 +0100
commitc19083c72ea72a1c12037bb3d708014632df80e4 (patch)
treeb285cb8a9867070080c5ca4f66a92b2a8ed7f95e /tools/testing/selftests/bpf/progs/test_autoload.c
parentb09d6acba1d9a23963fedf96b4191502a4fec25d (diff)
dma-buf: Use dma_fence_unwrap_for_each when importing fences
Ever since 68129f431faa ("dma-buf: warn about containers in dma_resv object"), dma_resv_add_shared_fence will warn if you attempt to add a container fence. While most drivers were fine, fences can also be added to a dma_resv via the recently added DMA_BUF_IOCTL_IMPORT_SYNC_FILE. Use dma_fence_unwrap_for_each to add each fence one at a time. Fixes: 594740497e99 ("dma-buf: Add an API for importing sync files (v10)") Signed-off-by: Jason Ekstrand <[email protected]> Reported-by: Sarah Walker <[email protected]> Reviewed-by: Christian König <[email protected]> CC: [email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions