Home
last modified time | relevance | path

Searched refs:refd (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Duvmm.c198 (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 …]
Dvmm.c807 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()
1247 nvkm_vmm_ptes_unmap_put(vmm, &vmm->func->page[vma->refd], in nvkm_vmm_pfn_unmap()
1253 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_pfn_unmap()
1340 tmp->refd = page - vmm->func->page; in nvkm_vmm_pfn_map()
1342 tmp->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_pfn_map()
1409 const struct nvkm_vmm_page *page = &vmm->func->page[vma->refd]; in nvkm_vmm_unmap_locked()
1413 vma->refd = NVKM_VMA_PAGE_NONE; in nvkm_vmm_unmap_locked()
1498 vma->refd == NVKM_VMA_PAGE_NONE) { in nvkm_vmm_map_locked()
[all …]
Dvmm.h177 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-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dmmu.h15 u8 refd:3; /* Current page type (index, or NONE for unreferenced). */ member