Searched refs:getref (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | uvmm.c | 264 bool getref, mapref, sparse; in nvkm_uvmm_mthd_get() local 269 getref = args->v0.type == NVIF_VMM_GET_V0_PTES; in nvkm_uvmm_mthd_get() 279 ret = nvkm_vmm_get_locked(vmm, getref, mapref, sparse, in nvkm_uvmm_mthd_get()
|
D | vmm.c | 1631 nvkm_vmm_get_locked(struct nvkm_vmm *vmm, bool getref, bool mapref, bool sparse, in nvkm_vmm_get_locked() argument 1642 getref, mapref, sparse, shift, align, size); in nvkm_vmm_get_locked() 1645 if (unlikely(!size || (!getref && !mapref && sparse))) { in nvkm_vmm_get_locked() 1647 size, getref, mapref, sparse); in nvkm_vmm_get_locked() 1657 if (unlikely((getref || vmm->func->page_block) && !shift)) { in nvkm_vmm_get_locked() 1659 getref, vmm->func->page_block); in nvkm_vmm_get_locked() 1745 if (sparse && getref) in nvkm_vmm_get_locked() 1749 else if (getref) in nvkm_vmm_get_locked() 1758 vma->mapref = mapref && !getref; in nvkm_vmm_get_locked() 1761 vma->refd = getref ? vma->page : NVKM_VMA_PAGE_NONE; in nvkm_vmm_get_locked()
|
D | vmm.h | 169 int nvkm_vmm_get_locked(struct nvkm_vmm *, bool getref, bool mapref,
|