Home
last modified time | relevance | path

Searched refs:uvmm (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Duvmm.c46 nvkm_uvmm_mthd_pfnclr(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_pfnclr() argument
51 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_pfnclr()
74 nvkm_uvmm_mthd_pfnmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_pfnmap() argument
79 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_pfnmap()
107 nvkm_uvmm_mthd_unmap(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_unmap() argument
112 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_unmap()
151 nvkm_uvmm_mthd_map(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_map() argument
153 struct nvkm_client *client = uvmm->object.client; in nvkm_uvmm_mthd_map()
158 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_map()
232 nvkm_uvmm_mthd_put(struct nvkm_uvmm *uvmm, void *argv, u32 argc) in nvkm_uvmm_mthd_put() argument
[all …]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c6 * The uvmm mutex protects any operations on the GPU VA space provided by the
91 nouveau_uvmm_vmm_sparse_ref(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_sparse_ref() argument
94 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_sparse_ref()
100 nouveau_uvmm_vmm_sparse_unref(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_sparse_unref() argument
103 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_sparse_unref()
109 nouveau_uvmm_vmm_get(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_get() argument
112 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_get()
118 nouveau_uvmm_vmm_put(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_put() argument
121 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_put()
127 nouveau_uvmm_vmm_unmap(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_unmap() argument
136 nouveau_uvmm_vmm_map(struct nouveau_uvmm * uvmm,u64 addr,u64 range,u8 page_shift,u64 bo_offset,u8 kind,struct nouveau_mem * mem) nouveau_uvmm_vmm_map() argument
280 __nouveau_uvma_region_insert(struct nouveau_uvmm * uvmm,struct nouveau_uvma_region * reg) __nouveau_uvma_region_insert() argument
305 nouveau_uvma_region_insert(struct nouveau_uvmm * uvmm,struct nouveau_uvma_region * reg,u64 addr,u64 range) nouveau_uvma_region_insert() argument
325 struct nouveau_uvmm *uvmm = reg->uvmm; nouveau_uvma_region_remove() local
332 nouveau_uvma_region_create(struct nouveau_uvmm * uvmm,u64 addr,u64 range) nouveau_uvma_region_create() argument
363 nouveau_uvma_region_find_first(struct nouveau_uvmm * uvmm,u64 addr,u64 range) nouveau_uvma_region_find_first() argument
372 nouveau_uvma_region_find(struct nouveau_uvmm * uvmm,u64 addr,u64 range) nouveau_uvma_region_find() argument
391 struct nouveau_uvmm *uvmm = reg->uvmm; nouveau_uvma_region_empty() local
401 struct nouveau_uvmm *uvmm = reg->uvmm; __nouveau_uvma_region_destroy() local
416 nouveau_uvma_region_destroy(struct nouveau_uvmm * uvmm,u64 addr,u64 range) nouveau_uvma_region_destroy() argument
468 select_page_shift(struct nouveau_uvmm * uvmm,struct drm_gpuva_op_map * op) select_page_shift() argument
514 nouveau_uvmm_sm_prepare_unwind(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops,struct drm_gpuva_op * last,struct uvmm_map_args * args) nouveau_uvmm_sm_prepare_unwind() argument
619 nouveau_uvmm_sm_map_prepare_unwind(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops,u64 addr,u64 range) nouveau_uvmm_sm_map_prepare_unwind() argument
634 nouveau_uvmm_sm_unmap_prepare_unwind(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops) nouveau_uvmm_sm_unmap_prepare_unwind() argument
644 op_map_prepare(struct nouveau_uvmm * uvmm,struct nouveau_uvma ** puvma,struct drm_gpuva_op_map * op,struct uvmm_map_args * args) op_map_prepare() argument
679 nouveau_uvmm_sm_prepare(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops,struct uvmm_map_args * args) nouveau_uvmm_sm_prepare() argument
800 nouveau_uvmm_sm_map_prepare(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct nouveau_uvma_region * region,struct drm_gpuva_ops * ops,u64 addr,u64 range,u8 kind) nouveau_uvmm_sm_map_prepare() argument
817 nouveau_uvmm_sm_unmap_prepare(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops) nouveau_uvmm_sm_unmap_prepare() argument
894 nouveau_uvmm_sm(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops) nouveau_uvmm_sm() argument
920 nouveau_uvmm_sm_map(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops) nouveau_uvmm_sm_map() argument
928 nouveau_uvmm_sm_unmap(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops) nouveau_uvmm_sm_unmap() argument
936 nouveau_uvmm_sm_cleanup(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops,bool unmap) nouveau_uvmm_sm_cleanup() argument
990 nouveau_uvmm_sm_map_cleanup(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops) nouveau_uvmm_sm_map_cleanup() argument
998 nouveau_uvmm_sm_unmap_cleanup(struct nouveau_uvmm * uvmm,struct nouveau_uvma_prealloc * new,struct drm_gpuva_ops * ops) nouveau_uvmm_sm_unmap_cleanup() argument
1006 nouveau_uvmm_validate_range(struct nouveau_uvmm * uvmm,u64 addr,u64 range) nouveau_uvmm_validate_range() argument
1064 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); bind_validate_op() local
1116 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); bind_validate_map_common() local
1263 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); nouveau_uvmm_bind_job_submit() local
1515 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); nouveau_uvmm_bind_job_run() local
1549 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(job->cli); nouveau_uvmm_bind_job_cleanup() local
1867 struct nouveau_uvmm *uvmm = uvmm_from_gpuvm(gpuvm); nouveau_uvmm_free() local
1891 struct nouveau_uvmm *uvmm; nouveau_uvmm_ioctl_vm_init() local
1962 nouveau_uvmm_fini(struct nouveau_uvmm * uvmm) nouveau_uvmm_fini() argument
[all...]
H A Dnouveau_debugfs.c207 nouveau_debugfs_gpuva_regions(struct seq_file *m, struct nouveau_uvmm *uvmm) in nouveau_debugfs_gpuva_regions() argument
209 MA_STATE(mas, &uvmm->region_mt, 0, 0); in nouveau_debugfs_gpuva_regions()
228 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_debugfs_gpuva() local
230 if (!uvmm) in nouveau_debugfs_gpuva()
233 nouveau_uvmm_lock(uvmm); in nouveau_debugfs_gpuva()
234 drm_debugfs_gpuva_info(m, &uvmm->base); in nouveau_debugfs_gpuva()
236 nouveau_debugfs_gpuva_regions(m, uvmm); in nouveau_debugfs_gpuva()
237 nouveau_uvmm_unlock(uvmm); in nouveau_debugfs_gpuva()
H A Dnouveau_exec.c94 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_exec_job_submit() local
102 nouveau_uvmm_lock(uvmm); in nouveau_exec_job_submit()
105 nouveau_uvmm_unlock(uvmm); in nouveau_exec_job_submit()
108 nouveau_uvmm_unlock(uvmm); in nouveau_exec_job_submit()
H A Dnouveau_gem.c103 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_gem_object_open() local
111 if (nvbo->no_share && uvmm && in nouveau_gem_object_open()
112 drm_gpuvm_resv(&uvmm->base) != nvbo->bo.base.resv) in nouveau_gem_object_open()
237 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_gem_new() local
243 if (unlikely(!uvmm)) in nouveau_gem_new()
246 resv = drm_gpuvm_resv(&uvmm->base); in nouveau_gem_new()
290 nvbo->r_obj = drm_gpuvm_resv_obj(&uvmm->base); in nouveau_gem_new()
H A Dnouveau_drm.c210 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm_locked(cli); in nouveau_cli_fini() local
222 if (uvmm) in nouveau_cli_fini()
223 nouveau_uvmm_fini(uvmm); in nouveau_cli_fini()