Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gc_9_4_3.c239 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_gfx_v9_4_3_set_pasid_vmid_mapping() local
243 regATC_VMID0_PASID_MAPPING) + vmid, pasid_mapping); in kgd_gfx_v9_4_3_set_pasid_vmid_mapping()
269 pasid_mapping); in kgd_gfx_v9_4_3_set_pasid_vmid_mapping()
273 pasid_mapping); in kgd_gfx_v9_4_3_set_pasid_vmid_mapping()
H A Damdgpu_ids.h62 struct dma_fence *pasid_mapping; member
H A Damdgpu_amdkfd_gfx_v7.c102 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
105 WREG32(mmATC_VMID0_PASID_MAPPING + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
112 WREG32(mmIH_VMID_0_LUT + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
H A Damdgpu_amdkfd_gfx_v8.c97 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
100 WREG32(mmATC_VMID0_PASID_MAPPING + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
107 WREG32(mmIH_VMID_0_LUT + vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
H A Damdgpu_amdkfd_gfx_v9.c111 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_gfx_v9_set_pasid_vmid_mapping() local
121 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
135 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
138 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
152 pasid_mapping); in kgd_gfx_v9_set_pasid_vmid_mapping()
H A Damdgpu_amdkfd_gfx_v10.c105 uint32_t pasid_mapping = (pasid == 0) ? 0 : (uint32_t)pasid | in kgd_set_pasid_vmid_mapping() local
108 pr_debug("pasid 0x%x vmid %d, reg value %x\n", pasid, vmid, pasid_mapping); in kgd_set_pasid_vmid_mapping()
112 pasid_mapping); in kgd_set_pasid_vmid_mapping()
131 pasid_mapping); in kgd_set_pasid_vmid_mapping()
H A Damdgpu_vm.c685 if (id->pasid != job->pasid || !id->pasid_mapping || in amdgpu_vm_flush()
686 !dma_fence_is_signaled(id->pasid_mapping)) in amdgpu_vm_flush()
743 dma_fence_put(id->pasid_mapping); in amdgpu_vm_flush()
744 id->pasid_mapping = dma_fence_get(fence); in amdgpu_vm_flush()
H A Damdgpu_ids.c614 dma_fence_put(id->pasid_mapping); in amdgpu_vmid_mgr_fini()