Home
last modified time | relevance | path

Searched refs:xgmi (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.c324 return sysfs_emit(buf, "%llu\n", adev->gmc.xgmi.node_id); in amdgpu_xgmi_show_device_id()
485 if (!adev->gmc.xgmi.hive_id) in amdgpu_get_xgmi_hive()
496 if (hive->hive_id == adev->gmc.xgmi.hive_id) in amdgpu_get_xgmi_hive()
548 hive->hive_id = adev->gmc.xgmi.hive_id; in amdgpu_get_xgmi_hive()
619 request_adev->gmc.xgmi.node_id, in amdgpu_xgmi_set_pstate()
620 request_adev->gmc.xgmi.hive_id, ret); in amdgpu_xgmi_set_pstate()
651 adev->gmc.xgmi.node_id, in amdgpu_xgmi_update_topology()
652 adev->gmc.xgmi.hive_id, ret); in amdgpu_xgmi_update_topology()
672 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_hops_count()
684 if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id) in amdgpu_xgmi_get_num_links()
[all …]
Dgfxhub_v1_1.c88 if (max_region || adev->gmc.xgmi.connected_to_cpu) { in gfxhub_v1_1_get_xgmi_info()
89 adev->gmc.xgmi.num_physical_nodes = max_region + 1; in gfxhub_v1_1_get_xgmi_info()
91 if (adev->gmc.xgmi.num_physical_nodes > max_num_physical_nodes) in gfxhub_v1_1_get_xgmi_info()
95 adev->gmc.xgmi.physical_node_id = in gfxhub_v1_1_get_xgmi_info()
99 adev->gmc.xgmi.physical_node_id = in gfxhub_v1_1_get_xgmi_info()
104 if (adev->gmc.xgmi.physical_node_id > max_physical_node_id) in gfxhub_v1_1_get_xgmi_info()
107 adev->gmc.xgmi.node_segment_size = seg_size; in gfxhub_v1_1_get_xgmi_info()
Damdgpu_xgmi.h73 adev->gmc.xgmi.hive_id && in amdgpu_xgmi_same_hive()
74 adev->gmc.xgmi.hive_id == bo_adev->gmc.xgmi.hive_id); in amdgpu_xgmi_same_hive()
Damdgpu_gmc.c52 u64 vram_size = adev->gmc.xgmi.node_segment_size * adev->gmc.xgmi.num_physical_nodes; in amdgpu_gmc_pdb0_alloc()
219 if (mc->xgmi.num_physical_nodes == 0) { in amdgpu_gmc_vram_location()
247 u64 hive_vram_end = mc->xgmi.node_segment_size * mc->xgmi.num_physical_nodes - 1; in amdgpu_gmc_sysvm_location()
248 mc->vram_start = mc->xgmi.node_segment_size * mc->xgmi.physical_node_id; in amdgpu_gmc_sysvm_location()
249 mc->vram_end = mc->vram_start + mc->xgmi.node_segment_size - 1; in amdgpu_gmc_sysvm_location()
780 u64 vram_size = adev->gmc.xgmi.node_segment_size * adev->gmc.xgmi.num_physical_nodes; in amdgpu_gmc_init_pdb0()
783 adev->gmc.xgmi.physical_node_id * adev->gmc.xgmi.node_segment_size; in amdgpu_gmc_init_pdb0()
Dgmc_v9_0.c738 !adev->gmc.xgmi.connected_to_cpu) { in gmc_v9_0_set_irq_funcs()
824 if (adev->gmc.xgmi.num_physical_nodes && in gmc_v9_0_flush_gpu_tlb()
969 bool vega20_xgmi_wa = (adev->gmc.xgmi.num_physical_nodes && in gmc_v9_0_flush_gpu_tlb_pasid()
1209 adev->gmc.xgmi.connected_to_cpu) in gmc_v9_0_get_coherence_flags()
1486 if (!adev->gmc.xgmi.connected_to_cpu) in gmc_v9_0_set_umc_funcs()
1557 if (!adev->gmc.xgmi.connected_to_cpu) { in gmc_v9_0_set_mca_ras_funcs()
1570 if (!adev->gmc.xgmi.connected_to_cpu) in gmc_v9_0_set_xgmi_ras_funcs()
1571 adev->gmc.xgmi.ras = &xgmi_ras; in gmc_v9_0_set_xgmi_ras_funcs()
1585 adev->gmc.xgmi.supported = true; in gmc_v9_0_early_init()
1588 adev->gmc.xgmi.supported = true; in gmc_v9_0_early_init()
[all …]
Dgfxhub_v1_2.c258 if (adev->gmc.xgmi.connected_to_cpu || adev->gmc.is_app_apu) { in gfxhub_v1_2_xcc_init_cache_regs()
598 if (max_region || adev->gmc.xgmi.connected_to_cpu) { in gfxhub_v1_2_get_xgmi_info()
599 adev->gmc.xgmi.num_physical_nodes = max_region + 1; in gfxhub_v1_2_get_xgmi_info()
601 if (adev->gmc.xgmi.num_physical_nodes > max_num_physical_nodes) in gfxhub_v1_2_get_xgmi_info()
604 adev->gmc.xgmi.physical_node_id = in gfxhub_v1_2_get_xgmi_info()
608 if (adev->gmc.xgmi.physical_node_id > max_physical_node_id) in gfxhub_v1_2_get_xgmi_info()
611 adev->gmc.xgmi.node_segment_size = seg_size; in gfxhub_v1_2_get_xgmi_info()
Daldebaran.c39 adev->gmc.xgmi.connected_to_cpu)) in aldebaran_is_mode2_default()
176 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in aldebaran_mode2_perform_reset()
193 if (tmp_adev->gmc.xgmi.num_physical_nodes > 1) { in aldebaran_mode2_perform_reset()
390 tmp_adev->gmc.xgmi.num_physical_nodes > 1) in aldebaran_mode2_restore_hwcontext()
Damdgpu_device.c1228 if (adev->gmc.xgmi.pending_reset) in amdgpu_device_need_post()
2419 if (adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_device_ip_init()
2449 if (!adev->gmc.xgmi.pending_reset) { in amdgpu_device_ip_init()
2678 ((adev->asic_type == CHIP_ARCTURUS && adev->gmc.xgmi.num_physical_nodes > 1) || in amdgpu_device_ip_late_init()
2682 if (adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_device_ip_late_init()
2698 if (mgpu_info.num_dgpu == adev->gmc.xgmi.num_physical_nodes) { in amdgpu_device_ip_late_init()
2812 if (adev->gmc.xgmi.num_physical_nodes > 1) in amdgpu_device_ip_fini()
2961 if (adev->gmc.xgmi.pending_reset && in amdgpu_device_ip_suspend_phase2()
3672 if (adev->gmc.xgmi.supported) { in amdgpu_device_init()
3719 if (adev->gmc.xgmi.num_physical_nodes) { in amdgpu_device_init()
[all …]
Dgfxhub_v2_1.c524 adev->gmc.xgmi.num_physical_nodes = max_region + 1; in gfxhub_v2_1_get_xgmi_info()
525 if (adev->gmc.xgmi.num_physical_nodes > max_num_physical_nodes) in gfxhub_v2_1_get_xgmi_info()
528 adev->gmc.xgmi.physical_node_id = in gfxhub_v2_1_get_xgmi_info()
530 if (adev->gmc.xgmi.physical_node_id > max_physical_node_id) in gfxhub_v2_1_get_xgmi_info()
533 adev->gmc.xgmi.node_segment_size = REG_GET_FIELD( in gfxhub_v2_1_get_xgmi_info()
Damdgpu_ras.c1156 if (adev->gmc.xgmi.num_physical_nodes > 1 && in amdgpu_ras_error_inject()
2032 if (hive && adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_ras_do_recovery()
2036 list_add_tail(&adev->gmc.xgmi.head, &device_list); in amdgpu_ras_do_recovery()
2041 device_list_handle, gmc.xgmi.head) { in amdgpu_ras_do_recovery()
2333 if (adev->gmc.xgmi.pending_reset) in amdgpu_ras_recovery_init()
2358 (adev->gmc.xgmi.connected_to_cpu)) in amdgpu_ras_recovery_init()
2468 if (!adev->gmc.xgmi.connected_to_cpu && !adev->gmc.is_app_apu) { in amdgpu_ras_check_supported()
2502 if (!adev->gmc.xgmi.num_physical_nodes) in amdgpu_ras_check_supported()
2569 if (adev->gmc.xgmi.connected_to_cpu) { in amdgpu_ras_query_poison_mode()
2644 if (!adev->gmc.xgmi.connected_to_cpu) in amdgpu_ras_init()
[all …]
Damdgpu_amdkfd.c557 adev->gmc.xgmi.physical_node_id, in amdgpu_amdkfd_get_xgmi_hops_count()
558 peer_adev->gmc.xgmi.physical_node_id, ret); in amdgpu_amdkfd_get_xgmi_hops_count()
581 adev->gmc.xgmi.physical_node_id, in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
582 peer_adev->gmc.xgmi.physical_node_id, num_links); in amdgpu_amdkfd_get_xgmi_bandwidth_mbytes()
Dgmc_v10_0.c777 base += adev->gmc.xgmi.physical_node_id * adev->gmc.xgmi.node_segment_size; in gmc_v10_0_vram_gtt_location()
788 adev->gmc.xgmi.physical_node_id * adev->gmc.xgmi.node_segment_size; in gmc_v10_0_vram_gtt_location()
Damdgpu_psp.c415 !adev->gmc.xgmi.connected_to_cpu && in psp_sw_init()
1220 adev->gmc.xgmi.connected_to_cpu)) in psp_xgmi_terminate()
1333 uint64_t src_node_id = psp->adev->gmc.xgmi.node_id; in psp_xgmi_reflect_topology_info()
1339 list_for_each_entry(mirror_adev, &hive->device_list, gmc.xgmi.head) { in psp_xgmi_reflect_topology_info()
1343 if (mirror_adev->gmc.xgmi.node_id != dst_node_id) in psp_xgmi_reflect_topology_info()
1670 if (!adev->gmc.xgmi.connected_to_cpu && !adev->gmc.is_app_apu) in psp_ras_initialize()
2658 if (adev->gmc.xgmi.num_physical_nodes > 1) { in psp_load_fw()
2751 if (adev->gmc.xgmi.num_physical_nodes > 1) in psp_hw_fini()
2769 if (adev->gmc.xgmi.num_physical_nodes > 1 && in psp_suspend()
2864 if (adev->gmc.xgmi.num_physical_nodes > 1) { in psp_resume()
[all …]
Damdgpu_umc.c172 if (adev->gmc.xgmi.connected_to_cpu || in amdgpu_umc_poison_handler()
Damdgpu_gmc.h292 struct amdgpu_xgmi xgmi; member
Damdgpu_ib.c407 } else if (adev->gmc.xgmi.hive_id) { in amdgpu_ib_ring_tests()
Damdgpu_ucode.h141 struct psp_fw_legacy_bin_desc xgmi; member
Dgfxhub_v1_0.c208 if (adev->gmc.xgmi.connected_to_cpu) { in gfxhub_v1_0_init_cache_regs()
Dsoc15.c509 if (adev->gmc.xgmi.supported && adev->gmc.xgmi.connected_to_cpu) in soc15_asic_reset_method()
Damdgpu_object.c1071 if (!adev->gmc.xgmi.connected_to_cpu && !adev->gmc.is_app_apu) { in amdgpu_bo_init()
1107 if (!adev->gmc.xgmi.connected_to_cpu && !adev->gmc.is_app_apu) { in amdgpu_bo_fini()
Damdgpu_vram_mgr.c588 if (adev->gmc.xgmi.connected_to_cpu) in amdgpu_vram_mgr_new()
Damdgpu_drv.c2250 if (adev->gmc.xgmi.num_physical_nodes > 1) { in amdgpu_pci_remove()
2349 adev->gmc.xgmi.pending_reset = false; in amdgpu_drv_delayed_reset_work_handler()
/linux-6.6.21/Documentation/gpu/amdgpu/
Dindex.rst14 xgmi
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_migrate.c692 if (adev->gmc.xgmi.connected_to_cpu) in svm_migrate_vma_to_ram()
1017 if (adev->gmc.xgmi.connected_to_cpu) { in kgd2kfd_init_zone_device()
Dkfd_device.c744 kfd->hive_id = kfd->adev->gmc.xgmi.hive_id; in kgd2kfd_device_init()
1357 if (!node->adev->gmc.xgmi.supported) in kfd_get_num_sdma_engines()

12