Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Duvmm.c278 bool getref, mapref, sparse; in nvkm_uvmm_mthd_get() local
283 getref = args->v0.type == NVIF_VMM_GET_V0_PTES; in nvkm_uvmm_mthd_get()
293 ret = nvkm_vmm_get_locked(vmm, getref, mapref, sparse, in nvkm_uvmm_mthd_get()
Dvmm.c1635 nvkm_vmm_get_locked(struct nvkm_vmm *vmm, bool getref, bool mapref, bool sparse, in nvkm_vmm_get_locked() argument
1646 getref, mapref, sparse, shift, align, size); in nvkm_vmm_get_locked()
1649 if (unlikely(!size || (!getref && !mapref && sparse))) { in nvkm_vmm_get_locked()
1651 size, getref, mapref, sparse); in nvkm_vmm_get_locked()
1661 if (unlikely((getref || vmm->func->page_block) && !shift)) { in nvkm_vmm_get_locked()
1663 getref, vmm->func->page_block); in nvkm_vmm_get_locked()
1749 if (sparse && getref) in nvkm_vmm_get_locked()
1753 else if (getref) in nvkm_vmm_get_locked()
1762 vma->mapref = mapref && !getref; in nvkm_vmm_get_locked()
1765 vma->refd = getref ? vma->page : NVKM_VMA_PAGE_NONE; in nvkm_vmm_get_locked()
Dvmm.h169 int nvkm_vmm_get_locked(struct nvkm_vmm *, bool getref, bool mapref,