Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c382 struct g2d_cmdlist_userptr *g2d_userptr = obj; in g2d_userptr_put_dma_addr() local
390 refcount_dec(&g2d_userptr->refcount); in g2d_userptr_put_dma_addr()
392 if (refcount_read(&g2d_userptr->refcount) > 0) in g2d_userptr_put_dma_addr()
395 if (g2d_userptr->in_pool) in g2d_userptr_put_dma_addr()
399 dma_unmap_sgtable(to_dma_dev(g2d->drm_dev), g2d_userptr->sgt, in g2d_userptr_put_dma_addr()
402 unpin_user_pages_dirty_lock(g2d_userptr->pages, g2d_userptr->npages, in g2d_userptr_put_dma_addr()
404 kvfree(g2d_userptr->pages); in g2d_userptr_put_dma_addr()
406 if (!g2d_userptr->out_of_list) in g2d_userptr_put_dma_addr()
407 list_del_init(&g2d_userptr->list); in g2d_userptr_put_dma_addr()
409 sg_free_table(g2d_userptr->sgt); in g2d_userptr_put_dma_addr()
[all …]