drm/amdkfd: fix no atomics settings in the kfd topology
authorJonathan Kim <jonathan.kim@amd.com>
Fri, 30 Apr 2021 19:31:42 +0000 (15:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:45 +0000 (18:06 -0400)
commitbdd2465730a3ad62aec8ad47a59a9d36ffdebf37
tree42312579a50498286b14f8470276d02a1cd68247
parent84a19fa786a9f1d7f6aaf8021d3a46026ad5a7da
drm/amdkfd: fix no atomics settings in the kfd topology

To account for various PCIe and xGMI setups, check the no atomics settings
for a device in relation to every direct peer.

Signed-off-by: Jonathan Kim <jonathan.kim@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