Searched refs:vpgd (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c226 struct nvkm_vm_pgd *vpgd; nvkm_vm_unmap_pgt() local
239 list_for_each_entry(vpgd, &vm->pgd_list, head) { nvkm_vm_unmap_pgt()
240 mmu->map_pgt(vpgd->obj, pde, vpgt->obj); nvkm_vm_unmap_pgt()
254 struct nvkm_vm_pgd *vpgd; nvkm_vm_map_pgt() local
279 list_for_each_entry(vpgd, &vm->pgd_list, head) { nvkm_vm_map_pgt()
280 mmu->map_pgt(vpgd->obj, pde, vpgt->obj); nvkm_vm_map_pgt()
403 struct nvkm_vm_pgd *vpgd; nvkm_vm_link() local
409 vpgd = kzalloc(sizeof(*vpgd), GFP_KERNEL); nvkm_vm_link()
410 if (!vpgd) nvkm_vm_link()
413 nvkm_gpuobj_ref(pgd, &vpgd->obj); nvkm_vm_link()
418 list_add(&vpgd->head, &vm->pgd_list); nvkm_vm_link()
427 struct nvkm_vm_pgd *vpgd, *tmp; nvkm_vm_unlink() local
434 list_for_each_entry_safe(vpgd, tmp, &vm->pgd_list, head) { nvkm_vm_unlink()
435 if (vpgd->obj == mpgd) { nvkm_vm_unlink()
436 pgd = vpgd->obj; nvkm_vm_unlink()
437 list_del(&vpgd->head); nvkm_vm_unlink()
438 kfree(vpgd); nvkm_vm_unlink()
451 struct nvkm_vm_pgd *vpgd, *tmp; nvkm_vm_del() local
453 list_for_each_entry_safe(vpgd, tmp, &vm->pgd_list, head) { nvkm_vm_del()
454 nvkm_vm_unlink(vm, vpgd->obj); nvkm_vm_del()
H A Dgf100.c163 struct nvkm_vm_pgd *vpgd; gf100_vm_flush() local
173 list_for_each_entry(vpgd, &vm->pgd_list, head) { gf100_vm_flush()
182 nv_wr32(priv, 0x100cb8, vpgd->obj->addr >> 8); gf100_vm_flush()

Completed in 63 milliseconds