Home
last modified time | relevance | path

Searched refs:peer_adev (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.h63 struct amdgpu_device *peer_adev);
65 struct amdgpu_device *peer_adev);
H A Damdgpu_amdkfd.c551 struct amdgpu_device *peer_adev = src; in amdgpu_amdkfd_get_xgmi_hops_count() local
553 int ret = amdgpu_xgmi_get_hops_count(adev, peer_adev); in amdgpu_amdkfd_get_xgmi_hops_count()
558 peer_adev->gmc.xgmi.physical_node_id, ret); in amdgpu_amdkfd_get_xgmi_hops_count()
568 struct amdgpu_device *adev = dst, *peer_adev; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() local
575 peer_adev = src; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
578 num_links = is_min ? 1 : amdgpu_xgmi_get_num_links(adev, peer_adev); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
582 peer_adev->gmc.xgmi.physical_node_id, num_links); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
H A Damdgpu_xgmi.c665 struct amdgpu_device *peer_adev) in amdgpu_xgmi_get_hops_count() argument
672 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_hops_count()
678 struct amdgpu_device *peer_adev) in amdgpu_xgmi_get_num_links() argument
684 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_num_links()
H A Damdgpu_device.c5598 struct amdgpu_device *peer_adev) in amdgpu_device_is_peer_accessible() argument
5601 uint64_t address_mask = peer_adev->dev->dma_mask ? in amdgpu_device_is_peer_accessible()
5602 ~*peer_adev->dev->dma_mask : ~((1ULL << 32) - 1); in amdgpu_device_is_peer_accessible()
5607 !(pci_p2pdma_distance(adev->pdev, peer_adev->dev, false) < 0); in amdgpu_device_is_peer_accessible()
H A Damdgpu.h1316 struct amdgpu_device *peer_adev);