Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c202 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vmid_grab_idle() local
203 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_idle()
277 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vmid_grab_reserved() local
283 *id = vm->reserved_vmid[vmhub]; in amdgpu_vmid_grab_reserved()
346 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vmid_grab_used() local
347 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_used()
414 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vmid_grab() local
415 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab()
425 if (vm->reserved_vmid[vmhub]) { in amdgpu_vmid_grab()
471 unsigned vmhub) in amdgpu_vmid_alloc_reserved() argument
[all …]
Dgmc_v10_0.c96 struct amdgpu_vmhub *hub = &adev->vmhub[entry->vmid_src]; in gmc_v10_0_process_interrupt()
167 uint32_t vmhub) in gmc_v10_0_use_invalidate_semaphore() argument
169 return ((vmhub == AMDGPU_MMHUB_0 || in gmc_v10_0_use_invalidate_semaphore()
170 vmhub == AMDGPU_MMHUB_1) && in gmc_v10_0_use_invalidate_semaphore()
195 unsigned int vmhub, uint32_t flush_type) in gmc_v10_0_flush_vm_hub() argument
197 bool use_semaphore = gmc_v10_0_use_invalidate_semaphore(adev, vmhub); in gmc_v10_0_flush_vm_hub()
198 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; in gmc_v10_0_flush_vm_hub()
234 if (vmhub == AMDGPU_GFXHUB_0) in gmc_v10_0_flush_vm_hub()
274 uint32_t vmhub, uint32_t flush_type) in gmc_v10_0_flush_gpu_tlb() argument
291 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; in gmc_v10_0_flush_gpu_tlb()
[all …]
Damdgpu_ids.h82 unsigned vmhub);
85 unsigned vmhub);
89 void amdgpu_vmid_reset(struct amdgpu_device *adev, unsigned vmhub,
Dgmc_v9_0.c486 hub = &adev->vmhub[j]; in gmc_v9_0_vm_fault_interrupt_state()
497 hub = &adev->vmhub[j]; in gmc_v9_0_vm_fault_interrupt_state()
532 hub = &adev->vmhub[AMDGPU_MMHUB_0]; in gmc_v9_0_process_interrupt()
535 hub = &adev->vmhub[AMDGPU_MMHUB_1]; in gmc_v9_0_process_interrupt()
538 hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gmc_v9_0_process_interrupt()
582 if (hub == &adev->vmhub[AMDGPU_GFXHUB_0]) { in gmc_v9_0_process_interrupt()
681 uint32_t vmhub) in gmc_v9_0_use_invalidate_semaphore() argument
683 return ((vmhub == AMDGPU_MMHUB_0 || in gmc_v9_0_use_invalidate_semaphore()
684 vmhub == AMDGPU_MMHUB_1) && in gmc_v9_0_use_invalidate_semaphore()
719 uint32_t vmhub, uint32_t flush_type) in gmc_v9_0_flush_gpu_tlb() argument
[all …]
Damdgpu_gmc.c355 unsigned vmhub, inv_eng; in amdgpu_gmc_allocate_vm_inv_eng() local
359 vmhub = ring->funcs->vmhub; in amdgpu_gmc_allocate_vm_inv_eng()
364 inv_eng = ffs(vm_inv_engs[vmhub]); in amdgpu_gmc_allocate_vm_inv_eng()
372 vm_inv_engs[vmhub] &= ~(1 << ring->vm_inv_eng); in amdgpu_gmc_allocate_vm_inv_eng()
375 ring->name, ring->vm_inv_eng, ring->funcs->vmhub); in amdgpu_gmc_allocate_vm_inv_eng()
460 hub = &adev->vmhub[hub_type]; in amdgpu_gmc_set_vm_fault_masks()
Dgfxhub_v1_0.c41 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_setup_vm_pt_regs()
210 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_setup_vmid_config()
266 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_program_invalidation()
309 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_gart_disable()
378 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_init()
Damdgpu_gmc.h113 uint32_t vmhub, uint32_t flush_type);
245 …ne amdgpu_gmc_flush_gpu_tlb(adev, vmid, vmhub, type) ((adev)->gmc.gmc_funcs->flush_gpu_tlb((adev),… argument
Dgfxhub_v2_0.c123 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_setup_vm_pt_regs()
287 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()
436 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_init()
Dgfxhub_v2_1.c123 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_setup_vm_pt_regs()
293 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_setup_vmid_config()
340 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_program_invalidation()
381 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_gart_disable()
459 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_init()
Dmmhub_v2_0.c165 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_setup_vm_pt_regs()
342 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_setup_vmid_config()
390 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_program_invalidation()
419 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_gart_disable()
498 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_init()
Dmmhub_v1_0.c57 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_setup_vm_pt_regs()
234 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_setup_vmid_config()
290 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_program_invalidation()
343 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_gart_disable()
420 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_init()
Djpeg_v1_0.c375 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in jpeg_v1_0_decode_ring_emit_vm_flush()
546 .vmhub = AMDGPU_MMHUB_0,
Djpeg_v2_0.c628 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in jpeg_v2_0_dec_ring_emit_vm_flush()
777 .vmhub = AMDGPU_MMHUB_0,
Dmmhub_v9_4.c60 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v9_4_setup_hubid_vm_pt_regs()
300 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v9_4_setup_vmid_config()
361 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v9_4_program_invalidation()
402 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v9_4_gart_disable()
506 {&adev->vmhub[AMDGPU_MMHUB_0], &adev->vmhub[AMDGPU_MMHUB_1]}; in mmhub_v9_4_init()
Duvd_v7_0.c1372 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in uvd_v7_0_ring_emit_vm_flush()
1415 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in uvd_v7_0_enc_ring_emit_vm_flush()
1777 .vmhub = AMDGPU_MMHUB_0,
1810 .vmhub = AMDGPU_MMHUB_0,
Dvcn_v1_0.c1548 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v1_0_dec_ring_emit_vm_flush()
1689 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v1_0_enc_ring_emit_vm_flush()
1903 .vmhub = AMDGPU_MMHUB_0,
1937 .vmhub = AMDGPU_MMHUB_0,
Dvcn_v2_0.c1508 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v2_0_dec_ring_emit_vm_flush()
1664 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v2_0_enc_ring_emit_vm_flush()
2007 .vmhub = AMDGPU_MMHUB_0,
2038 .vmhub = AMDGPU_MMHUB_0,
Dvce_v4_0.c989 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vce_v4_0_emit_vm_flush()
1071 .vmhub = AMDGPU_MMHUB_0,
Damdgpu_vm.c1038 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vm_need_pipeline_sync() local
1039 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_need_pipeline_sync()
1077 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vm_flush() local
1078 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_flush()
1091 bool update_spm_vmid_needed = (job->vm && (job->vm->reserved_vmid[vmhub] != NULL)); in amdgpu_vm_flush()
Damdgpu_trace.h234 __entry->vm_hub = ring->funcs->vmhub,
428 __entry->vm_hub = ring->funcs->vmhub;
Damdgpu_ib.c274 amdgpu_vmid_reset(adev, ring->funcs->vmhub, job->vmid); in amdgpu_ib_schedule()
Djpeg_v3_0.c554 .vmhub = AMDGPU_MMHUB_0,
Damdgpu_ring.h142 unsigned vmhub; member
Djpeg_v2_5.c569 .vmhub = AMDGPU_MMHUB_1,
Dsdma_v4_0.c2302 .vmhub = AMDGPU_MMHUB_0,
2338 .vmhub = AMDGPU_MMHUB_1,
2370 .vmhub = AMDGPU_MMHUB_0,
2402 .vmhub = AMDGPU_MMHUB_1,

12