]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix error handling in amdgpu_vm_init
authorFelix Kuehling <Felix.Kuehling@amd.com>
Sat, 26 Aug 2017 00:15:04 +0000 (20:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 17:07:01 +0000 (13:07 -0400)
commit5c8788b6cb829c4abec485d1effee3157bd2cfe0
tree787da6e464098c1afd94c3e17f741c24329af6ca
parent76d10269e7326ddefc89a866104dd463e7ab224e
drm/amdgpu: Fix error handling in amdgpu_vm_init

Make sure vm->root.bo is not left reserved if amdgpu_bo_kmap fails.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c