Home
last modified time | relevance | path

Searched refs:uvmm (Results 1 – 10 of 10) 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 …]
H A Dmemnv50.c37 struct nv50_vmm_map_v0 uvmm = {}; in nv50_mem_map() local
48 uvmm.ro = args->v0.ro; in nv50_mem_map()
49 uvmm.kind = args->v0.kind; in nv50_mem_map()
50 uvmm.comp = args->v0.comp; in nv50_mem_map()
62 return nvkm_memory_map(memory, 0, bar, *pvma, &uvmm, sizeof(uvmm)); in nv50_mem_map()
H A Dmemgf100.c37 struct gf100_vmm_map_v0 uvmm = {}; in gf100_mem_map() local
47 uvmm.ro = args->v0.ro; in gf100_mem_map()
48 uvmm.kind = args->v0.kind; in gf100_mem_map()
59 ret = nvkm_memory_map(memory, 0, bar, *pvma, &uvmm, sizeof(uvmm)); in gf100_mem_map()
H A DKbuild44 nvkm-y += nvkm/subdev/mmu/uvmm.o
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c91 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
130 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_unmap()
[all …]
H A Dnouveau_uvmm.h18 struct nouveau_uvmm *uvmm; member
78 void nouveau_uvmm_fini(struct nouveau_uvmm *uvmm);
89 static inline void nouveau_uvmm_lock(struct nouveau_uvmm *uvmm) in nouveau_uvmm_lock() argument
91 mutex_lock(&uvmm->mutex); in nouveau_uvmm_lock()
94 static inline void nouveau_uvmm_unlock(struct nouveau_uvmm *uvmm) in nouveau_uvmm_unlock() argument
96 mutex_unlock(&uvmm->mutex); in nouveau_uvmm_unlock()
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.c209 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm_locked(cli); in nouveau_cli_fini() local
221 if (uvmm) in nouveau_cli_fini()
222 nouveau_uvmm_fini(uvmm); in nouveau_cli_fini()