diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-07-27 04:22:16 +0300 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-07-31 04:44:10 +0300 |
commit | 7f7a2da3bf8bc0e0f6c239af495b7050056e889c (patch) | |
tree | 6d923ebfb0ee6b3db7eb0f133dedf3fdb598d596 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2881dfdaaa9ec873dbd383ef5512fc31e576cbb (diff) | |
download | linux-7f7a2da3bf8bc0e0f6c239af495b7050056e889c.tar.xz |
drm/xe: Use dma_fence_chain_free in chain fence unused as a sync
A chain fence is uninitialized if not installed in a drm sync obj. Thus
if xe_sync_entry_cleanup is called and sync->chain_fence is non-NULL the
proper cleanup is dma_fence_chain_free rather than a dma-fence put.
Reported-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2411
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2261
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240727012216.2118276-1-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions