Searched refs:svm (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/nouveau/ |
D | nouveau_svm.c | 93 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 …]
|
D | nouveau_drv.h | 99 struct nouveau_vmm svm; member 221 struct nouveau_svm *svm; member
|
D | nouveau_gem.c | 106 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()
|
D | nouveau_chan.c | 153 chan->vmm = cli->svm.cli ? &cli->svm : &cli->vmm; in nouveau_channel_prep()
|
D | nouveau_bo.c | 206 struct nvif_vmm *vmm = cli->svm.cli ? &cli->svm.vmm : &cli->vmm.vmm; in nouveau_bo_alloc()
|
D | nouveau_drm.c | 201 nouveau_vmm_fini(&cli->svm); in nouveau_cli_fini()
|
/drivers/iommu/intel/ |
D | svm.c | 52 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 …]
|
D | Makefile | 7 obj-$(CONFIG_INTEL_IOMMU_SVM) += svm.o
|