Lines Matching refs:exec

1089 exec_prepare_obj(struct drm_exec *exec, struct drm_gem_object *obj,  in exec_prepare_obj()  argument
1092 return num_fences ? drm_exec_prepare_obj(exec, obj, num_fences) : in exec_prepare_obj()
1093 drm_exec_lock_obj(exec, obj); in exec_prepare_obj()
1112 struct drm_exec *exec, in drm_gpuvm_prepare_vm() argument
1115 return exec_prepare_obj(exec, gpuvm->r_obj, num_fences); in drm_gpuvm_prepare_vm()
1121 struct drm_exec *exec, in __drm_gpuvm_prepare_objects() argument
1129 ret = exec_prepare_obj(exec, vm_bo->obj, num_fences); in __drm_gpuvm_prepare_objects()
1142 struct drm_exec *exec, in drm_gpuvm_prepare_objects_locked() argument
1150 ret = exec_prepare_obj(exec, vm_bo->obj, num_fences); in drm_gpuvm_prepare_objects_locked()
1186 struct drm_exec *exec, in drm_gpuvm_prepare_objects() argument
1190 return drm_gpuvm_prepare_objects_locked(gpuvm, exec, in drm_gpuvm_prepare_objects()
1193 return __drm_gpuvm_prepare_objects(gpuvm, exec, num_fences); in drm_gpuvm_prepare_objects()
1212 drm_gpuvm_prepare_range(struct drm_gpuvm *gpuvm, struct drm_exec *exec, in drm_gpuvm_prepare_range() argument
1222 ret = exec_prepare_obj(exec, obj, num_fences); in drm_gpuvm_prepare_range()
1249 struct drm_exec *exec = &vm_exec->exec; in drm_gpuvm_exec_lock() local
1253 drm_exec_init(exec, vm_exec->flags, 0); in drm_gpuvm_exec_lock()
1255 drm_exec_until_all_locked(exec) { in drm_gpuvm_exec_lock()
1256 ret = drm_gpuvm_prepare_vm(gpuvm, exec, num_fences); in drm_gpuvm_exec_lock()
1257 drm_exec_retry_on_contention(exec); in drm_gpuvm_exec_lock()
1261 ret = drm_gpuvm_prepare_objects(gpuvm, exec, num_fences); in drm_gpuvm_exec_lock()
1262 drm_exec_retry_on_contention(exec); in drm_gpuvm_exec_lock()
1268 drm_exec_retry_on_contention(exec); in drm_gpuvm_exec_lock()
1277 drm_exec_fini(exec); in drm_gpuvm_exec_lock()
1290 return drm_exec_prepare_array(&vm_exec->exec, args->objs, in fn_lock_array()
1341 struct drm_exec *exec = &vm_exec->exec; in drm_gpuvm_exec_lock_range() local
1344 drm_exec_init(exec, vm_exec->flags, 0); in drm_gpuvm_exec_lock_range()
1346 drm_exec_until_all_locked(exec) { in drm_gpuvm_exec_lock_range()
1347 ret = drm_gpuvm_prepare_range(gpuvm, exec, addr, range, in drm_gpuvm_exec_lock_range()
1349 drm_exec_retry_on_contention(exec); in drm_gpuvm_exec_lock_range()
1357 drm_exec_fini(exec); in drm_gpuvm_exec_lock_range()
1363 __drm_gpuvm_validate(struct drm_gpuvm *gpuvm, struct drm_exec *exec) in __drm_gpuvm_validate() argument
1371 ret = ops->vm_bo_validate(vm_bo, exec); in __drm_gpuvm_validate()
1383 drm_gpuvm_validate_locked(struct drm_gpuvm *gpuvm, struct drm_exec *exec) in drm_gpuvm_validate_locked() argument
1393 ret = ops->vm_bo_validate(vm_bo, exec); in drm_gpuvm_validate_locked()
1416 drm_gpuvm_validate(struct drm_gpuvm *gpuvm, struct drm_exec *exec) in drm_gpuvm_validate() argument
1424 return drm_gpuvm_validate_locked(gpuvm, exec); in drm_gpuvm_validate()
1426 return __drm_gpuvm_validate(gpuvm, exec); in drm_gpuvm_validate()
1441 struct drm_exec *exec, in drm_gpuvm_resv_add_fence() argument
1449 drm_exec_for_each_locked_object(exec, index, obj) { in drm_gpuvm_resv_add_fence()