Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/
Dnouveau_svm.c93 nouveau_ivmm_find(struct nouveau_svm *svm, u64 inst) in nouveau_ivmm_find() argument
96 list_for_each_entry(ivmm, &svm->inst, head) { in nouveau_ivmm_find()
171 if (!cli->svm.svmm) { in nouveau_svmm_bind()
188 nouveau_dmem_migrate_vma(cli->drm, cli->svm.svmm, vma, addr, in nouveau_svmm_bind()
212 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part()
213 ivmm = nouveau_ivmm_find(svmm->vmm->cli->drm->svm, inst); in nouveau_svmm_part()
218 mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_part()
233 mutex_lock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_join()
234 list_add(&ivmm->head, &svmm->vmm->cli->drm->svm->inst); in nouveau_svmm_join()
235 mutex_unlock(&svmm->vmm->cli->drm->svm->mutex); in nouveau_svmm_join()
[all …]
Dnouveau_drv.h99 struct nouveau_vmm svm; member
221 struct nouveau_svm *svm; member
Dnouveau_gem.c106 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_gem_object_open()
183 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : & cli->vmm; in nouveau_gem_object_close()
272 struct nouveau_vmm *vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_gem_info()
Dnouveau_chan.c153 chan->vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_channel_prep()
Dnouveau_bo.c206 struct nvif_vmm *vmm = cli->svm.cli ? &cli->svm.vmm : &cli->vmm.vmm; in nouveau_bo_alloc()
Dnouveau_drm.c201 nouveau_vmm_fini(&cli->svm); in nouveau_cli_fini()
/drivers/iommu/intel/
Dsvm.c52 svm_lookup_device_by_dev(struct intel_svm *svm, struct device *dev) in svm_lookup_device_by_dev() argument
57 list_for_each_entry_rcu(t, &svm->devs, list) { in svm_lookup_device_by_dev()
176 static void __flush_svm_range_dev(struct intel_svm *svm, in __flush_svm_range_dev() argument
186 qi_flush_piotlb(sdev->iommu, sdev->did, svm->pasid, address, pages, ih); in __flush_svm_range_dev()
189 svm->pasid, sdev->qdep, address, in __flush_svm_range_dev()
192 svm->pasid, sdev->qdep); in __flush_svm_range_dev()
196 static void intel_flush_svm_range_dev(struct intel_svm *svm, in intel_flush_svm_range_dev() argument
207 __flush_svm_range_dev(svm, sdev, start, align >> VTD_PAGE_SHIFT, ih); in intel_flush_svm_range_dev()
212 static void intel_flush_svm_range(struct intel_svm *svm, unsigned long address, in intel_flush_svm_range() argument
218 list_for_each_entry_rcu(sdev, &svm->devs, list) in intel_flush_svm_range()
[all …]
DMakefile7 obj-$(CONFIG_INTEL_IOMMU_SVM) += svm.o