Home
last modified time | relevance | path

Searched refs:suballoc (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_cmdbuf.c33 struct etnaviv_cmdbuf_suballoc *suballoc; in etnaviv_cmdbuf_suballoc_new() local
36 suballoc = kzalloc_obj(*suballoc); in etnaviv_cmdbuf_suballoc_new()
37 if (!suballoc) in etnaviv_cmdbuf_suballoc_new()
40 suballoc->dev = dev; in etnaviv_cmdbuf_suballoc_new()
41 mutex_init(&suballoc->lock); in etnaviv_cmdbuf_suballoc_new()
42 init_waitqueue_head(&suballoc->free_event); in etnaviv_cmdbuf_suballoc_new()
45 suballoc->vaddr = dma_alloc_wc(dev, SUBALLOC_SIZE, in etnaviv_cmdbuf_suballoc_new()
46 &suballoc->paddr, GFP_KERNEL); in etnaviv_cmdbuf_suballoc_new()
47 if (!suballoc->vaddr) { in etnaviv_cmdbuf_suballoc_new()
52 return suballoc; in etnaviv_cmdbuf_suballoc_new()
[all …]
H A Detnaviv_cmdbuf.h19 struct etnaviv_cmdbuf_suballoc *suballoc; member
29 void etnaviv_cmdbuf_suballoc_destroy(struct etnaviv_cmdbuf_suballoc *suballoc);
30 int etnaviv_cmdbuf_suballoc_map(struct etnaviv_cmdbuf_suballoc *suballoc,
38 int etnaviv_cmdbuf_init(struct etnaviv_cmdbuf_suballoc *suballoc,
H A Detnaviv_mmu.c357 struct etnaviv_cmdbuf_suballoc *suballoc) in etnaviv_iommu_context_init() argument
370 ret = etnaviv_cmdbuf_suballoc_map(suballoc, ctx, &ctx->cmdbuf_mapping, in etnaviv_iommu_context_init()
H A Detnaviv_gem_submit.c364 if (submit->cmdbuf.suballoc) in submit_cleanup()
/linux/fs/ocfs2/
H A DMakefile35 suballoc.o \