diff options
| author | Jianglei Nie <[email protected]> | 2022-07-05 13:46:03 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-07-05 20:18:07 +0000 |
| commit | c3c483391bb23e9bb8d8a51e54fefcf508b1cce3 (patch) | |
| tree | 9eb5b75555fc32ce6d64407b210f4e570a22308e /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/display: Maintain old audio programming sequence (diff) | |
| download | kernel-c3c483391bb23e9bb8d8a51e54fefcf508b1cce3.tar.gz kernel-c3c483391bb23e9bb8d8a51e54fefcf508b1cce3.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
