diff options
author | Sumit Semwal <sumit.semwal@ti.com> | 2012-06-14 10:37:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-11-25 17:11:12 -0200 |
commit | c538404869b69db543ce23cf041192c192a65330 (patch) | |
tree | 9566b4a8e2472a8ed17bb99674dec4bb6f48a688 /kernel/rcutree_plugin.h | |
parent | 4b9c1cb641c466cd3b366132017da3c8ab9d540c (diff) | |
download | kernel_goldelico_gta04-c538404869b69db543ce23cf041192c192a65330.zip kernel_goldelico_gta04-c538404869b69db543ce23cf041192c192a65330.tar.gz kernel_goldelico_gta04-c538404869b69db543ce23cf041192c192a65330.tar.bz2 |
[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 'kernel/rcutree_plugin.h')
0 files changed, 0 insertions, 0 deletions