Home
last modified time | relevance | path

Searched refs:pasid_mapping (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.c160 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_gfx_v9_set_pasid_vmid_mapping() local
170 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
184 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
187 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
201 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
Damdgpu_ids.h62 struct dma_fence *pasid_mapping; member
Damdgpu_amdkfd_gfx_v10.c249 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
252 pr_debug("pasid 0x%x vmid %d, reg value %x\n", pasid, vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
261 pasid_mapping); in kgd_set_pasid_vmid_mapping()
280 pasid_mapping); in kgd_set_pasid_vmid_mapping()
Damdgpu_amdkfd_gfx_v8.c229 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
232 WREG32(mmATC_VMID0_PASID_MAPPING + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
239 WREG32(mmIH_VMID_0_LUT + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
Damdgpu_amdkfd_gfx_v7.c272 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
275 WREG32(mmATC_VMID0_PASID_MAPPING + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
282 WREG32(mmIH_VMID_0_LUT + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
Damdgpu_ids.c609 dma_fence_put(id->pasid_mapping); in amdgpu_vmid_mgr_fini()
Damdgpu_vm.c1038 !id->pasid_mapping || in amdgpu_vm_flush()
1039 !dma_fence_is_signaled(id->pasid_mapping); in amdgpu_vm_flush()
1090 dma_fence_put(id->pasid_mapping); in amdgpu_vm_flush()
1091 id->pasid_mapping = dma_fence_get(fence); in amdgpu_vm_flush()