Lines Matching defs:vm

40 static struct drm_gem_object *xe_vm_obj(struct xe_vm *vm)  in xe_vm_obj()
68 struct xe_vm *vm = xe_vma_vm(vma); in xe_vma_userptr_pin_pages() local
175 static bool preempt_fences_waiting(struct xe_vm *vm) in preempt_fences_waiting()
201 static int alloc_preempt_fences(struct xe_vm *vm, struct list_head *list, in alloc_preempt_fences()
222 static int wait_for_existing_preempt_fences(struct xe_vm *vm) in wait_for_existing_preempt_fences()
242 static bool xe_vm_is_idle(struct xe_vm *vm) in xe_vm_is_idle()
255 static void arm_preempt_fences(struct xe_vm *vm, struct list_head *list) in arm_preempt_fences()
274 static int add_preempt_fences(struct xe_vm *vm, struct xe_bo *bo) in add_preempt_fences()
302 static void resume_and_reinstall_preempt_fences(struct xe_vm *vm, in resume_and_reinstall_preempt_fences()
318 int xe_vm_add_compute_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q) in xe_vm_add_compute_exec_queue()
377 void xe_vm_remove_compute_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q) in xe_vm_remove_compute_exec_queue()
404 int __xe_vm_userptr_needs_repin(struct xe_vm *vm) in __xe_vm_userptr_needs_repin()
414 static void xe_vm_kill(struct xe_vm *vm) in xe_vm_kill()
466 struct xe_vm *vm = gpuvm_to_vm(vm_bo->vm); in xe_gpuvm_validate() local
483 static int xe_preempt_work_begin(struct drm_exec *exec, struct xe_vm *vm, in xe_preempt_work_begin()
521 struct xe_vm *vm = container_of(w, struct xe_vm, preempt.rebind_work); in preempt_rebind_work_func() local
638 struct xe_vm *vm = xe_vma_vm(vma); in vma_userptr_invalidate() local
703 int xe_vm_userptr_pin(struct xe_vm *vm) in xe_vm_userptr_pin()
746 int xe_vm_userptr_check_repin(struct xe_vm *vm) in xe_vm_userptr_check_repin()
757 struct dma_fence *xe_vm_rebind(struct xe_vm *vm, bool rebind_worker) in xe_vm_rebind()
796 static struct xe_vma *xe_vma_create(struct xe_vm *vm, in xe_vma_create()
896 struct xe_vm *vm = xe_vma_vm(vma); in xe_vma_destroy_late() local
952 struct xe_vm *vm = xe_vma_vm(vma); in xe_vma_destroy() local
998 struct xe_vm *vm = xe_vma_vm(vma); in xe_vm_prepare_vma() local
1036 xe_vm_find_overlapping_vma(struct xe_vm *vm, u64 start, u64 range) in xe_vm_find_overlapping_vma()
1052 static int xe_vm_insert_vma(struct xe_vm *vm, struct xe_vma *vma) in xe_vm_insert_vma()
1065 static void xe_vm_remove_vma(struct xe_vm *vm, struct xe_vma *vma) in xe_vm_remove_vma()
1242 struct xe_vm *vm) in xe_vm_create_scratch()
1258 static void xe_vm_free_scratch(struct xe_vm *vm) in xe_vm_free_scratch()
1281 struct xe_vm *vm; in xe_vm_create() local
1430 static void xe_vm_close(struct xe_vm *vm) in xe_vm_close()
1437 void xe_vm_close_and_put(struct xe_vm *vm) in xe_vm_close_and_put()
1536 struct xe_vm *vm = in vm_destroy_work_func() local
1567 struct xe_vm *vm = container_of(gpuvm, struct xe_vm, gpuvm); in xe_vm_free() local
1575 struct xe_vm *vm; in xe_vm_lookup() local
1586 u64 xe_vm_pdp4_descriptor(struct xe_vm *vm, struct xe_tile *tile) in xe_vm_pdp4_descriptor()
1593 to_wait_exec_queue(struct xe_vm *vm, struct xe_exec_queue *q) in to_wait_exec_queue()
1603 struct xe_vm *vm = xe_vma_vm(vma); in xe_vm_unbind_vma() local
1693 struct xe_vm *vm = xe_vma_vm(vma); in xe_vm_bind_vma() local
1774 static int __xe_vm_bind(struct xe_vm *vm, struct xe_vma *vma, in __xe_vm_bind()
1815 static int xe_vm_bind(struct xe_vm *vm, struct xe_vma *vma, struct xe_exec_queue *q, in xe_vm_bind()
1835 static int xe_vm_unbind(struct xe_vm *vm, struct xe_vma *vma, in xe_vm_unbind()
1868 struct xe_vm *vm; in xe_vm_create_ioctl() local
1968 struct xe_vm *vm; in xe_vm_destroy_ioctl() local
1997 static int xe_vm_prefetch(struct xe_vm *vm, struct xe_vma *vma, in xe_vm_prefetch()
2034 static void prep_vma_destroy(struct xe_vm *vm, struct xe_vma *vma, in prep_vma_destroy()
2099 vm_bind_ioctl_ops_create(struct xe_vm *vm, struct xe_bo *bo, in vm_bind_ioctl_ops_create()
2169 static struct xe_vma *new_vma(struct xe_vm *vm, struct drm_gpuva_op_map *op, in new_vma()
2254 static int xe_vma_op_commit(struct xe_vm *vm, struct xe_vma_op *op) in xe_vma_op_commit()
2318 static int vm_bind_ioctl_ops_parse(struct xe_vm *vm, struct xe_exec_queue *q, in vm_bind_ioctl_ops_parse()
2461 static int op_execute(struct drm_exec *exec, struct xe_vm *vm, in op_execute()
2549 static int __xe_vma_op_execute(struct xe_vm *vm, struct xe_vma *vma, in __xe_vma_op_execute()
2589 static int xe_vma_op_execute(struct xe_vm *vm, struct xe_vma_op *op) in xe_vma_op_execute()
2629 static void xe_vma_op_cleanup(struct xe_vm *vm, struct xe_vma_op *op) in xe_vma_op_cleanup()
2648 static void xe_vma_op_unwind(struct xe_vm *vm, struct xe_vma_op *op, in xe_vma_op_unwind()
2703 static void vm_bind_ioctl_ops_unwind(struct xe_vm *vm, in vm_bind_ioctl_ops_unwind()
2729 static int vm_bind_ioctl_ops_execute(struct xe_vm *vm, in vm_bind_ioctl_ops_execute()
2873 static int vm_bind_ioctl_signal_fences(struct xe_vm *vm, in vm_bind_ioctl_signal_fences()
2904 struct xe_vm *vm; in xe_vm_bind_ioctl() local
3149 int xe_vm_lock(struct xe_vm *vm, bool intr) in xe_vm_lock()
3163 void xe_vm_unlock(struct xe_vm *vm) in xe_vm_unlock()
3232 int xe_analyze_vm(struct drm_printer *p, struct xe_vm *vm, int gt_id) in xe_analyze_vm()