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

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c227 struct nvkm_vm_pgt *vpgt; nvkm_vm_unmap_pgt() local
232 vpgt = &vm->pgt[pde - vm->fpde]; nvkm_vm_unmap_pgt()
233 if (--vpgt->refcount[big]) nvkm_vm_unmap_pgt()
236 pgt = vpgt->mem[big]; nvkm_vm_unmap_pgt()
237 vpgt->mem[big] = NULL; nvkm_vm_unmap_pgt()
240 mmu->func->map_pgt(vpgd->obj, pde, vpgt->mem); nvkm_vm_unmap_pgt()
251 struct nvkm_vm_pgt *vpgt = &vm->pgt[pde - vm->fpde]; nvkm_vm_map_pgt() local
261 pgt_size, 0x1000, true, &vpgt->mem[big]); nvkm_vm_map_pgt()
266 mmu->func->map_pgt(vpgd->obj, pde, vpgt->mem); nvkm_vm_map_pgt()
269 vpgt->refcount[big]++; nvkm_vm_map_pgt()
295 struct nvkm_vm_pgt *vpgt = &vm->pgt[pde - vm->fpde]; nvkm_vm_get() local
298 if (likely(vpgt->refcount[big])) { nvkm_vm_get()
299 vpgt->refcount[big]++; nvkm_vm_get()

Completed in 106 milliseconds