/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ids.c | 201 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vmid_grab_idle() local 202 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 | 97 struct amdgpu_vmhub *hub = &adev->vmhub[entry->vmid_src]; in gmc_v10_0_process_interrupt() 196 uint32_t vmhub) in gmc_v10_0_use_invalidate_semaphore() argument 198 return ((vmhub == AMDGPU_MMHUB_0 || in gmc_v10_0_use_invalidate_semaphore() 199 vmhub == AMDGPU_MMHUB_1) && in gmc_v10_0_use_invalidate_semaphore() 224 unsigned int vmhub, uint32_t flush_type) in gmc_v10_0_flush_vm_hub() argument 226 bool use_semaphore = gmc_v10_0_use_invalidate_semaphore(adev, vmhub); in gmc_v10_0_flush_vm_hub() 227 struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; in gmc_v10_0_flush_vm_hub() 235 hub_ip = (vmhub == AMDGPU_GFXHUB_0) ? in gmc_v10_0_flush_vm_hub() 270 if ((vmhub == AMDGPU_GFXHUB_0) && in gmc_v10_0_flush_vm_hub() 301 DRM_ERROR("Timeout waiting for VM flush hub: %d!\n", vmhub); in gmc_v10_0_flush_vm_hub() [all …]
|
D | gmc_v9_0.c | 481 hub = &adev->vmhub[j]; in gmc_v9_0_vm_fault_interrupt_state() 492 hub = &adev->vmhub[j]; in gmc_v9_0_vm_fault_interrupt_state() 553 hub = &adev->vmhub[AMDGPU_MMHUB_0]; in gmc_v9_0_process_interrupt() 556 hub = &adev->vmhub[AMDGPU_MMHUB_1]; in gmc_v9_0_process_interrupt() 559 hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gmc_v9_0_process_interrupt() 597 if (hub == &adev->vmhub[AMDGPU_GFXHUB_0]) { in gmc_v9_0_process_interrupt() 698 uint32_t vmhub) in gmc_v9_0_use_invalidate_semaphore() argument 703 return ((vmhub == AMDGPU_MMHUB_0 || in gmc_v9_0_use_invalidate_semaphore() 704 vmhub == AMDGPU_MMHUB_1) && in gmc_v9_0_use_invalidate_semaphore() 740 uint32_t vmhub, uint32_t flush_type) in gmc_v9_0_flush_gpu_tlb() argument [all …]
|
D | amdgpu_ids.h | 82 unsigned vmhub); 85 unsigned vmhub); 89 void amdgpu_vmid_reset(struct amdgpu_device *adev, unsigned vmhub,
|
D | amdgpu_gmc.c | 534 unsigned vmhub, inv_eng; in amdgpu_gmc_allocate_vm_inv_eng() local 538 vmhub = ring->funcs->vmhub; in amdgpu_gmc_allocate_vm_inv_eng() 543 inv_eng = ffs(vm_inv_engs[vmhub]); in amdgpu_gmc_allocate_vm_inv_eng() 551 vm_inv_engs[vmhub] &= ~(1 << ring->vm_inv_eng); in amdgpu_gmc_allocate_vm_inv_eng() 554 ring->name, ring->vm_inv_eng, ring->funcs->vmhub); in amdgpu_gmc_allocate_vm_inv_eng() 659 hub = &adev->vmhub[hub_type]; in amdgpu_gmc_set_vm_fault_masks()
|
D | gfxhub_v1_0.c | 43 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_setup_vm_pt_regs() 250 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_setup_vmid_config() 310 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_program_invalidation() 341 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v1_0_gart_disable() 410 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() 332 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_program_invalidation() 361 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_gart_disable() 434 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_0_init()
|
D | amdgpu_gmc.h | 113 uint32_t vmhub, uint32_t flush_type); 265 …ne amdgpu_gmc_flush_gpu_tlb(adev, vmid, vmhub, type) ((adev)->gmc.gmc_funcs->flush_gpu_tlb((adev),… argument
|
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() 341 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_program_invalidation() 382 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_gart_disable() 460 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v2_1_init()
|
D | mmhub_v2_0.c | 194 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_setup_vm_pt_regs() 369 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_setup_vmid_config() 417 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_program_invalidation() 446 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_gart_disable() 525 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_0_init()
|
D | mmhub_v2_3.c | 123 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_3_setup_vm_pt_regs() 282 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_3_setup_vmid_config() 330 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_3_program_invalidation() 373 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_3_gart_disable() 446 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v2_3_init()
|
D | mmhub_v1_0.c | 57 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_setup_vm_pt_regs() 232 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_setup_vmid_config() 288 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_program_invalidation() 341 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_gart_disable() 418 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_0_init()
|
D | jpeg_v1_0.c | 379 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in jpeg_v1_0_decode_ring_emit_vm_flush() 551 .vmhub = AMDGPU_MMHUB_0,
|
D | jpeg_v2_0.c | 632 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in jpeg_v2_0_dec_ring_emit_vm_flush() 781 .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() 297 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v9_4_setup_vmid_config() 358 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v9_4_program_invalidation() 399 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v9_4_gart_disable() 503 {&adev->vmhub[AMDGPU_MMHUB_0], &adev->vmhub[AMDGPU_MMHUB_1]}; in mmhub_v9_4_init()
|
D | mmhub_v1_7.c | 57 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_7_setup_vm_pt_regs() 264 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_7_setup_vmid_config() 322 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_7_program_invalidation() 351 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_7_gart_disable() 428 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v1_7_init()
|
D | vcn_v1_0.c | 1554 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v1_0_dec_ring_emit_vm_flush() 1699 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v1_0_enc_ring_emit_vm_flush() 1913 .vmhub = AMDGPU_MMHUB_0, 1947 .vmhub = AMDGPU_MMHUB_0,
|
D | jpeg_v2_5.c | 589 .vmhub = AMDGPU_MMHUB_1, 619 .vmhub = AMDGPU_MMHUB_0,
|
D | uvd_v7_0.c | 1407 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in uvd_v7_0_ring_emit_vm_flush() 1450 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in uvd_v7_0_enc_ring_emit_vm_flush() 1812 .vmhub = AMDGPU_MMHUB_0, 1845 .vmhub = AMDGPU_MMHUB_0,
|
D | vcn_v2_0.c | 1511 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v2_0_dec_ring_emit_vm_flush() 1671 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v2_0_enc_ring_emit_vm_flush() 2014 .vmhub = AMDGPU_MMHUB_0, 2045 .vmhub = AMDGPU_MMHUB_0,
|
D | amdgpu_vm.c | 1131 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vm_need_pipeline_sync() local 1132 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_need_pipeline_sync() 1170 unsigned vmhub = ring->funcs->vmhub; in amdgpu_vm_flush() local 1171 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_flush() 1184 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, 429 __entry->vm_hub = ring->funcs->vmhub;
|
D | vce_v4_0.c | 1022 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vce_v4_0_emit_vm_flush() 1104 .vmhub = AMDGPU_MMHUB_0,
|
D | amdgpu_ib.c | 269 amdgpu_vmid_reset(adev, ring->funcs->vmhub, job->vmid); in amdgpu_ib_schedule()
|
D | vcn_v3_0.c | 1797 struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; in vcn_v3_0_dec_sw_ring_emit_vm_flush() 1820 .vmhub = AMDGPU_MMHUB_0, 1975 .vmhub = AMDGPU_MMHUB_0, 2076 .vmhub = AMDGPU_MMHUB_0,
|