/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | gmc_v10_0.c | 80 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), false); in gmc_v10_0_vm_fault_interrupt_state() 92 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), true); in gmc_v10_0_vm_fault_interrupt_state() 106 AMDGPU_MMHUB0(0) : AMDGPU_GFXHUB(0); in gmc_v10_0_process_interrupt() 147 if ((entry->vmid_src == AMDGPU_GFXHUB(0)) && in gmc_v10_0_process_interrupt() 245 hub_ip = (vmhub == AMDGPU_GFXHUB(0)) ? in gmc_v10_0_flush_vm_hub() 280 if ((vmhub == AMDGPU_GFXHUB(0)) && in gmc_v10_0_flush_vm_hub() 363 BUG_ON(vmhub != AMDGPU_GFXHUB(0)); in gmc_v10_0_flush_gpu_tlb() 369 gmc_v10_0_flush_vm_hub(adev, vmid, AMDGPU_GFXHUB(0), 0); in gmc_v10_0_flush_gpu_tlb() 463 AMDGPU_GFXHUB(0), flush_type); in gmc_v10_0_flush_gpu_tlb_pasid() 531 if (ring->vm_hub == AMDGPU_GFXHUB(0)) in gmc_v10_0_emit_pasid_mapping() [all …]
|
D | gmc_v11_0.c | 75 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), false); in gmc_v11_0_vm_fault_interrupt_state() 87 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), true); in gmc_v11_0_vm_fault_interrupt_state() 101 AMDGPU_MMHUB0(0) : AMDGPU_GFXHUB(0); in gmc_v11_0_process_interrupt() 115 if (entry->vmid_src == AMDGPU_GFXHUB(0)) in gmc_v11_0_process_interrupt() 206 hub_ip = (vmhub == AMDGPU_GFXHUB(0)) ? in gmc_v11_0_flush_vm_hub() 255 if ((vmhub != AMDGPU_GFXHUB(0)) && in gmc_v11_0_flush_vm_hub() 288 if ((vmhub == AMDGPU_GFXHUB(0)) && !adev->gfx.is_poweron) in gmc_v11_0_flush_gpu_tlb() 373 AMDGPU_GFXHUB(0), flush_type); in gmc_v11_0_flush_gpu_tlb_pasid() 439 if (ring->vm_hub == AMDGPU_GFXHUB(0)) in gmc_v11_0_emit_pasid_mapping() 784 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v11_0_sw_init()
|
D | gfxhub_v1_0.c | 43 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v1_0_setup_vm_pt_regs() 252 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v1_0_setup_vmid_config() 312 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v1_0_program_invalidation() 343 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v1_0_gart_disable() 417 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v1_0_init()
|
D | gfxhub_v2_0.c | 123 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_setup_vm_pt_regs() 285 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_setup_vmid_config() 334 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_program_invalidation() 363 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_gart_disable() 437 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_init()
|
D | gfxhub_v3_0_3.c | 125 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_setup_vm_pt_regs() 298 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_setup_vmid_config() 347 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_program_invalidation() 376 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_gart_disable() 454 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_init()
|
D | gfxhub_v3_0.c | 122 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_setup_vm_pt_regs() 293 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_setup_vmid_config() 342 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_program_invalidation() 383 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_gart_disable() 466 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_init()
|
D | gfxhub_v2_1.c | 126 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_setup_vm_pt_regs() 294 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_setup_vmid_config() 343 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_program_invalidation() 384 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_gart_disable() 465 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_init() 656 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_halt()
|
D | gmc_v9_0.c | 494 if (adev->in_s0ix && (j == AMDGPU_GFXHUB(0))) in gmc_v9_0_vm_fault_interrupt_state() 522 if (adev->in_s0ix && (j == AMDGPU_GFXHUB(0))) in gmc_v9_0_vm_fault_interrupt_state() 655 if ((entry->vmid_src == AMDGPU_GFXHUB(0)) && in gmc_v9_0_process_interrupt() 667 if (entry->vmid_src == AMDGPU_GFXHUB(0)) { in gmc_v9_0_process_interrupt() 896 if ((vmhub == AMDGPU_GFXHUB(0)) && in gmc_v9_0_flush_gpu_tlb() 1023 AMDGPU_GFXHUB(0), flush_type); in gmc_v9_0_flush_gpu_tlb_pasid() 1092 if (ring->vm_hub == AMDGPU_GFXHUB(0)) in gmc_v9_0_emit_pasid_mapping() 2069 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v9_0_sw_init() 2086 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v9_0_sw_init() 2103 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v9_0_sw_init() [all …]
|
D | gfxhub_v1_2.c | 51 hub = &adev->vmhub[AMDGPU_GFXHUB(i)]; in gfxhub_v1_2_xcc_setup_vm_pt_regs() 332 hub = &adev->vmhub[AMDGPU_GFXHUB(j)]; in gfxhub_v1_2_xcc_setup_vmid_config() 393 hub = &adev->vmhub[AMDGPU_GFXHUB(j)]; in gfxhub_v1_2_xcc_program_invalidation() 439 hub = &adev->vmhub[AMDGPU_GFXHUB(j)]; in gfxhub_v1_2_xcc_gart_disable() 534 hub = &adev->vmhub[AMDGPU_GFXHUB(i)]; in gfxhub_v1_2_xcc_init()
|
D | amdgpu_ids.c | 412 if (vm->reserved_vmid[vmhub] || (enforce_isolation && (vmhub == AMDGPU_GFXHUB(0)))) { in amdgpu_vmid_grab() 576 amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(0)); in amdgpu_vmid_mgr_init()
|
D | amdgpu_vm.c | 2478 if (!fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)]) { in amdgpu_vm_ioctl() 2479 amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(0)); in amdgpu_vm_ioctl() 2480 fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)] = true; in amdgpu_vm_ioctl() 2485 if (fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)]) { in amdgpu_vm_ioctl() 2486 amdgpu_vmid_free_reserved(adev, AMDGPU_GFXHUB(0)); in amdgpu_vm_ioctl() 2487 fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)] = false; in amdgpu_vm_ioctl()
|
D | amdgpu_gmc.c | 673 tmp = (hub_type == AMDGPU_GFXHUB(0)) ? in amdgpu_gmc_set_vm_fault_masks() 682 (hub_type == AMDGPU_GFXHUB(0)) ? in amdgpu_gmc_set_vm_fault_masks()
|
D | amdgpu_vm.h | 127 #define AMDGPU_GFXHUB(x) (x) macro
|
D | amdgpu_amdkfd.c | 736 amdgpu_gmc_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(0), 0); in amdgpu_amdkfd_flush_gpu_tlb_vmid()
|
D | gmc_v6_0.c | 811 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v6_0_sw_init()
|
D | gmc_v7_0.c | 982 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v7_0_sw_init()
|
D | mes_v10_1.c | 152 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in mes_v10_1_add_hw_queue()
|
D | mes_v11_0.c | 167 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in mes_v11_0_add_hw_queue()
|
D | amdgpu_gfx.c | 319 ring->vm_hub = AMDGPU_GFXHUB(xcc_id); in amdgpu_gfx_kiq_init_ring()
|
D | gmc_v8_0.c | 1090 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v8_0_sw_init()
|
D | gfx_v11_0.c | 921 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v11_0_gfx_ring_init() 952 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v11_0_compute_ring_init() 1723 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v11_0_constants_init() 4189 amdgpu_gmc_flush_gpu_tlb(adev, 0, AMDGPU_GFXHUB(0), 0); in gfx_v11_0_gfxhub_enable()
|
D | sdma_v5_2.c | 1252 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v5_2_sw_init()
|
D | sdma_v6_0.c | 1304 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v6_0_sw_init()
|
D | gfx_v9_0.c | 1984 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v9_0_compute_ring_init() 2084 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v9_0_sw_init() 2102 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v9_0_sw_init() 2395 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v9_0_constants_init()
|
D | sdma_v5_0.c | 1388 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v5_0_sw_init()
|