[Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

Daniel Vetter daniel at ffwll.ch
Tue Mar 27 04:46:39 PDT 2012


On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> This adds the basic drm dma-buf interface layer, called PRIME,
> 
> The main APIs exposed to userspace allow translating a 32-bit object handle
> to a file descriptor, and a file descriptor to a 32-bit object handle.
> 
> The flags value is currently limited to O_CLOEXEC.
> 
> Acknowledgements:
> Daniel Vetter: lots of review
> Rob Clark: cleaned up lots of the internals and did lifetime review.
> 
> v2: rename some functions after Chris preferred a green shed
> fix IS_ERR_OR_NULL -> IS_ERR
> v3: Fix Ville pointed out using buffer + kmalloc
> v4: add locking as per ickle review
> v5: allow re-exporting the original dma-buf (Daniel)
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>

With the little comment about self-importing we've discussed on irc added,
this is:

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48


More information about the dri-devel mailing list