summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2025-10-24 22:29:00 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-10-28 10:00:35 -0400
commit1017e393ad6d61756f7f35a6eb059a42a40818e6 (patch)
tree1d9c44b740b40a11f56d353ea00389c7f277d452 /drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c
parenta0559012a18a5a6ad87516e982892765a403b8ab (diff)
drm/amdkfd: fix the clean up when amdgpu_hmm_range_alloc fails
we need to unreserve the bo's too during clean up along with freeing the memory of context. Fixes: 7bb02a34c2ba ("drm/amdkfd: add missing return value check for range") Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c')
0 files changed, 0 insertions, 0 deletions