Searched refs:v3d_priv (Results 1 – 4 of 4) sorted by relevance
89 mutex_lock(&v3d_priv->perfmon.lock); in v3d_perfmon_find()92 mutex_unlock(&v3d_priv->perfmon.lock); in v3d_perfmon_find()99 mutex_init(&v3d_priv->perfmon.lock); in v3d_perfmon_open_file()119 struct v3d_dev *v3d = v3d_priv->v3d; in v3d_perfmon_close_file()121 mutex_lock(&v3d_priv->perfmon.lock); in v3d_perfmon_close_file()123 idr_destroy(&v3d_priv->perfmon.idr); in v3d_perfmon_close_file()124 mutex_unlock(&v3d_priv->perfmon.lock); in v3d_perfmon_close_file()161 mutex_lock(&v3d_priv->perfmon.lock); in v3d_perfmon_create_ioctl()164 mutex_unlock(&v3d_priv->perfmon.lock); in v3d_perfmon_create_ioctl()184 mutex_lock(&v3d_priv->perfmon.lock); in v3d_perfmon_destroy_ioctl()[all …]
103 struct v3d_file_priv *v3d_priv; in v3d_open() local107 v3d_priv = kzalloc(sizeof(*v3d_priv), GFP_KERNEL); in v3d_open()108 if (!v3d_priv) in v3d_open()111 v3d_priv->v3d = v3d; in v3d_open()115 drm_sched_entity_init(&v3d_priv->sched_entity[i], in v3d_open()120 v3d_perfmon_open_file(v3d_priv); in v3d_open()121 file->driver_priv = v3d_priv; in v3d_open()129 struct v3d_file_priv *v3d_priv = file->driver_priv; in v3d_postclose() local133 drm_sched_entity_destroy(&v3d_priv->sched_entity[q]); in v3d_postclose()135 v3d_perfmon_close_file(v3d_priv); in v3d_postclose()[all …]
412 struct v3d_perfmon *v3d_perfmon_find(struct v3d_file_priv *v3d_priv, int id);413 void v3d_perfmon_open_file(struct v3d_file_priv *v3d_priv);414 void v3d_perfmon_close_file(struct v3d_file_priv *v3d_priv);
404 struct v3d_file_priv *v3d_priv = file_priv->driver_priv; in v3d_job_init() local419 ret = drm_sched_job_init(&job->base, &v3d_priv->sched_entity[queue], in v3d_job_init()420 v3d_priv); in v3d_job_init()665 struct v3d_file_priv *v3d_priv = file_priv->driver_priv; in v3d_submit_cl_ioctl() local739 render->base.perfmon = v3d_perfmon_find(v3d_priv, in v3d_submit_cl_ioctl()912 struct v3d_file_priv *v3d_priv = file_priv->driver_priv; in v3d_submit_csd_ioctl() local965 job->base.perfmon = v3d_perfmon_find(v3d_priv, in v3d_submit_csd_ioctl()