Searched refs:exynos_gem (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.c | 24 static int exynos_drm_alloc_buf(struct exynos_drm_gem *exynos_gem) in exynos_drm_alloc_buf() argument 26 struct drm_device *dev = exynos_gem->base.dev; in exynos_drm_alloc_buf() 32 if (exynos_gem->dma_addr) { in exynos_drm_alloc_buf() 37 exynos_gem->dma_attrs = 0; in exynos_drm_alloc_buf() 44 if (!(exynos_gem->flags & EXYNOS_BO_NONCONTIG)) in exynos_drm_alloc_buf() 45 exynos_gem->dma_attrs |= DMA_ATTR_FORCE_CONTIGUOUS; in exynos_drm_alloc_buf() 51 if (exynos_gem->flags & EXYNOS_BO_WC || in exynos_drm_alloc_buf() 52 !(exynos_gem->flags & EXYNOS_BO_CACHABLE)) in exynos_drm_alloc_buf() 57 exynos_gem->dma_attrs |= attr; in exynos_drm_alloc_buf() 58 exynos_gem->dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING; in exynos_drm_alloc_buf() [all …]
|
D | exynos_drm_fbdev.c | 36 struct exynos_drm_gem *exynos_gem; member 44 struct exynos_drm_gem *exynos_gem = exynos_fbd->exynos_gem; in exynos_drm_fb_mmap() local 52 if (vm_size > exynos_gem->size) in exynos_drm_fb_mmap() 55 ret = dma_mmap_attrs(to_dma_dev(helper->dev), vma, exynos_gem->cookie, in exynos_drm_fb_mmap() 56 exynos_gem->dma_addr, exynos_gem->size, in exynos_drm_fb_mmap() 57 exynos_gem->dma_attrs); in exynos_drm_fb_mmap() 77 struct exynos_drm_gem *exynos_gem) in exynos_drm_fbdev_update() argument 98 nr_pages = exynos_gem->size >> PAGE_SHIFT; in exynos_drm_fbdev_update() 100 exynos_gem->kvaddr = (void __iomem *) vmap(exynos_gem->pages, nr_pages, in exynos_drm_fbdev_update() 102 if (!exynos_gem->kvaddr) { in exynos_drm_fbdev_update() [all …]
|
D | exynos_drm_fb.c | 31 struct exynos_drm_gem *exynos_gem) in check_fb_gem_memory_type() argument 42 flags = exynos_gem->flags; in check_fb_gem_memory_type() 64 struct exynos_drm_gem **exynos_gem, in exynos_drm_framebuffer_init() argument 76 ret = check_fb_gem_memory_type(dev, exynos_gem[i]); in exynos_drm_framebuffer_init() 80 fb->obj[i] = &exynos_gem[i]->base; in exynos_drm_framebuffer_init() 103 struct exynos_drm_gem *exynos_gem[MAX_FB_BUFFER]; in exynos_user_fb_create() local 114 exynos_gem[i] = exynos_drm_gem_get(file_priv, in exynos_user_fb_create() 116 if (!exynos_gem[i]) { in exynos_user_fb_create() 122 if (size > exynos_gem[i]->size) { in exynos_user_fb_create() 129 fb = exynos_drm_framebuffer_init(dev, mode_cmd, exynos_gem, i); in exynos_user_fb_create() [all …]
|
D | exynos_drm_gem.h | 60 void exynos_drm_gem_destroy(struct exynos_drm_gem *exynos_gem); 91 static inline void exynos_drm_gem_put(struct exynos_drm_gem *exynos_gem) in exynos_drm_gem_put() argument 93 drm_gem_object_put_unlocked(&exynos_gem->base); in exynos_drm_gem_put()
|
D | exynos_drm_fb.h | 22 struct exynos_drm_gem **exynos_gem,
|
D | exynos_drm_ipp.c | 359 buf->exynos_gem[i] = gem; in exynos_drm_ipp_task_setup_buffer() 361 if (size + buf->buf.offset[i] > buf->exynos_gem[i]->size) { in exynos_drm_ipp_task_setup_buffer() 366 buf->dma_addr[i] = buf->exynos_gem[i]->dma_addr + in exynos_drm_ipp_task_setup_buffer() 373 exynos_drm_gem_put(buf->exynos_gem[i]); in exynos_drm_ipp_task_setup_buffer() 374 buf->exynos_gem[i] = NULL; in exynos_drm_ipp_task_setup_buffer() 383 if (!buf->exynos_gem[0]) in exynos_drm_ipp_task_release_buf() 386 exynos_drm_gem_put(buf->exynos_gem[i]); in exynos_drm_ipp_task_release_buf()
|
D | exynos_drm_g2d.c | 714 struct exynos_drm_gem *exynos_gem; in g2d_map_cmdlist_gem() local 716 exynos_gem = exynos_drm_gem_get(file, handle); in g2d_map_cmdlist_gem() 717 if (!exynos_gem) { in g2d_map_cmdlist_gem() 723 reg_type, exynos_gem->size)) { in g2d_map_cmdlist_gem() 724 exynos_drm_gem_put(exynos_gem); in g2d_map_cmdlist_gem() 729 addr = &exynos_gem->dma_addr; in g2d_map_cmdlist_gem() 730 buf_info->obj[reg_type] = exynos_gem; in g2d_map_cmdlist_gem()
|
D | exynos_drm_ipp.h | 78 struct exynos_drm_gem *exynos_gem[MAX_FB_BUFFER]; member
|