summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_crtc_internal.h
diff options
context:
space:
mode:
authorLang Yu <lang.yu@amd.com>2021-09-29 14:54:39 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-10-04 15:23:02 -0400
commit546dc20fedc51d1885ddd2cc4338cb28c3d9b5cd (patch)
treee87fe10730dfaecc45c2f9a23595e8455ba4288c /drivers/gpu/drm/drm_crtc_internal.h
parenta79d3709c40d492fb859fb5cec4bb0b3eaa09a12 (diff)
downloadlinux-546dc20fedc51d1885ddd2cc4338cb28c3d9b5cd.tar.gz
linux-546dc20fedc51d1885ddd2cc4338cb28c3d9b5cd.tar.bz2
linux-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 <lang.yu@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/drm_crtc_internal.h')
0 files changed, 0 insertions, 0 deletions