anyone knows which kernel version supports dma_buf for v4l2src?

Sebastian Dröge sebastian at centricular.com
Thu Dec 5 01:38:21 PST 2013


On Do, 2013-12-05 at 09:36 +0000, Zhao, Halley wrote:
> Thanks Dröge.
> I use Ubuntu13.10 kernel (3.11) with USB camera.
> 
> Refer to https://bugzilla.gnome.org/show_bug.cgi?id=699337 
> 1. I think my kernel and uvc driver supports dma_buffer.
> 	It also works when I queue (VIDIOC_QBUF) an external dma_buf fd (from drm). It is an alternative way for USER_PTR, right?

Yes, it's a general interface to allow passing arbitrary memory handles
between different devices.

> 2. does it mean UVC driver support importing external dma buf only, while not able to export dma_buf? or said not support the way like MMAP.

That's possible, yes.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131205/fb0b406e/attachment.pgp>


More information about the gstreamer-devel mailing list