Lines Matching full:v3d
18 * to v3d, so we don't attach dma-buf fences to them.
53 * @job: V3D job being set up
143 DRM_ERROR("Cannot allocate memory for V3D job.\n"); in v3d_job_allocate()
158 v3d_job_init(struct v3d_dev *v3d, struct drm_file *file_priv, in v3d_job_init() argument
166 job->v3d = v3d; in v3d_job_init()
268 struct v3d_dev *v3d, in v3d_setup_csd_jobs_and_bos() argument
281 ret = v3d_job_init(v3d, file_priv, &(*job)->base, in v3d_setup_csd_jobs_and_bos()
292 ret = v3d_job_init(v3d, file_priv, *clean_job, in v3d_setup_csd_jobs_and_bos()
301 ret = v3d_lookup_bos(&v3d->drm, file_priv, *clean_job, in v3d_setup_csd_jobs_and_bos()
412 struct v3d_dev *v3d = v3d_priv->v3d; in v3d_get_cpu_indirect_csd_params() local
429 if (!v3d_has_csd(v3d)) { in v3d_get_cpu_indirect_csd_params()
442 return v3d_setup_csd_jobs_and_bos(file_priv, v3d, &indirect_csd.submit, in v3d_get_cpu_indirect_csd_params()
876 * v3d_submit_cl_ioctl() - Submits a job (frame) to the V3D.
891 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_submit_cl_ioctl() local
902 trace_v3d_submit_cl_ioctl(&v3d->drm, args->rcl_start, args->rcl_end); in v3d_submit_cl_ioctl()
926 ret = v3d_job_init(v3d, file_priv, &render->base, in v3d_submit_cl_ioctl()
942 ret = v3d_job_init(v3d, file_priv, &bin->base, in v3d_submit_cl_ioctl()
962 ret = v3d_job_init(v3d, file_priv, clean_job, in v3d_submit_cl_ioctl()
993 mutex_lock(&v3d->sched_lock); in v3d_submit_cl_ioctl()
1019 mutex_unlock(&v3d->sched_lock); in v3d_submit_cl_ioctl()
1035 mutex_unlock(&v3d->sched_lock); in v3d_submit_cl_ioctl()
1049 * v3d_submit_tfu_ioctl() - Submits a TFU (texture formatting) job to the V3D.
1061 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_submit_tfu_ioctl() local
1068 trace_v3d_submit_tfu_ioctl(&v3d->drm, args->iia); in v3d_submit_tfu_ioctl()
1087 ret = v3d_job_init(v3d, file_priv, &job->base, in v3d_submit_tfu_ioctl()
1126 mutex_lock(&v3d->sched_lock); in v3d_submit_tfu_ioctl()
1128 mutex_unlock(&v3d->sched_lock); in v3d_submit_tfu_ioctl()
1148 * v3d_submit_csd_ioctl() - Submits a CSD (compute shader) job to the V3D.
1160 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_submit_csd_ioctl() local
1169 trace_v3d_submit_csd_ioctl(&v3d->drm, args->cfg[5], args->cfg[6]); in v3d_submit_csd_ioctl()
1174 if (!v3d_has_csd(v3d)) { in v3d_submit_csd_ioctl()
1192 ret = v3d_setup_csd_jobs_and_bos(file_priv, v3d, args, in v3d_submit_csd_ioctl()
1207 mutex_lock(&v3d->sched_lock); in v3d_submit_csd_ioctl()
1216 mutex_unlock(&v3d->sched_lock); in v3d_submit_csd_ioctl()
1231 mutex_unlock(&v3d->sched_lock); in v3d_submit_csd_ioctl()
1253 * v3d_submit_cpu_ioctl() - Submits a CPU job to the V3D.
1265 struct v3d_dev *v3d = to_v3d_dev(dev); in v3d_submit_cpu_ioctl() local
1305 trace_v3d_submit_cpu_ioctl(&v3d->drm, cpu_job->job_type); in v3d_submit_cpu_ioctl()
1307 ret = v3d_job_init(v3d, file_priv, &cpu_job->base, in v3d_submit_cpu_ioctl()
1328 mutex_lock(&v3d->sched_lock); in v3d_submit_cpu_ioctl()
1351 mutex_unlock(&v3d->sched_lock); in v3d_submit_cpu_ioctl()
1378 mutex_unlock(&v3d->sched_lock); in v3d_submit_cpu_ioctl()