Skip to content
Commit c3c48339 authored by Jianglei Nie's avatar Jianglei Nie Committed by Alex Deucher
Browse files

drm/amdgpu/mes: Fix an error handling path in amdgpu_mes_self_test()



if amdgpu_mes_ctx_alloc_meta_data() fails, we should call amdgpu_vm_fini()
to handle amdgpu_vm_init().

Add a new lable before amdgpu_vm_init() and goto this lable when
amdgpu_mes_ctx_alloc_meta_data() fails.

Signed-off-by: default avatarJianglei Nie <niejianglei2021@163.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3e211f23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment