Lines Matching refs:exec
538 prepare_fw_obj_resv(struct drm_exec *exec, struct pvr_fw_object *fw_obj) in prepare_fw_obj_resv() argument
540 return drm_exec_prepare_obj(exec, gem_from_pvr_gem(fw_obj->gem), 1); in prepare_fw_obj_resv()
544 jobs_lock_all_objs(struct drm_exec *exec, struct pvr_job_data *job_data, in jobs_lock_all_objs() argument
553 int err = drm_exec_lock_obj(exec, in jobs_lock_all_objs()
560 err = prepare_fw_obj_resv(exec, in jobs_lock_all_objs()
571 prepare_job_resvs_for_each(struct drm_exec *exec, struct pvr_job_data *job_data, in prepare_job_resvs_for_each() argument
574 drm_exec_until_all_locked(exec) { in prepare_job_resvs_for_each()
575 int err = jobs_lock_all_objs(exec, job_data, job_count); in prepare_job_resvs_for_each()
577 drm_exec_retry_on_contention(exec); in prepare_job_resvs_for_each()
717 struct drm_exec exec; in pvr_submit_jobs() local
749 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT | DRM_EXEC_IGNORE_DUPLICATES, 0); in pvr_submit_jobs()
758 err = prepare_job_resvs_for_each(&exec, job_data, args->jobs.count); in pvr_submit_jobs()
775 drm_exec_fini(&exec); in pvr_submit_jobs()