]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: release the VM shadow in the error path as well
authorChristian König <christian.koenig@amd.com>
Fri, 2 Feb 2018 20:00:44 +0000 (21:00 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:20 +0000 (14:19 -0500)
commit8de723caf69d1d25f5a306ed35571cf950a403e3
tree417569b0c75023b5555968f3d4c04d3625b3be61
parente52b0b89a5141773e327707706254962450cbdaa
drm/amdgpu: release the VM shadow in the error path as well

Without it we run into a memory leak.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c