diff options
| author | Jiqian Chen <Jiqian.Chen@amd.com> | 2026-01-14 18:06:10 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-01-20 17:16:37 -0500 |
| commit | 5d42ee457ccd1fb5da4c7f817825b2806ec36956 (patch) | |
| tree | 5135e2686a6090fcfd1e2519029a368a6ff39494 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | fc3336be9c6297282dd7968a597166b212cb0dc0 (diff) | |
drm/amdgpu: free hw_vm_fence when fail in amdgpu_job_alloc
If drm_sched_job_init fails, hw_vm_fence is not freed currently,
then cause memory leak.
Fixes: db36632ea51e ("drm/amdgpu: clean up and unify hw fence handling")
Link: https://lore.kernel.org/amd-gfx/a5a828cb-0e4a-41f0-94c3-df31e5ddad52@amd.com/T/#t
Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
Reviewed-by: Amos Kong <kongjianjun@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
