diff options
author | Felix Kuehling <felix.kuehling@gmail.com> | 2022-11-16 15:38:44 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-23 10:31:31 -0500 |
commit | f701acb6a4ed0acc0ba85a7ee18b12a75c0c58f0 (patch) | |
tree | 22bb1f5ce1f9b824ad2328fb5aff1fda91422419 /drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | |
parent | 88733d68014f06d4aae8ef0673ee31602ef1f0a7 (diff) | |
download | linux-f701acb6a4ed0acc0ba85a7ee18b12a75c0c58f0.tar.gz linux-f701acb6a4ed0acc0ba85a7ee18b12a75c0c58f0.tar.bz2 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/vcn_v2_5.c')
0 files changed, 0 insertions, 0 deletions