On 12 April 2012 15:55, Mauro Carvalho Chehab mche...@redhat.com wrote:
Em 12-04-2012 05:04, James Courtier-Dutton escreveu:
6) Add a #if #endif around the old API, so a user compiling their own
kernel can decide if the old API exists or not. User might want to do
this for security reasons.
Hi Hans,
Le 04/13/12 07:03, Hans Verkuil a écrit :
You both hit the main problem of the CEC support: how to implement the API.
Well, the API that I propose here [1] is quite simple:
- a kernel-side API for defining CEC adapters drivers
- a character device with an ioctl() control path and
Hi
Just confirming, that the 3 outstanding ARM patches, that I mentioned in
recent emails:
http://article.gmane.org/gmane.linux.kernel.mmc/12748
http://article.gmane.org/gmane.linux.ports.sh.devel/13535
http://article.gmane.org/gmane.linux.ports.sh.devel/13975
still apply to the current Linus'
Hello everyone,
This patchset adds support for DMABUF [2] importing to V4L2 stack.
The support for DMABUF exporting was moved to separate patchset
due to dependency on patches for DMA mapping redesign by
Marek Szyprowski [4].
v4:
- rebased on mainline 3.4-rc2
- included missing importing support
From: Sumit Semwal sumit.sem...@ti.com
Adds DMABUF memory type to v4l framework. Also adds the related file
descriptor in v4l2_plane and v4l2_buffer.
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com
[original work in the PoC for buffer sharing]
Signed-off-by: Sumit Semwal
From: Laurent Pinchart laurent.pinch...@ideasonboard.com
Group functions by buffer type.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
drivers/media/video/videobuf2-dma-contig.c | 92 ---
1 files changed, 54 insertions(+), 38 deletions(-)
diff
From: Sumit Semwal sumit.sem...@ti.com
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
vb2-dma-contig returns a vb2_dc_conf structure instance as the vb2
allocation context. That structure only stores a pointer to the physical
device. Remove it and use the device pointer directly as the allocation
context.
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com
---
The DMABUF documentation says that the map_dma_buf callback should return
scatterlist that is mapped into a caller's address space. In practice, almost
none of existing implementations of DMABUF exporter does it. This patch breaks
the DMABUF specification in order to allow exchange DMABUF buffers
From: Andrzej Pietrasiewicz andrze...@samsung.com
This patch introduces usage of dma_map_sg to map memory behind
a userspace pointer to a device as dma-contiguous mapping.
Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com
Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com
From: Sumit Semwal sumit.sem...@ti.com
This patch makes changes for adding dma-contig as a dma_buf user. It provides
function implementations for the {attach, detach, map, unmap}_dmabuf()
mem_ops of DMABUF memory type.
Signed-off-by: Sumit Semwal sumit.sem...@ti.com
Signed-off-by: Sumit Semwal
This patch enhances s5p-tv with support for DMABUF importing via
V4L2_MEMORY_DMABUF memory type.
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/media/video/s5p-tv/Kconfig |1 +
From: Marek Szyprowski m.szyprow...@samsung.com
Add prepare/finish callbacks to vb2-dma-contig allocator.
Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com
---
drivers/media/video/videobuf2-dma-contig.c | 24
1 files changed, 24 insertions(+), 0 deletions(-)
From: Marek Szyprowski m.szyprow...@samsung.com
This patch adds support for prepare/finish callbacks in VB2 allocators. These
callback are used for buffer flushing.
Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com
---
drivers/media/video/videobuf2-core.c | 11 +++
This patch enhances s5p-fimc with support for DMABUF importing via
V4L2_MEMORY_DMABUF memory type.
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/media/video/Kconfig |1 +
From: Sumit Semwal sumit.sem...@ti.com
Adding DMABUF memory type causes videobuf to complain about not using it
in some switch cases. This patch removes these warnings.
Signed-off-by: Sumit Semwal sumit.sem...@ti.com
---
drivers/media/video/videobuf-core.c |4
1 files changed, 4
From: Laurent Pinchart laurent.pinch...@ideasonboard.com
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
drivers/media/video/videobuf2-dma-contig.c | 36 ++--
1 files changed, 18 insertions(+), 18 deletions(-)
diff --git
This patch adds description and usage examples for importing
DMABUF file descriptor in V4L2.
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
Documentation/DocBook/media/v4l/compat.xml |4 +
Hi,
From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
Sent: 10 April 2012 11:51
v4l: added V4L2_BUF_FLAG_EOS flag indicating the last frame in the stream
Some devices requires indicator if the buffer is the last one in the
stream.
Applications and drivers can use this flag in
This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.
Results of the daily build of media_tree:
date:Fri Apr 13 19:00:17 CEST 2012
git hash:f4d4e7656b26a6013bc5072c946920d2e2c44e8e
gcc version: i686-linux-gcc
Hi!
I get compile errors when trying to build media_build as of 2012-04-13.
/home/mythfrontend/media_build/v4l/ivtv-fileops.c: In function
'ivtv_v4l2_enc_poll':
/home/mythfrontend/media_build/v4l/ivtv-fileops.c:751:2: error: implicit
declaration of function 'poll_requested_events'
Hi Sakari,
Thanks for the patch.
On Thursday 12 April 2012 11:41:35 Sakari Ailus wrote:
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi
Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
and applied to my tree.
---
yavta.c |3 +++
1 files changed, 3 insertions(+), 0
Roger Mårtensson roger.martens...@gmail.com wrote:
Hi!
I get compile errors when trying to build media_build as of 2012-04-13.
/home/mythfrontend/media_build/v4l/ivtv-fileops.c: In function
'ivtv_v4l2_enc_poll':
/home/mythfrontend/media_build/v4l/ivtv-fileops.c:751:2: error:
implicit
Hi Sakari,
Thanks for the patch.
The code looks fine, but unfortunately breaks compilation when using kernel
headers v3.5 (which is a pretty common case as of today ;-)).
V4L2_CTRL_TYPE_INTEGER_MENU is an enumerated value, not a pre-processor
#define, so it's difficult to test for it using
Le vendredi 13 avril 2012 22:47:14 Laurent Pinchart, vous avez écrit :
Hi Sakari,
Thanks for the patch.
The code looks fine, but unfortunately breaks compilation when using kernel
headers v3.5 (which is a pretty common case as of today ;-)).
V4L2_CTRL_TYPE_INTEGER_MENU is an enumerated
Hi Laurent,
Thanks for the comments.
Laurent Pinchart wrote:
Hi Sakari,
Thanks for the patch.
The code looks fine, but unfortunately breaks compilation when using kernel
headers v3.5 (which is a pretty common case as of today ;-)).
V4L2_CTRL_TYPE_INTEGER_MENU is an enumerated value, not a
Laurent Pinchart wrote:
Hi Sakari,
Thanks for the patch.
On Thursday 12 April 2012 11:41:35 Sakari Ailus wrote:
Signed-off-by: Sakari Ailussakari.ai...@iki.fi
Acked-by: Laurent Pinchartlaurent.pinch...@ideasonboard.com
and applied to my tree.
Thanks!!!
--
Sakari Ailus
Fall back to regular S_CTRL / G_CTRL if extended controls aren't available.
Also don't try to get value for classes.
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi
---
yavta.c | 130 --
1 files changed, 100 insertions(+), 30
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi
---
yavta.c | 18 +++---
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/yavta.c b/yavta.c
index 541aa1c..e649ac5 100644
--- a/yavta.c
+++ b/yavta.c
@@ -567,19 +567,22 @@ static int video_enable(struct device *dev, int
29 matches
Mail list logo