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

/linux-4.4.14/drivers/gpu/drm/exynos/
H A Dexynos_drm_g2d.c241 struct g2d_runqueue_node *runqueue_node; member in struct:g2d_data
802 struct g2d_runqueue_node *runqueue_node) g2d_dma_start()
805 list_first_entry(&runqueue_node->run_cmdlist, g2d_dma_start()
819 struct g2d_runqueue_node *runqueue_node; g2d_get_runqueue_node() local
824 runqueue_node = list_first_entry(&g2d->runqueue, g2d_get_runqueue_node()
826 list_del_init(&runqueue_node->list); g2d_get_runqueue_node()
827 return runqueue_node; g2d_get_runqueue_node()
831 struct g2d_runqueue_node *runqueue_node) g2d_free_runqueue_node()
835 if (!runqueue_node) g2d_free_runqueue_node()
843 list_for_each_entry(node, &runqueue_node->run_cmdlist, list) g2d_free_runqueue_node()
844 g2d_unmap_cmdlist_gem(g2d, node, runqueue_node->filp); g2d_free_runqueue_node()
845 list_splice_tail_init(&runqueue_node->run_cmdlist, &g2d->free_cmdlist); g2d_free_runqueue_node()
848 kmem_cache_free(g2d->runqueue_slab, runqueue_node); g2d_free_runqueue_node()
853 g2d->runqueue_node = g2d_get_runqueue_node(g2d); g2d_exec_runqueue()
854 if (g2d->runqueue_node) g2d_exec_runqueue()
855 g2d_dma_start(g2d, g2d->runqueue_node); g2d_exec_runqueue()
866 complete(&g2d->runqueue_node->complete); g2d_runqueue_worker()
867 if (g2d->runqueue_node->async) g2d_runqueue_worker()
868 g2d_free_runqueue_node(g2d, g2d->runqueue_node); g2d_runqueue_worker()
871 g2d->runqueue_node = NULL; g2d_runqueue_worker()
880 struct g2d_runqueue_node *runqueue_node = g2d->runqueue_node; g2d_finish_event() local
885 if (list_empty(&runqueue_node->event_list)) g2d_finish_event()
888 e = list_first_entry(&runqueue_node->event_list, g2d_finish_event()
1241 struct g2d_runqueue_node *runqueue_node; exynos_g2d_exec_ioctl() local
1256 runqueue_node = kmem_cache_alloc(g2d->runqueue_slab, GFP_KERNEL); exynos_g2d_exec_ioctl()
1257 if (!runqueue_node) { exynos_g2d_exec_ioctl()
1261 run_cmdlist = &runqueue_node->run_cmdlist; exynos_g2d_exec_ioctl()
1262 event_list = &runqueue_node->event_list; exynos_g2d_exec_ioctl()
1265 init_completion(&runqueue_node->complete); exynos_g2d_exec_ioctl()
1266 runqueue_node->async = req->async; exynos_g2d_exec_ioctl()
1273 kmem_cache_free(g2d->runqueue_slab, runqueue_node); exynos_g2d_exec_ioctl()
1278 runqueue_node->pid = current->pid; exynos_g2d_exec_ioctl()
1279 runqueue_node->filp = file; exynos_g2d_exec_ioctl()
1280 list_add_tail(&runqueue_node->list, &g2d->runqueue); exynos_g2d_exec_ioctl()
1281 if (!g2d->runqueue_node) exynos_g2d_exec_ioctl()
1285 if (runqueue_node->async) exynos_g2d_exec_ioctl()
1288 wait_for_completion(&runqueue_node->complete); exynos_g2d_exec_ioctl()
1289 g2d_free_runqueue_node(g2d, runqueue_node); exynos_g2d_exec_ioctl()
1483 while (g2d->runqueue_node) { g2d_remove()
1484 g2d_free_runqueue_node(g2d, g2d->runqueue_node); g2d_remove()
1485 g2d->runqueue_node = g2d_get_runqueue_node(g2d); g2d_remove()
1506 while (g2d->runqueue_node) g2d_suspend()
801 g2d_dma_start(struct g2d_data *g2d, struct g2d_runqueue_node *runqueue_node) g2d_dma_start() argument
830 g2d_free_runqueue_node(struct g2d_data *g2d, struct g2d_runqueue_node *runqueue_node) g2d_free_runqueue_node() argument

Completed in 103 milliseconds