summaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/videobuf-core.c
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@ti.com>2012-06-14 10:37:37 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-11-25 17:11:12 -0200
commitc538404869b69db543ce23cf041192c192a65330 (patch)
tree9566b4a8e2472a8ed17bb99674dec4bb6f48a688 /drivers/media/v4l2-core/videobuf-core.c
parent4b9c1cb641c466cd3b366132017da3c8ab9d540c (diff)
[media] v4l: vb2: add support for shared buffer (dma_buf)
This patch adds support for DMABUF memory type in videobuf2. It calls relevant APIs of dma_buf for v4l reqbuf / qbuf / dqbuf operations. For this version, the support is for videobuf2 as a user of the shared buffer; so the allocation of the buffer is done outside of V4L2. [A sample allocator of dma-buf shared buffer is given at [1]] [1]: Rob Clark's DRM: https://github.com/robclark/kernel-omap4/commits/drmplane-dmabuf [original work in the PoC for buffer sharing] Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Signed-off-by: Sumit Semwal <sumit.semwal@ti.com> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Tested-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/v4l2-core/videobuf-core.c')
0 files changed, 0 insertions, 0 deletions