Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dgmc_v11_0.c78 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), false); in gmc_v11_0_vm_fault_interrupt_state()
90 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), true); in gmc_v11_0_vm_fault_interrupt_state()
104 AMDGPU_MMHUB0(0) : AMDGPU_GFXHUB(0); in gmc_v11_0_process_interrupt()
118 if (entry->vmid_src == AMDGPU_GFXHUB(0)) in gmc_v11_0_process_interrupt()
125 entry->vmid_src ? AMDGPU_MMHUB0(0) : AMDGPU_GFXHUB(0)); in gmc_v11_0_process_interrupt()
221 if ((vmhub == AMDGPU_GFXHUB(0)) && !adev->gfx.is_poweron) in gmc_v11_0_flush_gpu_tlb()
242 hub_ip = (vmhub == AMDGPU_GFXHUB(0)) ? GC_HWIP : MMHUB_HWIP; in gmc_v11_0_flush_gpu_tlb()
283 if ((vmhub != AMDGPU_GFXHUB(0)) && in gmc_v11_0_flush_gpu_tlb()
333 gmc_v11_0_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(0), in gmc_v11_0_flush_gpu_tlb_pasid()
397 if (ring->vm_hub == AMDGPU_GFXHUB(0)) in gmc_v11_0_emit_pasid_mapping()
[all …]
Dgmc_v12_0.c68 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), false); in gmc_v12_0_vm_fault_interrupt_state()
80 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), true); in gmc_v12_0_vm_fault_interrupt_state()
103 hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gmc_v12_0_process_interrupt()
111 if (entry->vmid_src == AMDGPU_GFXHUB(0)) in gmc_v12_0_process_interrupt()
118 entry->vmid_src ? AMDGPU_MMHUB0(0) : AMDGPU_GFXHUB(0)); in gmc_v12_0_process_interrupt()
210 hub_ip = (vmhub == AMDGPU_GFXHUB(0)) ? in gmc_v12_0_flush_vm_hub()
260 if ((vmhub != AMDGPU_GFXHUB(0)) && in gmc_v12_0_flush_vm_hub()
293 if ((vmhub == AMDGPU_GFXHUB(0)) && !adev->gfx.is_poweron) in gmc_v12_0_flush_gpu_tlb()
353 gmc_v12_0_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(0), in gmc_v12_0_flush_gpu_tlb_pasid()
417 if (ring->vm_hub == AMDGPU_GFXHUB(0)) in gmc_v12_0_emit_pasid_mapping()
[all …]
Dgmc_v10_0.c78 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), false); in gmc_v10_0_vm_fault_interrupt_state()
90 amdgpu_gmc_set_vm_fault_masks(adev, AMDGPU_GFXHUB(0), true); in gmc_v10_0_vm_fault_interrupt_state()
104 AMDGPU_MMHUB0(0) : AMDGPU_GFXHUB(0); in gmc_v10_0_process_interrupt()
146 if ((entry->vmid_src == AMDGPU_GFXHUB(0)) && in gmc_v10_0_process_interrupt()
155 entry->vmid_src ? AMDGPU_MMHUB0(0) : AMDGPU_GFXHUB(0)); in gmc_v10_0_process_interrupt()
281 hub_ip = (vmhub == AMDGPU_GFXHUB(0)) ? GC_HWIP : MMHUB_HWIP; in gmc_v10_0_flush_gpu_tlb()
311 if ((vmhub == AMDGPU_GFXHUB(0)) && in gmc_v10_0_flush_gpu_tlb()
368 gmc_v10_0_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(0), in gmc_v10_0_flush_gpu_tlb_pasid()
432 if (ring->vm_hub == AMDGPU_GFXHUB(0)) in gmc_v10_0_emit_pasid_mapping()
830 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v10_0_sw_init()
[all …]
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()
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()
Dgfxhub_v3_0_3.c125 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_setup_vm_pt_regs()
297 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_setup_vmid_config()
346 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_program_invalidation()
375 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_gart_disable()
453 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_init()
Dgfxhub_v3_0.c122 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_setup_vm_pt_regs()
292 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_setup_vmid_config()
341 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_program_invalidation()
382 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_gart_disable()
465 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_init()
Dgfxhub_v12_0.c130 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v12_0_setup_vm_pt_regs()
300 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v12_0_setup_vmid_config()
349 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v12_0_program_invalidation()
390 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v12_0_gart_disable()
473 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v12_0_init()
Dgfxhub_v11_5_0.c127 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v11_5_0_setup_vm_pt_regs()
295 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v11_5_0_setup_vmid_config()
344 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v11_5_0_program_invalidation()
385 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v11_5_0_gart_disable()
468 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v11_5_0_init()
Dgfxhub_v2_1.c126 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_setup_vm_pt_regs()
297 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_setup_vmid_config()
346 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_program_invalidation()
387 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_gart_disable()
468 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_init()
659 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_1_halt()
Dgmc_v9_0.c493 if (adev->in_s0ix && (j == AMDGPU_GFXHUB(0))) in gmc_v9_0_vm_fault_interrupt_state()
521 if (adev->in_s0ix && (j == AMDGPU_GFXHUB(0))) in gmc_v9_0_vm_fault_interrupt_state()
661 if ((entry->vmid_src == AMDGPU_GFXHUB(0)) && in gmc_v9_0_process_interrupt()
683 if (entry->vmid_src == AMDGPU_GFXHUB(0)) { in gmc_v9_0_process_interrupt()
902 if ((vmhub == AMDGPU_GFXHUB(0)) && in gmc_v9_0_flush_gpu_tlb()
969 AMDGPU_GFXHUB(0), in gmc_v9_0_flush_gpu_tlb_pasid()
1034 if (ring->vm_hub == AMDGPU_GFXHUB(0)) in gmc_v9_0_emit_pasid_mapping()
2049 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v9_0_sw_init()
2066 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v9_0_sw_init()
2080 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v9_0_sw_init()
[all …]
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()
399 hub = &adev->vmhub[AMDGPU_GFXHUB(j)]; in gfxhub_v1_2_xcc_program_invalidation()
445 hub = &adev->vmhub[AMDGPU_GFXHUB(j)]; in gfxhub_v1_2_xcc_gart_disable()
542 hub = &adev->vmhub[AMDGPU_GFXHUB(i)]; in gfxhub_v1_2_xcc_init()
Damdgpu_vm.c2753 if (!fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)]) { in amdgpu_vm_ioctl()
2754 amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(0)); in amdgpu_vm_ioctl()
2755 fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)] = true; in amdgpu_vm_ioctl()
2760 if (fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)]) { in amdgpu_vm_ioctl()
2761 amdgpu_vmid_free_reserved(adev, AMDGPU_GFXHUB(0)); in amdgpu_vm_ioctl()
2762 fpriv->vm.reserved_vmid[AMDGPU_GFXHUB(0)] = false; in amdgpu_vm_ioctl()
Damdgpu_gmc.c909 tmp = (hub_type == AMDGPU_GFXHUB(0)) ? in amdgpu_gmc_set_vm_fault_masks()
918 (hub_type == AMDGPU_GFXHUB(0)) ? in amdgpu_gmc_set_vm_fault_masks()
Damdgpu_vm.h159 #define AMDGPU_GFXHUB(x) (AMDGPU_GFXHUB_START + (x)) macro
Damdgpu_ids.c609 amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(i)); in amdgpu_vmid_mgr_init()
Damdgpu_gfx.c323 ring->vm_hub = AMDGPU_GFXHUB(xcc_id); in amdgpu_gfx_kiq_init_ring()
1588 amdgpu_vmid_free_reserved(adev, AMDGPU_GFXHUB(i)); in amdgpu_gfx_set_enforce_isolation()
1591 amdgpu_vmid_alloc_reserved(adev, AMDGPU_GFXHUB(i)); in amdgpu_gfx_set_enforce_isolation()
Dgmc_v7_0.c976 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v7_0_sw_init()
1271 ((u64)addr) << AMDGPU_GPU_PAGE_SHIFT, status, AMDGPU_GFXHUB(0)); in gmc_v7_0_process_interrupt()
Dgmc_v8_0.c1084 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v8_0_sw_init()
1440 ((u64)addr) << AMDGPU_GPU_PAGE_SHIFT, status, AMDGPU_GFXHUB(0)); in gmc_v8_0_process_interrupt()
Dgmc_v6_0.c807 set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask); in gmc_v6_0_sw_init()
Dgfx_v12_0.c913 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v12_0_gfx_ring_init()
944 ring->vm_hub = AMDGPU_GFXHUB(0); in gfx_v12_0_compute_ring_init()
1681 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v12_0_constants_init()
3440 adev->gmc.gmc_funcs->flush_gpu_tlb(adev, 0, AMDGPU_GFXHUB(0), 0); in gfx_v12_0_gfxhub_enable()
Dmes_v12_0.c281 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in mes_v12_0_add_hw_queue()
Dsdma_v7_0.c1309 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v7_0_sw_init()
Dsdma_v6_0.c1321 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v6_0_sw_init()
Dsdma_v5_2.c1300 ring->vm_hub = AMDGPU_GFXHUB(0); in sdma_v5_2_sw_init()

12