Home
last modified time | relevance | path

Searched refs:panfrost_priv (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_drv.c472 struct panfrost_file_priv *panfrost_priv; in panfrost_open() local
474 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 …]
Dpanfrost_job.h39 int panfrost_job_open(struct panfrost_file_priv *panfrost_priv);
40 void panfrost_job_close(struct panfrost_file_priv *panfrost_priv);
Dpanfrost_job.c856 int panfrost_job_open(struct panfrost_file_priv *panfrost_priv) in panfrost_job_open() argument
858 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() argument
876 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()