Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.h64 struct amdgpu_device *peer_adev);
66 struct amdgpu_device *peer_adev);
Damdgpu_amdkfd.c561 struct amdgpu_device *peer_adev = src; in amdgpu_amdkfd_get_xgmi_hops_count() local
563 int ret = amdgpu_xgmi_get_hops_count(adev, peer_adev); in amdgpu_amdkfd_get_xgmi_hops_count()
568 peer_adev->gmc.xgmi.physical_node_id, ret); in amdgpu_amdkfd_get_xgmi_hops_count()
578 struct amdgpu_device *adev = dst, *peer_adev; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes() local
585 peer_adev = src; in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
588 num_links = is_min ? 1 : amdgpu_xgmi_get_num_links(adev, peer_adev); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
592 peer_adev->gmc.xgmi.physical_node_id, num_links); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
Damdgpu_xgmi.c779 struct amdgpu_device *peer_adev) in amdgpu_xgmi_get_hops_count() argument
786 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_hops_count()
792 struct amdgpu_device *peer_adev) in amdgpu_xgmi_get_num_links() argument
798 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_num_links()
830 struct amdgpu_device *peer_adev) in amdgpu_xgmi_fill_topology_info() argument
833 struct psp_xgmi_topology_info *peer_info = &peer_adev->psp.xgmi_context.top_info; in amdgpu_xgmi_fill_topology_info()
838 if (top_info->nodes[j].node_id == peer_adev->gmc.xgmi.node_id) { in amdgpu_xgmi_fill_topology_info()
Damdgpu_device.c6089 struct amdgpu_device *peer_adev) in amdgpu_device_is_peer_accessible() argument
6094 !(pci_p2pdma_distance(adev->pdev, peer_adev->dev, false) < 0); in amdgpu_device_is_peer_accessible()
6098 bool p2p_addressable = amdgpu_device_check_iommu_remap(peer_adev); in amdgpu_device_is_peer_accessible()
6101 uint64_t address_mask = peer_adev->dev->dma_mask ? in amdgpu_device_is_peer_accessible()
6102 ~*peer_adev->dev->dma_mask : ~((1ULL << 32) - 1); in amdgpu_device_is_peer_accessible()
Damdgpu.h1428 struct amdgpu_device *peer_adev);