linux/drivers/gpu/drm/amd
Konstantin Meskhidze c655647900 drm/amdkfd: Fix memory leakage
[ Upstream commit 75818afff6 ]

This patch fixes potential memory leakage and seg fault
in  _gpuvm_import_dmabuf() function

Fixes: d4ec4bdc0b ("drm/amdkfd: Allow access for mmapping KFD BOs")
Signed-off-by: Konstantin Meskhidze <konstantin.meskhidze@huawei.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:19 +01:00
..
acp
amdgpu drm/amdkfd: Fix memory leakage 2022-12-31 13:32:19 +01:00
amdkfd drm/amdkfd: Fix error handling in criu_checkpoint 2022-11-09 17:57:48 -05:00
display drm/amd/display: wait for vblank during pipe programming 2022-12-31 13:32:06 +01:00
include drm/amdkfd: Fix type of reset_type parameter in hqd_destroy() callback 2022-10-18 22:13:12 -04:00
pm drm/amd/pm/smu11: BACO is supported when it's in BACO state 2022-12-31 13:32:19 +01:00