[Linaro-mm-sig] [PATCH] gpu: drm: Add helpers to allow export gem cma objects

2013-10-19 Thread Benjamin Gaignard
I realize that this patch (done for 3.10) is deprecated because there is something similar that has been push on 3.12. Anyway the question about how/where set O_RDWR dma_buf_export is valid. Your advice are welcome. Benjamin 2013/10/19 Daniel Vetter : > On Fri, Oct 18, 2013 at 11:00:57AM +0200,

[Linaro-mm-sig] [PATCH] gpu: drm: Add helpers to allow export gem cma objects

2013-10-19 Thread Daniel Vetter
On Fri, Oct 18, 2013 at 11:00:57AM +0200, benjamin.gaignard at linaro.org wrote: > From: Benjamin Gaignard > > DRM already offer helpers to use CMA for dumb buffers. > This patch add helpers to export/import gem_cam objects and allow them to be > mmap from userland. > The goal is to make working

[PATCH] gpu: drm: Add helpers to allow export gem cma objects

2013-10-18 Thread benjamin.gaign...@linaro.org
From: Benjamin Gaignard DRM already offer helpers to use CMA for dumb buffers. This patch add helpers to export/import gem_cam objects and allow them to be mmap from userland. The goal is to make working this kind of sequence: create_dumb, get fd from buffer handle and then use fd (maybe in anot