Searched refs:g2d_priv (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/exynos/
H A Dexynos_drm_g2d.c342 static void g2d_add_cmdlist_to_inuse(struct exynos_drm_g2d_private *g2d_priv, g2d_add_cmdlist_to_inuse() argument
347 if (list_empty(&g2d_priv->inuse_cmdlist)) g2d_add_cmdlist_to_inuse()
351 lnode = list_entry(g2d_priv->inuse_cmdlist.prev, g2d_add_cmdlist_to_inuse()
356 list_add_tail(&node->list, &g2d_priv->inuse_cmdlist); g2d_add_cmdlist_to_inuse()
359 list_add_tail(&node->event->base.link, &g2d_priv->event_list); g2d_add_cmdlist_to_inuse()
413 struct exynos_drm_g2d_private *g2d_priv = file_priv->g2d_priv; g2d_userptr_get_dma_addr() local
426 g2d = dev_get_drvdata(g2d_priv->dev); g2d_userptr_get_dma_addr()
429 list_for_each_entry(g2d_userptr, &g2d_priv->userptr_list, list) { g2d_userptr_get_dma_addr()
513 list_add_tail(&g2d_userptr->list, &g2d_priv->userptr_list); g2d_userptr_get_dma_addr()
547 struct exynos_drm_g2d_private *g2d_priv = file_priv->g2d_priv; g2d_userptr_free_all() local
550 list_for_each_entry_safe(g2d_userptr, n, &g2d_priv->userptr_list, list) g2d_userptr_free_all()
1041 struct exynos_drm_g2d_private *g2d_priv = file_priv->g2d_priv; exynos_g2d_get_ver_ioctl() local
1046 if (!g2d_priv) exynos_g2d_get_ver_ioctl()
1049 dev = g2d_priv->dev; exynos_g2d_get_ver_ioctl()
1067 struct exynos_drm_g2d_private *g2d_priv = file_priv->g2d_priv; exynos_g2d_set_cmdlist_ioctl() local
1079 if (!g2d_priv) exynos_g2d_set_cmdlist_ioctl()
1082 dev = g2d_priv->dev; exynos_g2d_set_cmdlist_ioctl()
1215 g2d_add_cmdlist_to_inuse(g2d_priv, node); exynos_g2d_set_cmdlist_ioctl()
1237 struct exynos_drm_g2d_private *g2d_priv = file_priv->g2d_priv; exynos_g2d_exec_ioctl() local
1245 if (!g2d_priv) exynos_g2d_exec_ioctl()
1248 dev = g2d_priv->dev; exynos_g2d_exec_ioctl()
1268 list_splice_init(&g2d_priv->inuse_cmdlist, run_cmdlist); exynos_g2d_exec_ioctl()
1269 list_splice_init(&g2d_priv->event_list, event_list); exynos_g2d_exec_ioctl()
1330 struct exynos_drm_g2d_private *g2d_priv; g2d_open() local
1332 g2d_priv = kzalloc(sizeof(*g2d_priv), GFP_KERNEL); g2d_open()
1333 if (!g2d_priv) g2d_open()
1336 g2d_priv->dev = dev; g2d_open()
1337 file_priv->g2d_priv = g2d_priv; g2d_open()
1339 INIT_LIST_HEAD(&g2d_priv->inuse_cmdlist); g2d_open()
1340 INIT_LIST_HEAD(&g2d_priv->event_list); g2d_open()
1341 INIT_LIST_HEAD(&g2d_priv->userptr_list); g2d_open()
1350 struct exynos_drm_g2d_private *g2d_priv = file_priv->g2d_priv; g2d_close() local
1362 list_for_each_entry_safe(node, n, &g2d_priv->inuse_cmdlist, list) { g2d_close()
1378 kfree(file_priv->g2d_priv); g2d_close()
H A Dexynos_drm_drv.h164 struct exynos_drm_g2d_private *g2d_priv; member in struct:drm_exynos_file_private

Completed in 81 milliseconds