]> Git Repo - linux.git/commit
drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr
authorLang Yu <[email protected]>
Fri, 18 Oct 2024 09:21:09 +0000 (17:21 +0800)
committerAlex Deucher <[email protected]>
Thu, 24 Oct 2024 22:06:24 +0000 (18:06 -0400)
commit46186667f98fb7158c98f4ff5da62c427761ffcd
tree3142aac15f84fbb3cbfe081e0492a8d5fd6e3ec2
parentd37bc6a4ed252083c8f883597389e7f33ad8b670
drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr

Free sg table when dma_map_sgtable() failed to avoid memory leak.

Signed-off-by: Lang Yu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
This page took 0.051652 seconds and 4 git commands to generate.