vmhub 871 drivers/gpu/drm/amd/amdgpu/amdgpu.h struct amdgpu_vmhub vmhub[AMDGPU_MAX_VMHUBS]; vmhub 94 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h uint32_t vmhub, uint32_t flush_type); vmhub 186 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h #define amdgpu_gmc_flush_gpu_tlb(adev, vmid, vmhub, type) ((adev)->gmc.gmc_funcs->flush_gpu_tlb((adev), (vmid), (vmhub), (type))) vmhub 255 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c amdgpu_vmid_reset(adev, ring->funcs->vmhub, job->vmid); vmhub 202 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c unsigned vmhub = ring->funcs->vmhub; vmhub 203 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; vmhub 273 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c unsigned vmhub = ring->funcs->vmhub; vmhub 279 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c *id = vm->reserved_vmid[vmhub]; vmhub 338 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c unsigned vmhub = ring->funcs->vmhub; vmhub 339 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; vmhub 411 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c unsigned vmhub = ring->funcs->vmhub; vmhub 412 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; vmhub 422 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (vm->reserved_vmid[vmhub]) { vmhub 469 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c unsigned vmhub) vmhub 475 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c id_mgr = &adev->vm_manager.id_mgr[vmhub]; vmhub 477 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (vm->reserved_vmid[vmhub]) vmhub 489 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c vm->reserved_vmid[vmhub] = idle; vmhub 500 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c unsigned vmhub) vmhub 502 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; vmhub 505 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c if (vm->reserved_vmid[vmhub]) { vmhub 506 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c list_add(&vm->reserved_vmid[vmhub]->list, vmhub 508 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c vm->reserved_vmid[vmhub] = NULL; vmhub 522 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c void amdgpu_vmid_reset(struct amdgpu_device *adev, unsigned vmhub, vmhub 525 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; vmhub 82 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h unsigned vmhub); vmhub 85 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h unsigned vmhub); vmhub 89 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h void amdgpu_vmid_reset(struct amdgpu_device *adev, unsigned vmhub, vmhub 118 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h unsigned vmhub; vmhub 234 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->vm_hub = ring->funcs->vmhub, vmhub 380 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->vm_hub = ring->funcs->vmhub; vmhub 988 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned vmhub = ring->funcs->vmhub; vmhub 989 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; vmhub 1026 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c unsigned vmhub = ring->funcs->vmhub; vmhub 1027 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; vmhub 5199 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c .vmhub = AMDGPU_GFXHUB_0, vmhub 5251 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c .vmhub = AMDGPU_GFXHUB_0, vmhub 5285 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c .vmhub = AMDGPU_GFXHUB_0, vmhub 6201 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c .vmhub = AMDGPU_GFXHUB_0, vmhub 6252 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c .vmhub = AMDGPU_GFXHUB_0, vmhub 6287 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c .vmhub = AMDGPU_GFXHUB_0, vmhub 360 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; vmhub 345 drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; vmhub 84 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c hub = &adev->vmhub[AMDGPU_MMHUB_0]; vmhub 93 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c hub = &adev->vmhub[AMDGPU_GFXHUB_0]; vmhub 103 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c hub = &adev->vmhub[AMDGPU_MMHUB_0]; vmhub 112 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c hub = &adev->vmhub[AMDGPU_GFXHUB_0]; vmhub 131 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c struct amdgpu_vmhub *hub = &adev->vmhub[entry->vmid_src]; vmhub 230 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c unsigned int vmhub, uint32_t flush_type) vmhub 232 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c struct amdgpu_vmhub *hub = &adev->vmhub[vmhub]; vmhub 248 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (vmhub == AMDGPU_MMHUB_0 || vmhub 249 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c vmhub == AMDGPU_MMHUB_1) { vmhub 268 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (vmhub == AMDGPU_GFXHUB_0) vmhub 282 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (vmhub == AMDGPU_MMHUB_0 || vmhub 283 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c vmhub == AMDGPU_MMHUB_1) vmhub 307 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c uint32_t vmhub, uint32_t flush_type) vmhub 320 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (vmhub == AMDGPU_MMHUB_0) { vmhub 326 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c BUG_ON(vmhub != AMDGPU_GFXHUB_0); vmhub 372 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 384 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (ring->funcs->vmhub == AMDGPU_MMHUB_0 || vmhub 385 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c ring->funcs->vmhub == AMDGPU_MMHUB_1) vmhub 401 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (ring->funcs->vmhub == AMDGPU_MMHUB_0 || vmhub 402 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c ring->funcs->vmhub == AMDGPU_MMHUB_1) vmhub 418 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c if (ring->funcs->vmhub == AMDGPU_GFXHUB_0) vmhub 559 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c unsigned vmhub = ring->funcs->vmhub; vmhub 561 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c ring->vm_inv_eng = vm_inv_eng[vmhub]++; vmhub 564 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c ring->funcs->vmhub); vmhub 366 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c uint32_t vmhub, uint32_t flush_type) vmhub 437 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c uint32_t vmhub, uint32_t flush_type) vmhub 639 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c uint32_t vmhub, uint32_t flush_type) vmhub 303 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c hub = &adev->vmhub[j]; vmhub 314 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c hub = &adev->vmhub[j]; vmhub 348 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c hub = &adev->vmhub[AMDGPU_MMHUB_0]; vmhub 351 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c hub = &adev->vmhub[AMDGPU_MMHUB_1]; vmhub 354 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c hub = &adev->vmhub[AMDGPU_GFXHUB_0]; vmhub 459 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c uint32_t vmhub) vmhub 461 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c return ((vmhub == AMDGPU_MMHUB_0 || vmhub 462 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c vmhub == AMDGPU_MMHUB_1) && vmhub 486 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c uint32_t vmhub, uint32_t flush_type) vmhub 488 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c bool use_semaphore = gmc_v9_0_use_invalidate_semaphore(adev, vmhub); vmhub 493 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c BUG_ON(vmhub >= adev->num_vmhubs); vmhub 495 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c hub = &adev->vmhub[vmhub]; vmhub 541 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (vmhub == AMDGPU_GFXHUB_0) vmhub 570 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c bool use_semaphore = gmc_v9_0_use_invalidate_semaphore(ring->adev, ring->funcs->vmhub); vmhub 572 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c struct amdgpu_vmhub *hub = &adev->vmhub[ring->funcs->vmhub]; vmhub 617 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (ring->funcs->vmhub == AMDGPU_MMHUB_1) vmhub 620 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c if (ring->funcs->vmhub == AMDGPU_GFXHUB_0) vmhub 815 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c unsigned vmhub, inv_eng; vmhub 819 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c vmhub = ring->funcs->vmhub; vmhub 821 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c inv_eng = ffs(vm_inv_engs[vmhub]); vmhub 829 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c vm_inv_engs[vmhub] &= ~(1 << ring->vm_inv_eng); vmhub 832 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c ring->name, ring->vm_inv_eng, ring->funcs->vmhub); vmhub 413 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; vmhub 336 drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; vmhub 493 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c {&adev->vmhub[AMDGPU_MMHUB_0], &adev->vmhub[AMDGPU_MMHUB_1]}; vmhub 2259 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 2295 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c .vmhub = AMDGPU_MMHUB_1, vmhub 2327 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 2359 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c .vmhub = AMDGPU_MMHUB_1, vmhub 1609 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c .vmhub = AMDGPU_GFXHUB_0, vmhub 1373 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 1416 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 1777 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 1810 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 992 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 1073 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 1562 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 1703 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 1967 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 2203 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 2237 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 2269 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 1621 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 1777 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 2017 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c struct amdgpu_vmhub *hub = &ring->adev->vmhub[ring->funcs->vmhub]; vmhub 2174 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 2205 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 2234 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c .vmhub = AMDGPU_MMHUB_0, vmhub 1003 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c .vmhub = AMDGPU_MMHUB_1, vmhub 1103 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c .vmhub = AMDGPU_MMHUB_1, vmhub 1182 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c .vmhub = AMDGPU_MMHUB_1,