diff options
| author | Dan Carpenter <[email protected]> | 2025-04-08 11:01:26 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2025-04-11 12:22:22 +0000 |
| commit | d27326a9999286fa45ad063f760e63329254f130 (patch) | |
| tree | 1f0b0ad112e00ac2798c0d300f09531b6e20b113 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | accel/ivpu: Add cmdq_id to job related logs (diff) | |
| download | kernel-d27326a9999286fa45ad063f760e63329254f130.tar.gz kernel-d27326a9999286fa45ad063f760e63329254f130.zip | |
dma-buf/sw_sync: Decrement refcount on error in sw_sync_ioctl_get_deadline()
Call dma_fence_put(fence) before returning an error if
dma_fence_to_sync_pt() fails. Use an unwind ladder at the
end of the function to do the cleanup.
Fixes: 70e67aaec2f4 ("dma-buf/sw_sync: Add fence deadline support")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
