diff options
| author | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-02-20 02:35:19 +0300 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-02-24 00:48:43 +0300 |
| commit | 0879c3f04f67e2a1677c25dcc24669ce21eb6a6c (patch) | |
| tree | dfe7757a6bb1b0f71d08218e402a58881f142721 /include/linux/debugobjects.h | |
| parent | 1bfd7575092420ba5a0b944953c95b74a5646ff8 (diff) | |
| download | linux-0879c3f04f67e2a1677c25dcc24669ce21eb6a6c.tar.xz | |
drm/xe/sync: Fix user fence leak on alloc failure
When dma_fence_chain_alloc() fails, properly release the user fence
reference to prevent a memory leak.
Fixes: 0995c2fc39b0 ("drm/xe: Enforce correct user fence signaling order using")
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260219233516.2938172-6-shuicheng.lin@intel.com
(cherry picked from commit a5d5634cde48a9fcd68c8504aa07f89f175074a0)
Cc: stable@vger.kernel.org
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
