Searched refs:uvma (Results 1 – 7 of 7) sorted by relevance
136 struct xe_userptr *userptr = &uvma->userptr; in xe_hmm_userptr_set_mapped()137 struct xe_vm *vm = xe_vma_vm(&uvma->vma); in xe_hmm_userptr_set_mapped()150 struct xe_userptr *userptr = &uvma->userptr; in xe_hmm_userptr_unmap()151 struct xe_vma *vma = &uvma->vma; in xe_hmm_userptr_unmap()183 struct xe_userptr *userptr = &uvma->userptr; in xe_hmm_userptr_free_sg()186 xe_hmm_userptr_unmap(uvma); in xe_hmm_userptr_free_sg()221 struct xe_vma *vma = &uvma->vma; in xe_hmm_userptr_populate_range()230 .notifier = &uvma->userptr.notifier, in xe_hmm_userptr_populate_range()238 userptr = &uvma->userptr; in xe_hmm_userptr_populate_range()251 xe_hmm_userptr_free_sg(uvma); in xe_hmm_userptr_populate_range()[all …]
13 int xe_hmm_userptr_populate_range(struct xe_userptr_vma *uvma, bool is_mm_mmap_locked);15 void xe_hmm_userptr_free_sg(struct xe_userptr_vma *uvma);17 void xe_hmm_userptr_unmap(struct xe_userptr_vma *uvma);
65 uvma->userptr.notifier_seq) ? in xe_vma_userptr_check_repin()71 struct xe_vma *vma = &uvma->vma; in xe_vma_userptr_pin_pages()589 struct xe_vma *vma = &uvma->vma; in __vma_userptr_invalidate()628 xe_hmm_userptr_unmap(uvma); in __vma_userptr_invalidate()635 struct xe_userptr_vma *uvma = container_of(mni, typeof(*uvma), userptr.notifier); in vma_userptr_invalidate() local636 struct xe_vma *vma = &uvma->vma; in vma_userptr_invalidate()686 uvma->userptr.notifier_seq -= 2; in xe_vma_userptr_force_invalidate()1162 struct xe_userptr_vma *uvma = kzalloc(sizeof(*uvma), GFP_KERNEL); in xe_vma_create() local1164 if (!uvma) in xe_vma_create()1167 vma = &uvma->vma; in xe_vma_create()[all …]
256 int xe_vma_userptr_pin_pages(struct xe_userptr_vma *uvma);258 int xe_vma_userptr_check_repin(struct xe_userptr_vma *uvma);305 void xe_vma_userptr_force_invalidate(struct xe_userptr_vma *uvma);307 static inline void xe_vma_userptr_force_invalidate(struct xe_userptr_vma *uvma) in xe_vma_userptr_force_invalidate() argument
1311 static bool xe_pt_userptr_inject_eagain(struct xe_userptr_vma *uvma) in xe_pt_userptr_inject_eagain() argument1313 u32 divisor = uvma->userptr.divisor ? uvma->userptr.divisor : 2; in xe_pt_userptr_inject_eagain()1317 uvma->userptr.divisor = divisor << 1; in xe_pt_userptr_inject_eagain()1326 static bool xe_pt_userptr_inject_eagain(struct xe_userptr_vma *uvma) in xe_pt_userptr_inject_eagain() argument1336 struct xe_userptr_vma *uvma; in vma_check_userptr() local1344 uvma = to_userptr_vma(vma); in vma_check_userptr()1345 if (xe_pt_userptr_inject_eagain(uvma)) in vma_check_userptr()1346 xe_vma_userptr_force_invalidate(uvma); in vma_check_userptr()1348 notifier_seq = uvma->userptr.notifier_seq; in vma_check_userptr()1350 if (!mmu_interval_read_retry(&uvma->userptr.notifier, in vma_check_userptr()
153 struct xe_userptr_vma *uvma = to_userptr_vma(vma); in handle_vma_pagefault() local155 err = xe_vma_userptr_pin_pages(uvma); in handle_vma_pagefault()
183 u64 addr = uvma->va.va.addr; in nouveau_uvma_vmm_put()193 u64 addr = uvma->va.va.addr; in nouveau_uvma_map()204 u64 addr = uvma->va.va.addr; in nouveau_uvma_unmap()227 kfree(uvma); in nouveau_uvma_free()442 nouveau_uvma_gem_put(uvma); in op_map_prepare_unwind()444 nouveau_uvma_free(uvma); in op_map_prepare_unwind()586 struct nouveau_uvma *uvma; in op_map_prepare() local594 uvma->kind = args->kind; in op_map_prepare()601 *puvma = uvma; in op_map_prepare()794 nouveau_uvma_unmap(uvma); in op_unmap()[all …]