Searched refs:g2d_userptr (Results 1 – 1 of 1) sorted by relevance
379 struct g2d_cmdlist_userptr *g2d_userptr = obj; in g2d_userptr_put_dma_addr() local388 atomic_dec(&g2d_userptr->refcount); in g2d_userptr_put_dma_addr()390 if (atomic_read(&g2d_userptr->refcount) > 0) in g2d_userptr_put_dma_addr()393 if (g2d_userptr->in_pool) in g2d_userptr_put_dma_addr()397 dma_unmap_sg(to_dma_dev(g2d->drm_dev), g2d_userptr->sgt->sgl, in g2d_userptr_put_dma_addr()398 g2d_userptr->sgt->nents, DMA_BIDIRECTIONAL); in g2d_userptr_put_dma_addr()400 pages = frame_vector_pages(g2d_userptr->vec); in g2d_userptr_put_dma_addr()404 for (i = 0; i < frame_vector_count(g2d_userptr->vec); i++) in g2d_userptr_put_dma_addr()407 put_vaddr_frames(g2d_userptr->vec); in g2d_userptr_put_dma_addr()408 frame_vector_destroy(g2d_userptr->vec); in g2d_userptr_put_dma_addr()[all …]