diff options
| author | 2022-11-16 15:38:44 -0500 | |
|---|---|---|
| committer | 2022-11-23 10:31:31 -0500 | |
| commit | f701acb6a4ed0acc0ba85a7ee18b12a75c0c58f0 (patch) | |
| tree | 22bb1f5ce1f9b824ad2328fb5aff1fda91422419 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu: add register definition for VCN RAS initialization (diff) | |
| download | wireguard-linux-f701acb6a4ed0acc0ba85a7ee18b12a75c0c58f0.tar.xz wireguard-linux-f701acb6a4ed0acc0ba85a7ee18b12a75c0c58f0.zip | |
drm/amdkfd: Release the topology_lock in error case
Move the topology-locked part of kfd_topology_add_device into a separate
function to simlpify error handling and release the topology lock
consistently.
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Felix Kuehling <felix.kuehling@gmail.com>
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
