]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Fix updating IO links during device removal
authorMukul Joshi <mukul.joshi@amd.com>
Wed, 20 Apr 2022 15:34:53 +0000 (11:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Apr 2022 21:44:35 +0000 (17:44 -0400)
commit022db68ee7a2acf2f28134e74753bda897375753
treea0becf4a9d2ad1e968da83461f4f413b3217222a
parent2de31a34f4ed1f4616584f7325d14471dfa8d3d5
drm/amdkfd: Fix updating IO links during device removal

The logic to update the IO links when a KFD device
is removed was not correct as it would miss updating
the proximity domain values for some nodes where the
node_from and node_to both were greater values than the
proximity domain value of the KFD device being removed
from topology.

Fixes: ebc1a5ca4f5872 ("drm/amdkfd: Cleanup IO links during KFD device removal")
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c