[PATCHv10 18/26] v4l: add buffer exporting via dmabuf

Hans Verkuil hverkuil at xs4all.nl
Mon Oct 15 01:01:17 PDT 2012


On Wed October 10 2012 16:46:37 Tomasz Stanislawski wrote:
> This patch adds extension to V4L2 api. It allow to export a mmap buffer as file
> descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer offset used by
> mmap and return a file descriptor on success.
> 
> Signed-off-by: Tomasz Stanislawski <t.stanislaws at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  drivers/media/v4l2-core/v4l2-compat-ioctl32.c |    1 +
>  drivers/media/v4l2-core/v4l2-dev.c            |    1 +
>  drivers/media/v4l2-core/v4l2-ioctl.c          |   10 +++++++++
>  include/linux/videodev2.h                     |   28 +++++++++++++++++++++++++
>  include/media/v4l2-ioctl.h                    |    2 ++
>  5 files changed, 42 insertions(+)

Acked-by: Hans Verkuil <hans.verkuil at cisco.com>


More information about the dri-devel mailing list