Lines Matching refs:exec
97 static int xe_pf_begin(struct drm_exec *exec, struct xe_vma *vma, in xe_pf_begin() argument
104 err = xe_vm_lock_vma(exec, vma); in xe_pf_begin()
132 struct drm_exec exec; in handle_vma_pagefault() local
156 drm_exec_init(&exec, 0, 0); in handle_vma_pagefault()
157 drm_exec_until_all_locked(&exec) { in handle_vma_pagefault()
158 err = xe_pf_begin(&exec, vma, atomic, tile->id); in handle_vma_pagefault()
159 drm_exec_retry_on_contention(&exec); in handle_vma_pagefault()
160 if (xe_vm_validate_should_retry(&exec, err, &end)) in handle_vma_pagefault()
170 if (xe_vm_validate_should_retry(&exec, err, &end)) in handle_vma_pagefault()
181 drm_exec_fini(&exec); in handle_vma_pagefault()
550 struct drm_exec exec; in handle_acc() local
579 drm_exec_init(&exec, 0, 0); in handle_acc()
580 drm_exec_until_all_locked(&exec) { in handle_acc()
581 ret = xe_pf_begin(&exec, vma, true, tile->id); in handle_acc()
582 drm_exec_retry_on_contention(&exec); in handle_acc()
587 drm_exec_fini(&exec); in handle_acc()