Searched refs:refd (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | uvmm.c | 198 (vma->refd == NVKM_VMA_PAGE_NONE && !vma->mapref)) { in nvkm_uvmm_mthd_map() 201 !!vma->memory, vma->refd, vma->mapref, in nvkm_uvmm_mthd_map() 330 nvkm_uvmm_page_index(struct nvkm_uvmm *uvmm, u64 size, u8 shift, u8 *refd) in nvkm_uvmm_page_index() argument 348 *refd = page - vmm->func->page; in nvkm_uvmm_page_index() 357 u8 refd; in nvkm_uvmm_mthd_raw_get() local 363 ret = nvkm_uvmm_page_index(uvmm, args->size, args->shift, &refd); in nvkm_uvmm_mthd_raw_get() 367 return nvkm_vmm_raw_get(vmm, args->addr, args->size, refd); in nvkm_uvmm_mthd_raw_get() 374 u8 refd; in nvkm_uvmm_mthd_raw_put() local 380 ret = nvkm_uvmm_page_index(uvmm, args->size, args->shift, &refd); in nvkm_uvmm_mthd_raw_put() 384 nvkm_vmm_raw_put(vmm, args->addr, args->size, refd); in nvkm_uvmm_mthd_raw_put() [all …]
|
H A D | vmm.c | 807 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vma_new() 826 new->refd = vma->refd; in nvkm_vma_tail() 1011 vma->refd != NVKM_VMA_PAGE_NONE ? '0' + vma->refd : '-', in nvkm_vma_dump() 1254 nvkm_vmm_ptes_unmap_put(vmm, &vmm->func->page[vma->refd], in nvkm_vmm_pfn_unmap() 1260 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_pfn_unmap() 1347 tmp->refd = page - vmm->func->page; in nvkm_vmm_pfn_map() 1349 tmp->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_pfn_map() 1416 const struct nvkm_vmm_page *page = &vmm->func->page[vma->refd]; in nvkm_vmm_unmap_locked() 1420 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_unmap_locked() 1505 vma->refd == NVKM_VMA_PAGE_NONE) { in nvkm_vmm_map_locked() [all …]
|
H A D | vmm.h | 177 int nvkm_vmm_raw_get(struct nvkm_vmm *vmm, u64 addr, u64 size, u8 refd); 178 void nvkm_vmm_raw_put(struct nvkm_vmm *vmm, u64 addr, u64 size, u8 refd); 180 bool sparse, u8 refd);
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | mmu.h | 16 u8 refd:3; /* Current page type (index, or NONE for unreferenced). */ member
|