panfrost_priv 484 drivers/gpu/drm/panfrost/panfrost_drv.c struct panfrost_file_priv *panfrost_priv; panfrost_priv 486 drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_priv = kzalloc(sizeof(*panfrost_priv), GFP_KERNEL); panfrost_priv 487 drivers/gpu/drm/panfrost/panfrost_drv.c if (!panfrost_priv) panfrost_priv 490 drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_priv->pfdev = pfdev; panfrost_priv 491 drivers/gpu/drm/panfrost/panfrost_drv.c file->driver_priv = panfrost_priv; panfrost_priv 493 drivers/gpu/drm/panfrost/panfrost_drv.c spin_lock_init(&panfrost_priv->mm_lock); panfrost_priv 496 drivers/gpu/drm/panfrost/panfrost_drv.c drm_mm_init(&panfrost_priv->mm, SZ_32M >> PAGE_SHIFT, (SZ_4G - SZ_32M) >> PAGE_SHIFT); panfrost_priv 497 drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_priv->mm.color_adjust = panfrost_drm_mm_color_adjust; panfrost_priv 499 drivers/gpu/drm/panfrost/panfrost_drv.c ret = panfrost_mmu_pgtable_alloc(panfrost_priv); panfrost_priv 503 drivers/gpu/drm/panfrost/panfrost_drv.c ret = panfrost_job_open(panfrost_priv); panfrost_priv 510 drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_mmu_pgtable_free(panfrost_priv); panfrost_priv 512 drivers/gpu/drm/panfrost/panfrost_drv.c drm_mm_takedown(&panfrost_priv->mm); panfrost_priv 513 drivers/gpu/drm/panfrost/panfrost_drv.c kfree(panfrost_priv); panfrost_priv 520 drivers/gpu/drm/panfrost/panfrost_drv.c struct panfrost_file_priv *panfrost_priv = file->driver_priv; panfrost_priv 523 drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_job_close(panfrost_priv); panfrost_priv 525 drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_mmu_pgtable_free(panfrost_priv); panfrost_priv 526 drivers/gpu/drm/panfrost/panfrost_drv.c drm_mm_takedown(&panfrost_priv->mm); panfrost_priv 527 drivers/gpu/drm/panfrost/panfrost_drv.c kfree(panfrost_priv); panfrost_priv 560 drivers/gpu/drm/panfrost/panfrost_job.c int panfrost_job_open(struct panfrost_file_priv *panfrost_priv) panfrost_priv 562 drivers/gpu/drm/panfrost/panfrost_job.c struct panfrost_device *pfdev = panfrost_priv->pfdev; panfrost_priv 569 drivers/gpu/drm/panfrost/panfrost_job.c ret = drm_sched_entity_init(&panfrost_priv->sched_entity[i], &rq, 1, NULL); panfrost_priv 576 drivers/gpu/drm/panfrost/panfrost_job.c void panfrost_job_close(struct panfrost_file_priv *panfrost_priv) panfrost_priv 581 drivers/gpu/drm/panfrost/panfrost_job.c drm_sched_entity_destroy(&panfrost_priv->sched_entity[i]); panfrost_priv 45 drivers/gpu/drm/panfrost/panfrost_job.h int panfrost_job_open(struct panfrost_file_priv *panfrost_priv); panfrost_priv 46 drivers/gpu/drm/panfrost/panfrost_job.h void panfrost_job_close(struct panfrost_file_priv *panfrost_priv);