Searched refs:panfrost_priv (Results 1 – 3 of 3) sorted by relevance
472 struct panfrost_file_priv *panfrost_priv; in panfrost_open() local474 panfrost_priv = kzalloc(sizeof(*panfrost_priv), GFP_KERNEL); in panfrost_open()475 if (!panfrost_priv) in panfrost_open()478 panfrost_priv->pfdev = pfdev; in panfrost_open()479 file->driver_priv = panfrost_priv; in panfrost_open()481 panfrost_priv->mmu = panfrost_mmu_ctx_create(pfdev); in panfrost_open()482 if (IS_ERR(panfrost_priv->mmu)) { in panfrost_open()483 ret = PTR_ERR(panfrost_priv->mmu); in panfrost_open()487 ret = panfrost_job_open(panfrost_priv); in panfrost_open()494 panfrost_mmu_ctx_put(panfrost_priv->mmu); in panfrost_open()[all …]
39 int panfrost_job_open(struct panfrost_file_priv *panfrost_priv);40 void panfrost_job_close(struct panfrost_file_priv *panfrost_priv);
856 int panfrost_job_open(struct panfrost_file_priv *panfrost_priv) in panfrost_job_open() argument858 struct panfrost_device *pfdev = panfrost_priv->pfdev; in panfrost_job_open()865 ret = drm_sched_entity_init(&panfrost_priv->sched_entity[i], in panfrost_job_open()874 void panfrost_job_close(struct panfrost_file_priv *panfrost_priv) in panfrost_job_close() argument876 struct panfrost_device *pfdev = panfrost_priv->pfdev; in panfrost_job_close()880 drm_sched_entity_destroy(&panfrost_priv->sched_entity[i]); in panfrost_job_close()885 struct drm_sched_entity *entity = &panfrost_priv->sched_entity[i]; in panfrost_job_close()