Searched refs:v3d_priv (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/v3d/ |
D | v3d_drv.c | 143 struct v3d_file_priv *v3d_priv; in v3d_open() local 147 v3d_priv = kzalloc(sizeof(*v3d_priv), GFP_KERNEL); in v3d_open() 148 if (!v3d_priv) in v3d_open() 151 v3d_priv->v3d = v3d; in v3d_open() 155 drm_sched_entity_init(&v3d_priv->sched_entity[i], in v3d_open() 160 file->driver_priv = v3d_priv; in v3d_open() 168 struct v3d_file_priv *v3d_priv = file->driver_priv; in v3d_postclose() local 172 drm_sched_entity_destroy(&v3d_priv->sched_entity[q]); in v3d_postclose() 175 kfree(v3d_priv); in v3d_postclose()
|
D | v3d_gem.c | 466 v3d_push_job(struct v3d_file_priv *v3d_priv, in v3d_push_job() argument 471 ret = drm_sched_job_init(&job->base, &v3d_priv->sched_entity[queue], in v3d_push_job() 472 v3d_priv); in v3d_push_job() 481 drm_sched_entity_push_job(&job->base, &v3d_priv->sched_entity[queue]); in v3d_push_job() 529 struct v3d_file_priv *v3d_priv = file_priv->driver_priv; in v3d_submit_cl_ioctl() local 614 ret = v3d_push_job(v3d_priv, &bin->base, V3D_BIN); in v3d_submit_cl_ioctl() 624 ret = v3d_push_job(v3d_priv, &render->base, V3D_RENDER); in v3d_submit_cl_ioctl() 634 ret = v3d_push_job(v3d_priv, clean_job, V3D_CACHE_CLEAN); in v3d_submit_cl_ioctl() 683 struct v3d_file_priv *v3d_priv = file_priv->driver_priv; in v3d_submit_tfu_ioctl() local 740 ret = v3d_push_job(v3d_priv, &job->base, V3D_TFU); in v3d_submit_tfu_ioctl() [all …]
|