Home
last modified time | relevance | path

Searched refs:getref (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmm.c1705 nvkm_vmm_get_locked(struct nvkm_vmm *vmm, bool getref, bool mapref, bool sparse, in nvkm_vmm_get_locked() argument
1716 getref, mapref, sparse, shift, align, size); in nvkm_vmm_get_locked()
1719 if (unlikely(!size || (!getref && !mapref && sparse))) { in nvkm_vmm_get_locked()
1721 size, getref, mapref, sparse); in nvkm_vmm_get_locked()
1731 if (unlikely((getref || vmm->func->page_block) && !shift)) { in nvkm_vmm_get_locked()
1733 getref, vmm->func->page_block); in nvkm_vmm_get_locked()
1819 if (sparse && getref) in nvkm_vmm_get_locked()
1823 else if (getref) in nvkm_vmm_get_locked()
1832 vma->mapref = mapref && !getref; in nvkm_vmm_get_locked()
1835 vma->refd = getref ? vma->page : NVKM_VMA_PAGE_NONE; in nvkm_vmm_get_locked()
H A Duvmm.c276 bool getref, mapref, sparse; in nvkm_uvmm_mthd_get() local
281 getref = args->v0.type == NVIF_VMM_GET_V0_PTES; in nvkm_uvmm_mthd_get()
291 ret = nvkm_vmm_get_locked(vmm, getref, mapref, sparse, in nvkm_uvmm_mthd_get()
H A Dvmm.h170 int nvkm_vmm_get_locked(struct nvkm_vmm *, bool getref, bool mapref,