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

Rob Clark robdclark at gmail.com
Tue Mar 27 08:48:06 PDT 2012


On Tue, Mar 27, 2012 at 6:46 AM, Daniel Vetter <daniel at ffwll.ch> wrote:
> 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>

Reviewed-by: Rob Clark <rob.clark at linaro.org>



> --
> Daniel Vetter
> Mail: daniel at ffwll.ch
> Mobile: +41 (0)79 365 57 48
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list