/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ids.c | 202 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 …]
|
D | gmc_v10_0.c | 96 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 …]
|
D | amdgpu_ids.h | 82 unsigned vmhub); 85 unsigned vmhub); 89 void amdgpu_vmid_reset(struct amdgpu_device *adev, unsigned vmhub,
|
D | gmc_v9_0.c | 486 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 …]
|
D | amdgpu_gmc.c | 355 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()
|
D | gfxhub_v1_0.c | 41 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()
|
D | amdgpu_gmc.h | 113 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
|
D | gfxhub_v2_0.c | 123 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()
|
D | gfxhub_v2_1.c | 123 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()
|
D | mmhub_v2_0.c | 165 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()
|
D | mmhub_v1_0.c | 57 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()
|
D | jpeg_v1_0.c | 375 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in jpeg_v1_0_decode_ring_emit_vm_flush() 546 .vmhub = AMDGPU_MMHUB_0,
|
D | jpeg_v2_0.c | 628 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in jpeg_v2_0_dec_ring_emit_vm_flush() 777 .vmhub = AMDGPU_MMHUB_0,
|
D | mmhub_v9_4.c | 60 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()
|
D | uvd_v7_0.c | 1372 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,
|
D | vcn_v1_0.c | 1548 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,
|
D | vcn_v2_0.c | 1508 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,
|
D | vce_v4_0.c | 989 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vce_v4_0_emit_vm_flush() 1071 .vmhub = AMDGPU_MMHUB_0,
|
D | amdgpu_vm.c | 1038 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()
|
D | amdgpu_trace.h | 234 __entry->vm_hub = ring->funcs->vmhub, 428 __entry->vm_hub = ring->funcs->vmhub;
|
D | amdgpu_ib.c | 274 amdgpu_vmid_reset(adev, ring->funcs->vmhub, job->vmid); in amdgpu_ib_schedule()
|
D | jpeg_v3_0.c | 554 .vmhub = AMDGPU_MMHUB_0,
|
D | amdgpu_ring.h | 142 unsigned vmhub; member
|
D | jpeg_v2_5.c | 569 .vmhub = AMDGPU_MMHUB_1,
|
D | sdma_v4_0.c | 2302 .vmhub = AMDGPU_MMHUB_0, 2338 .vmhub = AMDGPU_MMHUB_1, 2370 .vmhub = AMDGPU_MMHUB_0, 2402 .vmhub = AMDGPU_MMHUB_1,
|