/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | uvmm.c | 46 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 D | memnv50.c | 37 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 D | memgf100.c | 37 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 D | Kbuild | 42 nvkm-y += nvkm/subdev/mmu/uvmm.o
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_uvmm.c | 89 nouveau_uvmm_vmm_sparse_ref(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_sparse_ref() argument 92 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_sparse_ref() 98 nouveau_uvmm_vmm_sparse_unref(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_sparse_unref() argument 101 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_sparse_unref() 107 nouveau_uvmm_vmm_get(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_get() argument 110 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_get() 116 nouveau_uvmm_vmm_put(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_put() argument 119 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_put() 125 nouveau_uvmm_vmm_unmap(struct nouveau_uvmm *uvmm, in nouveau_uvmm_vmm_unmap() argument 128 struct nvif_vmm *vmm = &uvmm->vmm.vmm; in nouveau_uvmm_vmm_unmap() [all …]
|
H A D | nouveau_drv.h | 96 struct nouveau_uvmm uvmm; member 124 if (!cli || !cli->uvmm.vmm.cli) in nouveau_cli_uvmm() 127 return &cli->uvmm; in nouveau_cli_uvmm() 133 struct nouveau_uvmm *uvmm; in nouveau_cli_uvmm_locked() local 136 uvmm = nouveau_cli_uvmm(cli); in nouveau_cli_uvmm_locked() 139 return uvmm; in nouveau_cli_uvmm_locked() 145 struct nouveau_uvmm *uvmm; in nouveau_cli_vmm() local 147 uvmm = nouveau_cli_uvmm(cli); in nouveau_cli_vmm() 148 if (uvmm) in nouveau_cli_vmm() 149 return &uvmm->vmm; in nouveau_cli_vmm() [all …]
|
H A D | nouveau_uvmm.h | 24 struct nouveau_uvmm *uvmm; member 85 int nouveau_uvmm_init(struct nouveau_uvmm *uvmm, struct nouveau_cli *cli, 87 void nouveau_uvmm_fini(struct nouveau_uvmm *uvmm); 98 static inline void nouveau_uvmm_lock(struct nouveau_uvmm *uvmm) in nouveau_uvmm_lock() argument 100 mutex_lock(&uvmm->mutex); in nouveau_uvmm_lock() 103 static inline void nouveau_uvmm_unlock(struct nouveau_uvmm *uvmm) in nouveau_uvmm_unlock() argument 105 mutex_unlock(&uvmm->mutex); in nouveau_uvmm_unlock()
|
H A D | nouveau_debugfs.c | 207 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->umgr); 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 D | nouveau_exec.c | 93 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_exec_job_submit() local 104 nouveau_uvmm_lock(uvmm); in nouveau_exec_job_submit() 110 drm_gpuva_for_each_va(va, &uvmm->umgr) { in nouveau_exec_job_submit() 111 if (unlikely(va == &uvmm->umgr.kernel_alloc_node)) in nouveau_exec_job_submit() 120 nouveau_uvmm_unlock(uvmm); in nouveau_exec_job_submit() 133 nouveau_uvmm_unlock(uvmm); in nouveau_exec_job_submit()
|
H A D | nouveau_gem.c | 106 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_gem_object_open() local 114 if (nvbo->no_share && uvmm && &uvmm->resv != nvbo->bo.base.resv) in nouveau_gem_object_open() 239 struct nouveau_uvmm *uvmm = nouveau_cli_uvmm(cli); in nouveau_gem_new() local 245 if (unlikely(!uvmm)) in nouveau_gem_new() 248 resv = &uvmm->resv; in nouveau_gem_new()
|
H A D | nouveau_drm.c | 202 nouveau_uvmm_fini(&cli->uvmm); in nouveau_cli_fini()
|
/openbmc/linux/ |
H A D | opengrok0.0.log | [all...] |
H A D | opengrok2.0.log | [all...] |