aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2022-08-02 21:01:58 +0000
committerChristian König <[email protected]>2022-11-18 19:07:58 +0000
commitc19083c72ea72a1c12037bb3d708014632df80e4 (patch)
treeb285cb8a9867070080c5ca4f66a92b2a8ed7f95e /tools/perf/scripts/python/sched-migration.py
parentdrm/amdgpu: handle gang submit before VMID (diff)
downloadkernel-c19083c72ea72a1c12037bb3d708014632df80e4.tar.gz
kernel-c19083c72ea72a1c12037bb3d708014632df80e4.zip
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/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions