]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: free job fences on failure in amdgpu_job_alloc_with_ib
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 24 Nov 2025 14:42:50 +0000 (15:42 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Nov 2025 16:27:24 +0000 (11:27 -0500)
commite60573b5980219ad09bb78a014d2fa8664337cf1
treeab13869a2aa26c9f9c2a087443afa73a22060f23
parent723c1dd3629d2d6eb319247d4eaba9f7b78319fa
drm/amdgpu: free job fences on failure in amdgpu_job_alloc_with_ib

Otherwise we're leaking memory.

Fixes: db36632ea51e ("drm/amdgpu: clean up and unify hw fence handling")
Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.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>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c