diff options
| author | Lang Yu <[email protected]> | 2021-09-29 06:54:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-10-04 19:23:02 +0000 |
| commit | 546dc20fedc51d1885ddd2cc4338cb28c3d9b5cd (patch) | |
| tree | e87fe10730dfaecc45c2f9a23595e8455ba4288c /drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.h | |
| parent | drm/amdgpu: add an option to override IP discovery table from a file (diff) | |
| download | kernel-546dc20fedc51d1885ddd2cc4338cb28c3d9b5cd.tar.gz kernel-546dc20fedc51d1885ddd2cc4338cb28c3d9b5cd.zip | |
drm/amdkfd: fix a potential ttm->sg memory leak
Memory is allocated for ttm->sg by kmalloc in kfd_mem_dmamap_userptr,
but isn't freed by kfree in kfd_mem_dmaunmap_userptr. Free it!
Fixes: 264fb4d332f5 ("drm/amdgpu: Add multi-GPU DMA mapping helpers")
Signed-off-by: Lang Yu <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.h')
0 files changed, 0 insertions, 0 deletions
