Searched refs:peer_dev (Results 1 – 2 of 2) sorted by relevance
1243 struct kfd_topology_device *peer_dev; in kfd_fill_iolink_non_crat_info() local1252 peer_dev = kfd_topology_device_by_proximity_domain( in kfd_fill_iolink_non_crat_info()1255 if (!peer_dev) in kfd_fill_iolink_non_crat_info()1259 if (!peer_dev->gpu && in kfd_fill_iolink_non_crat_info()1267 peer_dev->node_props.hive_id = dev->node_props.hive_id; in kfd_fill_iolink_non_crat_info()1270 list_for_each_entry(inbound_link, &peer_dev->io_link_props, in kfd_fill_iolink_non_crat_info()1276 kfd_set_iolink_no_atomics(peer_dev, dev, inbound_link); in kfd_fill_iolink_non_crat_info()1277 kfd_set_iolink_non_coherent(peer_dev, link, inbound_link); in kfd_fill_iolink_non_crat_info()1285 peer_dev = kfd_topology_device_by_proximity_domain( in kfd_fill_iolink_non_crat_info()1288 if (!peer_dev) in kfd_fill_iolink_non_crat_info()[all …]
2042 struct kfd_topology_device *peer_dev; in kfd_create_vcrat_image_gpu() local2168 peer_dev = kfd_topology_device_by_proximity_domain_no_lock(nid); in kfd_create_vcrat_image_gpu()2169 if (!peer_dev->gpu) in kfd_create_vcrat_image_gpu()2171 if (peer_dev->gpu->kfd->hive_id != kdev->kfd->hive_id) in kfd_create_vcrat_image_gpu()2177 &avail_size, kdev, peer_dev->gpu, in kfd_create_vcrat_image_gpu()