/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | vmm.h | 53 typedef void (*nvkm_vmm_pxe_func)(struct nvkm_vmm *, 55 typedef void (*nvkm_vmm_pde_func)(struct nvkm_vmm *, 57 typedef void (*nvkm_vmm_pte_func)(struct nvkm_vmm *, struct nvkm_mmu_pt *, 72 bool (*pfn_clear)(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32 ptei, u32 ptes); 77 void gf100_vmm_pgd_pde(struct nvkm_vmm *, struct nvkm_vmm_pt *, u32); 79 void gf100_vmm_pgt_unmap(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32); 80 void gf100_vmm_pgt_mem(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32, 82 void gf100_vmm_pgt_dma(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32, 84 void gf100_vmm_pgt_sgl(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32, 87 void gk104_vmm_lpt_invalid(struct nvkm_vmm *, struct nvkm_mmu_pt *, u32, u32); [all …]
|
D | vmmgp100.c | 34 gp100_vmm_pfn_unmap(struct nvkm_vmm *vmm, in gp100_vmm_pfn_unmap() 55 gp100_vmm_pfn_clear(struct nvkm_vmm *vmm, in gp100_vmm_pfn_clear() 75 gp100_vmm_pgt_pfn(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gp100_vmm_pgt_pfn() 115 gp100_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gp100_vmm_pgt_pte() 129 gp100_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gp100_vmm_pgt_sgl() 136 gp100_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gp100_vmm_pgt_dma() 155 gp100_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gp100_vmm_pgt_mem() 162 gp100_vmm_pgt_sparse(struct nvkm_vmm *vmm, in gp100_vmm_pgt_sparse() 182 gp100_vmm_lpt_invalid(struct nvkm_vmm *vmm, in gp100_vmm_lpt_invalid() 198 gp100_vmm_pd0_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gp100_vmm_pd0_pte() [all …]
|
D | vmmnv04.c | 28 nv04_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv04_vmm_pgt_pte() 39 nv04_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv04_vmm_pgt_sgl() 46 nv04_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv04_vmm_pgt_dma() 60 nv04_vmm_pgt_unmap(struct nvkm_vmm *vmm, in nv04_vmm_pgt_unmap() 80 nv04_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, in nv04_vmm_valid() 105 const char *name, struct nvkm_vmm **pvmm) in nv04_vmm_new_() 123 struct nvkm_vmm **pvmm) in nv04_vmm_new() 126 struct nvkm_vmm *vmm; in nv04_vmm_new()
|
D | vmmnv41.c | 27 nv41_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv41_vmm_pgt_pte() 38 nv41_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv41_vmm_pgt_sgl() 45 nv41_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv41_vmm_pgt_dma() 61 nv41_vmm_pgt_unmap(struct nvkm_vmm *vmm, in nv41_vmm_pgt_unmap() 81 nv41_vmm_flush(struct nvkm_vmm *vmm, int level) in nv41_vmm_flush() 108 struct nvkm_vmm **pvmm) in nv41_vmm_new()
|
D | vmmgf100.c | 32 gf100_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gf100_vmm_pgt_pte() 58 gf100_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gf100_vmm_pgt_sgl() 65 gf100_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gf100_vmm_pgt_dma() 84 gf100_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in gf100_vmm_pgt_mem() 91 gf100_vmm_pgt_unmap(struct nvkm_vmm *vmm, in gf100_vmm_pgt_unmap() 106 gf100_vmm_pgd_pde(struct nvkm_vmm *vmm, struct nvkm_vmm_pt *pgd, u32 pdei) in gf100_vmm_pgd_pde() 181 gf100_vmm_invalidate_pdb(struct nvkm_vmm *vmm, u64 addr) in gf100_vmm_invalidate_pdb() 188 gf100_vmm_invalidate(struct nvkm_vmm *vmm, u32 type) in gf100_vmm_invalidate() 228 gf100_vmm_flush(struct nvkm_vmm *vmm, int depth) in gf100_vmm_flush() 237 gf100_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, in gf100_vmm_valid() [all …]
|
D | vmmgm200.c | 28 gm200_vmm_pgt_sparse(struct nvkm_vmm *vmm, in gm200_vmm_pgt_sparse() 53 gm200_vmm_pgd_sparse(struct nvkm_vmm *vmm, in gm200_vmm_pgd_sparse() 96 gm200_vmm_join_(struct nvkm_vmm *vmm, struct nvkm_memory *inst, u64 base) in gm200_vmm_join_() 104 gm200_vmm_join(struct nvkm_vmm *vmm, struct nvkm_memory *inst) in gm200_vmm_join() 146 const char *name, struct nvkm_vmm **pvmm) in gm200_vmm_new_() 174 const char *name, struct nvkm_vmm **pvmm) in gm200_vmm_new() 183 const char *name, struct nvkm_vmm **pvmm) in gm200_vmm_new_fixed()
|
D | vmmnv50.c | 32 nv50_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv50_vmm_pgt_pte() 58 nv50_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv50_vmm_pgt_sgl() 65 nv50_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv50_vmm_pgt_dma() 84 nv50_vmm_pgt_mem(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv50_vmm_pgt_mem() 91 nv50_vmm_pgt_unmap(struct nvkm_vmm *vmm, in nv50_vmm_pgt_unmap() 106 nv50_vmm_pde(struct nvkm_vmm *vmm, struct nvkm_vmm_pt *pgt, u64 *pdata) in nv50_vmm_pde() 145 nv50_vmm_pgd_pde(struct nvkm_vmm *vmm, struct nvkm_vmm_pt *pgd, u32 pdei) in nv50_vmm_pgd_pde() 181 nv50_vmm_flush(struct nvkm_vmm *vmm, int level) in nv50_vmm_flush() 226 nv50_vmm_valid(struct nvkm_vmm *vmm, void *argv, u32 argc, in nv50_vmm_valid() 324 nv50_vmm_part(struct nvkm_vmm *vmm, struct nvkm_memory *inst) in nv50_vmm_part() [all …]
|
D | vmm.c | 75 struct nvkm_vmm *vmm; 145 struct nvkm_vmm *vmm = it->vmm; in nvkm_vmm_unref_pdes() 203 struct nvkm_vmm *vmm = it->vmm; in nvkm_vmm_unref_sptes() 302 struct nvkm_vmm *vmm = it->vmm; in nvkm_vmm_ref_sptes() 419 struct nvkm_vmm *vmm = it->vmm; in nvkm_vmm_ref_hwpt() 501 nvkm_vmm_iter(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, in nvkm_vmm_iter() 602 nvkm_vmm_ptes_sparse_put(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, in nvkm_vmm_ptes_sparse_put() 612 nvkm_vmm_ptes_sparse_get(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, in nvkm_vmm_ptes_sparse_get() 630 nvkm_vmm_ptes_sparse(struct nvkm_vmm *vmm, u64 addr, u64 size, bool ref) in nvkm_vmm_ptes_sparse() 680 nvkm_vmm_ptes_unmap_put(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, in nvkm_vmm_ptes_unmap_put() [all …]
|
D | vmmnv44.c | 27 nv44_vmm_pgt_fill(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv44_vmm_pgt_fill() 73 nv44_vmm_pgt_pte(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv44_vmm_pgt_pte() 105 nv44_vmm_pgt_sgl(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv44_vmm_pgt_sgl() 112 nv44_vmm_pgt_dma(struct nvkm_vmm *vmm, struct nvkm_mmu_pt *pt, in nv44_vmm_pgt_dma() 147 nv44_vmm_pgt_unmap(struct nvkm_vmm *vmm, in nv44_vmm_pgt_unmap() 185 nv44_vmm_flush(struct nvkm_vmm *vmm, int level) in nv44_vmm_flush() 210 struct nvkm_vmm **pvmm) in nv44_vmm_new() 213 struct nvkm_vmm *vmm; in nv44_vmm_new()
|
D | uvmm.c | 33 struct nvkm_vmm * 51 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_pfnclr() 76 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_pfnmap() 106 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_unmap() 149 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_map() 225 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_put() 261 struct nvkm_vmm *vmm = uvmm->vmm; in nvkm_uvmm_mthd_get()
|
D | vmmtu102.c | 27 tu102_vmm_flush(struct nvkm_vmm *vmm, int depth) in tu102_vmm_flush() 73 const char *name, struct nvkm_vmm **pvmm) in tu102_vmm_new()
|
D | vmmgm20b.c | 59 const char *name, struct nvkm_vmm **pvmm) in gm20b_vmm_new() 68 const char *name, struct nvkm_vmm **pvmm) in gm20b_vmm_new_fixed()
|
D | vmmgk104.c | 25 gk104_vmm_lpt_invalid(struct nvkm_vmm *vmm, in gk104_vmm_lpt_invalid() 100 const char *name, struct nvkm_vmm **pvmm) in gk104_vmm_new()
|
D | vmmgv100.c | 31 gv100_vmm_join(struct nvkm_vmm *vmm, struct nvkm_memory *inst) in gv100_vmm_join() 85 const char *name, struct nvkm_vmm **pvmm) in gv100_vmm_new()
|
D | uvmm.h | 9 struct nvkm_vmm *vmm;
|
D | vmmmcp77.c | 41 const char *name, struct nvkm_vmm **pvmm) in mcp77_vmm_new()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | mmu.h | 24 struct nvkm_vmm { struct 52 struct lock_class_key *, const char *name, struct nvkm_vmm **); argument 53 struct nvkm_vmm *nvkm_vmm_ref(struct nvkm_vmm *); 54 void nvkm_vmm_unref(struct nvkm_vmm **); 55 int nvkm_vmm_boot(struct nvkm_vmm *); 56 int nvkm_vmm_join(struct nvkm_vmm *, struct nvkm_memory *inst); 57 void nvkm_vmm_part(struct nvkm_vmm *, struct nvkm_memory *inst); 58 int nvkm_vmm_get(struct nvkm_vmm *, u8 page, u64 size, struct nvkm_vma **); 59 void nvkm_vmm_put(struct nvkm_vmm *, struct nvkm_vma **); 79 int nvkm_vmm_map(struct nvkm_vmm *, struct nvkm_vma *, void *argv, u32 argc, [all …]
|
D | bar.h | 18 struct nvkm_vmm *nvkm_bar_bar1_vmm(struct nvkm_device *); 23 struct nvkm_vmm *nvkm_bar_bar2_vmm(struct nvkm_device *);
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
D | nv50.h | 13 struct nvkm_vmm *bar1_vmm; 15 struct nvkm_vmm *bar2_vmm; 26 struct nvkm_vmm *nv50_bar_bar1_vmm(struct nvkm_bar *); 28 struct nvkm_vmm *nv50_bar_bar2_vmm(struct nvkm_bar *);
|
D | gf100.h | 9 struct nvkm_vmm *vmm; 24 struct nvkm_vmm *gf100_bar_bar1_vmm(struct nvkm_bar *); 26 struct nvkm_vmm *gf100_bar_bar2_vmm(struct nvkm_bar *);
|
D | base.c | 33 struct nvkm_vmm * 49 struct nvkm_vmm *
|
D | priv.h | 19 struct nvkm_vmm *(*vmm)(struct nvkm_bar *);
|
D | gf100.c | 31 struct nvkm_vmm * 60 struct nvkm_vmm *
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | memory.h | 7 struct nvkm_vmm; 35 void (*boot)(struct nvkm_memory *, struct nvkm_vmm *); 38 int (*map)(struct nvkm_memory *, u64 offset, struct nvkm_vmm *,
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 120 nv50_instobj_kmap(struct nv50_instobj *iobj, struct nvkm_vmm *vmm) in nv50_instobj_kmap() 183 nv50_instobj_map(struct nvkm_memory *memory, u64 offset, struct nvkm_vmm *vmm, in nv50_instobj_map() 220 struct nvkm_vmm *vmm; in nv50_instobj_acquire() 260 nv50_instobj_boot(struct nvkm_memory *memory, struct nvkm_vmm *vmm) in nv50_instobj_boot() 326 struct nvkm_vmm *vmm = nvkm_bar_bar2_vmm(imem->subdev.device); in nv50_instobj_dtor()
|