diff options
| author | Erhan Bilgili <erhan.bilgili@gmail.com> | 2026-10-25 11:03:32 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-11-04 12:40:22 -0500 |
| commit | ea47f84199241dd083d40a241beea665415d4f6c (patch) | |
| tree | ed8a3c77738693c59db743c9b7cccebc0e8dd45c /include/linux/workqueue.h | |
| parent | 079f9103d9cde68fb2ccc414e94520f43ee102de (diff) | |
drm/amdgpu: Fix duplicate dependency fence releases
drm_sched_job_add_dependency() consumes its fence reference on success
and failure. Do not release the fence again if
drm_sched_job_add_dependency() fails.
Fixes: 41cc108b2451 ("drm/amdgpu: fix missing dma_fence_put in error path")
Fixes: c1c4a8b21721 ("drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Erhan Bilgili <erhan.bilgili@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit e04f3dfb2071451633e6440a3911a9bb65df9144)
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
