diff options
author | Jianglei Nie <niejianglei2021@163.com> | 2022-07-05 21:46:03 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-05 16:18:07 -0400 |
commit | c3c483391bb23e9bb8d8a51e54fefcf508b1cce3 (patch) | |
tree | 9eb5b75555fc32ce6d64407b210f4e570a22308e /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | 3e211f23aa1e1a3223edb64c4bc25cae28a1e3ae (diff) |
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: Jianglei Nie <niejianglei2021@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions