[PATCH v3 0/5] GEM CMA DMA-BUF support

Laurent Pinchart laurent.pinchart+renesas at ideasonboard.com
Fri Jun 7 02:44:11 PDT 2013


Hello,

Here's the third version of the GEM CMA DMA-BUF support patches. Changes
compared to the previous version are minimal, there will hopefully not be any
need for a v4.

The code is based on the Exynos DRM DMA-BUF implementation. The exporter role
has been successfully tested with the Renesas R-Car DU driver.

Rob, could you please ack 5/5 ? Dave, could we then get the patches in v3.11 ?

Changes since v2:

- Removed #if CONFIG_DMA_SHARED_BUFFER
- Picked up Reviewed-by and Acked-by tags from the mailing list

Changes since v1:

- Added a mixing sg_free_table() in drm_gem_cma_dmabuf_map()
- Implement drm_gem_cma_dmabuf_mmap()

Laurent Pinchart (5):
  drm/gem: Split drm_gem_mmap() into object search and object mapping
  drm/omap: Use drm_gem_mmap_obj() to implement dma-buf mmap
  drm: GEM CMA: Split object creation into object alloc and DMA memory
    alloc
  drm: GEM CMA: Split object mapping into GEM mapping and CMA mapping
  drm: GEM CMA: Add DRM PRIME support

 drivers/gpu/drm/drm_gem.c                 |  83 +++---
 drivers/gpu/drm/drm_gem_cma_helper.c      | 404 +++++++++++++++++++++++++++---
 drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c |  32 +--
 include/drm/drmP.h                        |   2 +
 include/drm/drm_gem_cma_helper.h          |   9 +
 5 files changed, 434 insertions(+), 96 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list