Lines Matching refs:bo_count
257 ret = drm_gem_lock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
261 for (i = 0; i < job->bo_count; i++) { in v3d_lock_bo_reservations()
275 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
300 u32 bo_count) in v3d_lookup_bos() argument
302 job->bo_count = bo_count; in v3d_lookup_bos()
304 if (!job->bo_count) { in v3d_lookup_bos()
314 job->bo_count, &job->bo); in v3d_lookup_bos()
324 for (i = 0; i < job->bo_count; i++) in v3d_job_free()
499 for (i = 0; i < job->bo_count; i++) { in v3d_attach_fences_and_unlock_reservation()
505 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_attach_fences_and_unlock_reservation()
805 last_job->bo_count, &acquire_ctx); in v3d_submit_cl_ioctl()
864 for (job->base.bo_count = 0; in v3d_submit_tfu_ioctl()
865 job->base.bo_count < ARRAY_SIZE(args->bo_handles); in v3d_submit_tfu_ioctl()
866 job->base.bo_count++) { in v3d_submit_tfu_ioctl()
869 if (!args->bo_handles[job->base.bo_count]) in v3d_submit_tfu_ioctl()
872 bo = drm_gem_object_lookup(file_priv, args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl()
875 job->base.bo_count, in v3d_submit_tfu_ioctl()
876 args->bo_handles[job->base.bo_count]); in v3d_submit_tfu_ioctl()
880 job->base.bo[job->base.bo_count] = bo; in v3d_submit_tfu_ioctl()
1009 drm_gem_unlock_reservations(clean_job->bo, clean_job->bo_count, in v3d_submit_csd_ioctl()