Home
last modified time | relevance | path

Searched refs:AMDGPU_GFXHUB (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v10_0.c80 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 …]
H A Dgmc_v11_0.c75 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()
H A Dgfxhub_v1_0.c43 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()
H A Dgfxhub_v2_0.c123 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()
H A Dgfxhub_v3_0_3.c125 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()
H A Dgfxhub_v3_0.c122 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()
H A Dgfxhub_v2_1.c126 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()
H A Dgmc_v9_0.c494 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 …]
H A Dgfxhub_v1_2.c51 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()
H A Damdgpu_ids.c472 (enforce_isolation && (vmhub == AMDGPU_GFXHUB(0))); in amdgpu_vmid_uses_reserved()
589 amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(0)); in amdgpu_vmid_mgr_init()
H A Damdgpu_vm.c2498 if (!fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)]) { in amdgpu_vm_ioctl()
2499 amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(0)); in amdgpu_vm_ioctl()
2500 fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)] = true; in amdgpu_vm_ioctl()
2505 if (fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)]) { in amdgpu_vm_ioctl()
2506 amdgpu_vmid_free_reserved(adev, AMDGPU_GFXHUB(0)); in amdgpu_vm_ioctl()
2507 fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)] = false; in amdgpu_vm_ioctl()
H A Damdgpu_gmc.c672 tmp = (hub_type == AMDGPU_GFXHUB(0)) ? in amdgpu_gmc_set_vm_fault_masks()
681 (hub_type == AMDGPU_GFXHUB(0)) ? in amdgpu_gmc_set_vm_fault_masks()
H A Damdgpu_vm.h127 #define AMDGPU_GFXHUB(x) (x) macro
H A Damdgpu_amdkfd.c714 amdgpu_gmc_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(0), 0); in amdgpu_amdkfd_flush_gpu_tlb_vmid()
H A Dgmc_v6_0.c811 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v6_0_sw_init()
H A Dgmc_v7_0.c982 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v7_0_sw_init()
H A Dmes_v10_1.c152 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in mes_v10_1_add_hw_queue()
H A Dmes_v11_0.c167 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in mes_v11_0_add_hw_queue()
H A Damdgpu_gfx.c319 ring->vm_hub = AMDGPU_GFXHUB(xcc_id); in amdgpu_gfx_kiq_init_ring()
H A Dgmc_v8_0.c1090 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v8_0_sw_init()
H A Dgfx_v11_0.c921 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()
H A Dsdma_v5_2.c1264 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v5_2_sw_init()
H A Dsdma_v6_0.c1304 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v6_0_sw_init()
H A Dgfx_v9_0.c1988 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v9_0_compute_ring_init()
2088 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v9_0_sw_init()
2106 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v9_0_sw_init()
2399 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v9_0_constants_init()
H A Dsdma_v5_0.c1388 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v5_0_sw_init()

12