Hello, This two patches add support for GEM CMA objects import and export as dma-buf file handles.
There's not much to be added about the patches themselves, they're pretty self-explicit. 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. Laurent Pinchart (2): drm: GEM CMA: Split object creation into object alloc and DMA memory alloc drm: GEM CMA: Add DRM PRIME support drivers/gpu/drm/drm_gem_cma_helper.c | 376 ++++++++++++++++++++++++++++++++--- include/drm/drm_gem_cma_helper.h | 9 + 2 files changed, 356 insertions(+), 29 deletions(-) -- Regards, Laurent Pinchart