Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmmnv50.c145 nv50_vmm_pgd_pde(struct nvkm_vmm *vmm, struct nvkm_vmm_pt *pgd, u32 pdei) in nv50_vmm_pgd_pde() argument
148 u32 pdeo = vmm->mmu->func->vmm.pd_offset + (pdei * 8); in nv50_vmm_pgd_pde()
151 if (!nv50_vmm_pde(vmm, pgd->pde[pdei], &data)) in nv50_vmm_pgd_pde()
345 u32 pdei; in nv50_vmm_join() local
353 for (pdei = vmm->start >> 29; pdei <= (vmm->limit - 1) >> 29; pdei++) { in nv50_vmm_join()
354 if (!nv50_vmm_pde(vmm, vmm->pd->pde[pdei], &data)) { in nv50_vmm_join()
358 nvkm_wo64(join->inst, pd_offset + (pdei * 8), data); in nv50_vmm_join()
Dvmmgp100.c233 gp100_vmm_pd0_pde(struct nvkm_vmm *vmm, struct nvkm_vmm_pt *pgd, u32 pdei) in gp100_vmm_pd0_pde() argument
235 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gp100_vmm_pd0_pde()
245 VMM_WO128(pd, vmm, pdei * 0x10, data[0], data[1]); in gp100_vmm_pd0_pde()
251 struct nvkm_mmu_pt *pt, u32 pdei, u32 pdes) in gp100_vmm_pd0_sparse() argument
254 VMM_FO128(pt, vmm, pdei * 0x10, BIT_ULL(3) /* VOL_BIG. */, 0ULL, pdes); in gp100_vmm_pd0_sparse()
259 struct nvkm_mmu_pt *pt, u32 pdei, u32 pdes) in gp100_vmm_pd0_unmap() argument
261 VMM_FO128(pt, vmm, pdei * 0x10, 0ULL, 0ULL, pdes); in gp100_vmm_pd0_unmap()
357 gp100_vmm_pd1_pde(struct nvkm_vmm *vmm, struct nvkm_vmm_pt *pgd, u32 pdei) in gp100_vmm_pd1_pde() argument
359 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gp100_vmm_pd1_pde()
367 VMM_WO064(pd, vmm, pdei * 8, data); in gp100_vmm_pd1_pde()
Dvmm.c146 u32 pdei = it->pte[it->lvl + 1]; in nvkm_vmm_unref_pdes() local
159 func->sparse(vmm, pgd->pt[0], pdei, 1); in nvkm_vmm_unref_pdes()
160 pgd->pde[pdei] = NVKM_VMM_PDE_SPARSE; in nvkm_vmm_unref_pdes()
162 func->unmap(vmm, pgd->pt[0], pdei, 1); in nvkm_vmm_unref_pdes()
163 pgd->pde[pdei] = NULL; in nvkm_vmm_unref_pdes()
170 func->pde(vmm, pgd, pdei); in nvkm_vmm_unref_pdes()
171 pgd->pde[pdei] = NULL; in nvkm_vmm_unref_pdes()
177 func->pde(vmm, pgd, pdei); in nvkm_vmm_unref_pdes()
413 nvkm_vmm_ref_hwpt(struct nvkm_vmm_iter *it, struct nvkm_vmm_pt *pgd, u32 pdei) in nvkm_vmm_ref_hwpt() argument
417 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in nvkm_vmm_ref_hwpt()
[all …]
Dvmmgm200.c54 struct nvkm_mmu_pt *pt, u32 pdei, u32 pdes) in gm200_vmm_pgd_sparse() argument
57 VMM_FO064(pt, vmm, pdei * 8, BIT_ULL(35) /* VOL_BIG. */, pdes); in gm200_vmm_pgd_sparse()
Dvmmgf100.c106 gf100_vmm_pgd_pde(struct nvkm_vmm *vmm, struct nvkm_vmm_pt *pgd, u32 pdei) in gf100_vmm_pgd_pde() argument
108 struct nvkm_vmm_pt *pgt = pgd->pde[pdei]; in gf100_vmm_pgd_pde()
142 VMM_WO064(pd, vmm, pdei * 8, data); in gf100_vmm_pgd_pde()
Dvmm.h56 struct nvkm_vmm_pt *, u32 pdei);