Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.c123 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_gfx_v9_set_pasid_vmid_mapping() local
133 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
147 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
150 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
164 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
Damdgpu_amdkfd_gfx_v10.c119 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
122 pr_debug("pasid 0x%x vmid %d, reg value %x\n", pasid, vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
126 pasid_mapping); in kgd_set_pasid_vmid_mapping()
145 pasid_mapping); in kgd_set_pasid_vmid_mapping()
Damdgpu_ids.h62 struct dma_fence *pasid_mapping; member
Damdgpu_amdkfd_gfx_v8.c111 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
114 WREG32(mmATC_VMID0_PASID_MAPPING + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
121 WREG32(mmIH_VMID_0_LUT + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
Damdgpu_amdkfd_gfx_v7.c153 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
156 WREG32(mmATC_VMID0_PASID_MAPPING + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
163 WREG32(mmIH_VMID_0_LUT + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
Damdgpu_ids.c614 dma_fence_put(id->pasid_mapping); in amdgpu_vmid_mgr_fini()
Damdgpu_vm.c1104 if (id->pasid != job->pasid || !id->pasid_mapping || in amdgpu_vm_flush()
1105 !dma_fence_is_signaled(id->pasid_mapping)) in amdgpu_vm_flush()
1150 dma_fence_put(id->pasid_mapping); in amdgpu_vm_flush()
1151 id->pasid_mapping = dma_fence_get(fence); in amdgpu_vm_flush()