Re: ASUS U3100 Mini

2012-04-10 Thread Oliver Schinagl
Unfortunatly I am not familiar with the dib0700 device, so not sure if you need firmware (I assume so, check linuxtv wiki on any dib0700 device. To test the device in its most basic level, I think w_scan is the best bet, as it works without any other extra files. Oliver On 07-04-12 23:32,

[RFC/PATCH] v4l: added V4L2_BUF_FLAG_EOS flag indicating the last frame in the stream

2012-04-10 Thread Andrzej Hajda
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 such case. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 2/3] v4l: vb2-vmalloc: add support for dmabuf importing

2012-04-10 Thread Tomasz Stanislawski
This patch adds support for importing DMABUF files for vmalloc allocator in Videobuf2. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-vmalloc.c | 56 +++ 1 files

[PATCH 0/3] Integration of vb2-vmalloc and VIVI with dmabuf

2012-04-10 Thread Tomasz Stanislawski
Hello everyone, The patcheset adds support for DMABUF [1] importing to vmalloc allocator in videobuf2 stack. This is an incremental patch to 'Integration of videobuf2 with dmabuf' patchset [2]. This patch makes use of vmap extension for dmabuf proposed by Dave Airlie [3]. The vmap was preferred

[PATCH 3/3] v4l: vivi: support for dmabuf importing

2012-04-10 Thread Tomasz Stanislawski
This patch enhances VIVI driver with a support for importing a buffer from DMABUF file descriptors. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/Kconfig |1 + drivers/media/video/vivi.c |2 +-

[PATCH 1/3] dma-buf: add vmap interface

2012-04-10 Thread Tomasz Stanislawski
From: Dave Airlie airl...@redhat.com Add vmap to dmabuf interface. Signed-off-by: Dave Airlie airl...@redhat.com --- drivers/base/dma-buf.c | 29 + include/linux/dma-buf.h | 16 2 files changed, 45 insertions(+), 0 deletions(-) diff --git

Re: mx3fb overlay support

2012-04-10 Thread Guennadi Liakhovetski
Hi Alex On Tue, 10 Apr 2012, alex gershgorin wrote: Hi Guennadi, In mx3fb current version overlay does not supporting, I came across a patch 3/4 v4 i.MX31: framebuffer driver that you submitted in 2008, there was support Overlay, but for some reason in the next versions overlay support

[RFC 07/13] v4l: vb2-dma-contig: change map/unmap behaviour for importers

2012-04-10 Thread Tomasz Stanislawski
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

[RFC 06/13] v4l: vb2-dma-contig: add vmap/kmap for dmabuf exporting

2012-04-10 Thread Tomasz Stanislawski
This patch adds support for vmap and kmap callbacks for DMABUF exporter. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 17 + 1 files changed, 17 insertions(+),

[RFC 01/13] v4l: add buffer exporting via dmabuf

2012-04-10 Thread Tomasz Stanislawski
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.stanisl...@samsung.com Signed-off-by: Kyungmin Park

[RFC 00/13] Support for dmabuf exporting for videobuf2

2012-04-10 Thread Tomasz Stanislawski
Hello everyone, The patches adds support for DMABUF [1] exporting to V4L2 stack. It was updated from [7] after Laurent Pinchart's review. The previous patchset was split into two parts. The support for DMABUF importing was posted in [2]. The exporter part is dependant on DMA mapping redesign

[RFC 03/13] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-04-10 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Let mmap method to use dma_mmap_coherent call. This patch depends on DMA mapping redesign patches because the usage of dma_mmap_coherent breaks dma-contig allocator for architectures other than ARM and AVR. Signed-off-by: Marek Szyprowski

[RFC 02/13] v4l: vb2: add buffer exporting via dmabuf

2012-04-10 Thread Tomasz Stanislawski
This patch adds extension to videobuf2-core. It allow to export a mmap buffer as a file descriptor. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-core.c | 66

[RFC 10/13] v4l: s5p-tv: mixer: support for dmabuf exporting

2012-04-10 Thread Tomasz Stanislawski
This patch enhances s5p-tv with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-tv/mixer_video.c | 10 ++ 1 files changed, 10

[RFC 09/13] v4l: s5p-tv: mixer: support for dmabuf importing

2012-04-10 Thread Tomasz Stanislawski
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 +

[RFC 05/13] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-04-10 Thread Tomasz Stanislawski
This patch adds support for exporting a dma-contig buffer using DMABUF interface. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 128 1 files

[RFC 11/13] v4l: fimc: support for dmabuf importing

2012-04-10 Thread Tomasz Stanislawski
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 +

[RFC 12/13] v4l: fimc: support for dmabuf exporting

2012-04-10 Thread Tomasz Stanislawski
This patch enhances s5p-fimc with support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c |9 + 1 files changed, 9

[RFC 13/13] v4l: vivi: support for dmabuf exporting

2012-04-10 Thread Tomasz Stanislawski
This patch enhances vivi driver with a support for DMABUF exporting via VIDIOC_EXPBUF ioctl. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/vivi.c |9 + 1 files changed, 9 insertions(+), 0

[RFC 04/13] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-04-10 Thread Tomasz Stanislawski
This patch adds the setup of sglist list for MMAP buffers. It is needed for buffer exporting via DMABUF mechanism. This patch depends on dma_get_pages extension to DMA api. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[RFC 08/13] v4l: vb2-dma-contig: change map/unmap behaviour for exporters

2012-04-10 Thread Tomasz Stanislawski
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

Re: [PATCHv24 00/16] Contiguous Memory Allocator

2012-04-10 Thread Aaro Koskinen
Hi, On Tue, 3 Apr 2012, Marek Szyprowski wrote: This is (yet another) update of CMA patches. How well CMA is supposed to work if you have mlocked processes? I've been testing these patches, and noticed that by creating a small mlocked process you start to get plenty of test_pages_isolated()

Re: Initial tuning data for nl-UPC

2012-04-10 Thread Christoph Pfister
Added, thanks. Christoph Am 1. April 2012 10:29 schrieb Jens Peters jp7...@gmail.com: Hello there, Here is the initial tuning data for another Dutch cable provider: nl-UPC I had placed below content into /usr/share/dvb/dvb-c/nl-UPC. Regards, Jens -- # Initial

Re: Unknown eMPIA tuner

2012-04-10 Thread Stefan Monnier
I just got a USB tuner (HD TV ATSC USB stick) which lsusb describes as ID eb1a: eMPIA Technology, Inc. and was wondering how to try to get it working. Would the em28xx driver be able to handle it?  If so, how should I modify it to try it out? You would probably have to start by taking it

Re: Unknown eMPIA tuner

2012-04-10 Thread Devin Heitmueller
On Tue, Apr 10, 2012 at 11:24 AM, Stefan Monnier monn...@iro.umontreal.ca wrote: I just got a USB tuner (HD TV ATSC USB stick) which lsusb describes as ID eb1a: eMPIA Technology, Inc. and was wondering how to try to get it working. Would the em28xx driver be able to handle it?  If so, how

Test application for DMABUF sharing between V4L2 and DRM

2012-04-10 Thread Tomasz Stanislawski
Hi Everyone, This email contains a test application showing DMABUF sharing between DRM/KMS display and capture node including VIVI. It shows a simple preview on LCD display. The similar application was posted in thread: http://thread.gmane.org/gmane.comp.video.dri.devel/65997 This version makes

Re: [PATCHv24 00/16] Contiguous Memory Allocator

2012-04-10 Thread Sandeep Patil
This is (yet another) update of CMA patches. How well CMA is supposed to work if you have mlocked processes? I've been testing these patches, and noticed that by creating a small mlocked process you start to get plenty of test_pages_isolated() failure warnings, and bigger allocations will

cron job: media_tree daily build: WARNINGS

2012-04-10 Thread Hans Verkuil
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:Tue Apr 10 19:00:24 CEST 2012 git hash:976a87b9ce3172065e21f0d136353a01df06d0d6 gcc version: i686-linux-gcc

Re: [GIT PULL FOR v3.5] V4L2 subdev and sensor control changes and SMIA++ driver

2012-04-10 Thread Mauro Carvalho Chehab
Em 02-04-2012 13:26, Sakari Ailus escreveu: Hi Mauro, This patchset adds - Integer menu controls, - Selection IOCTL for subdevs, - Sensor control improvements, - link_validate() media entity and V4L2 subdev pad ops, - OMAP 3 ISP driver improvements, - SMIA++ sensor driver and - Other

[GIT PULL FOR v3.5 v2] V4L2 subdev and sensor control changes and SMIA++ driver

2012-04-10 Thread Sakari Ailus
Hi Mauro, This patchset adds - Integer menu controls, - Selection IOCTL for subdevs, - Sensor control improvements, - link_validate() media entity and V4L2 subdev pad ops, - OMAP 3 ISP driver improvements, - SMIA++ sensor driver and - Other V4L2 and media improvements (see individual patches)

Re: Unknown eMPIA tuner

2012-04-10 Thread Stefan Monnier
Ok, so it's an em2874/drx-j/tda18271 design, which in terms of the components is very similar to the PCTV 80e (which I believe Mauro got into staging recently). I would probably recommend looking at that code as a starting point. Any pointers to actual file names? That said, you'll need to

Re: Unknown eMPIA tuner

2012-04-10 Thread Alex Deucher
On Tue, Apr 10, 2012 at 3:49 PM, Stefan Monnier monn...@iro.umontreal.ca wrote: Ok, so it's an em2874/drx-j/tda18271 design, which in terms of the components is very similar to the PCTV 80e (which I believe Mauro got into staging recently).  I would probably recommend looking at that code as a

Re: [GIT PULL FOR v3.5] V4L2 subdev and sensor control changes and SMIA++ driver

2012-04-10 Thread Sylwester Nawrocki
Hi Mauro, On 04/10/2012 08:20 PM, Mauro Carvalho Chehab wrote: ... The following changes since commit 296da3cd14db9eb5606924962b2956c9c656dbb0: [media] pwc: poll(): Check that the device has not beem claimed for streaming already (2012-03-27 11:42:04 -0300) are available in the git

Re: [PATCH 1/3] dma-buf: add vmap interface

2012-04-10 Thread Sylwester Nawrocki
Hi, On 04/10/2012 12:11 PM, Tomasz Stanislawski wrote: From: Dave Airlieairl...@redhat.com Add vmap to dmabuf interface. Signed-off-by: Dave Airlieairl...@redhat.com --- drivers/base/dma-buf.c | 29 + include/linux/dma-buf.h | 16 2 files

Re: Add usb device id for tm6000-cards.c

2012-04-10 Thread Mauro Carvalho Chehab
Em 22-03-2012 16:37, Marek Chmielewski escreveu: -- Pozdrawiam Marek Chmielewski patch_for_tm6000-cards.patch --- tm6000-cards.c.bakup 2012-03-10 14:34:07.471348336 +0100 +++ tm6000-cards.c2012-03-10 15:18:09.856380721 +0100 Please, use it ad diff -p1 format (e. g.

Re: [PATCH] [media] Convert I2C drivers to dev_pm_ops

2012-04-10 Thread Mauro Carvalho Chehab
Em 22-03-2012 17:34, Mark Brown escreveu: The legacy I2C PM functions have been deprecated and warning on boot for over a year, convert the drivers still using them to dev_pm_ops. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Em 22-03-2012 17:39, Mark Brown escreveu: On Thu,

Re: [stable for 3.2][patch] Kernel 3.2 add support for IT9135 chip version 2 devices.

2012-04-10 Thread Malcolm Priestley
On Tue, 2012-04-10 at 16:10 -0700, Greg KH wrote: On Sun, Apr 01, 2012 at 08:36:15AM -0700, Greg KH wrote: On Sun, Apr 01, 2012 at 02:30:54PM +0100, Malcolm Priestley wrote: Originally, IT9135 chip version 2 devices were never intended to be supported in kernel 3.2 as they were

[PATCH 03/11] cx231xx: replace open-coded ARRAY_SIZE with macro

2012-04-10 Thread Jim Cromie
Signed-off-by: Jim Cromie jim.cro...@gmail.com --- drivers/media/video/cx231xx/cx231xx-avcore.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/cx231xx/cx231xx-avcore.c b/drivers/media/video/cx231xx/cx231xx-avcore.c index 53ff26e..460d148 100644

Re: [PATCH 03/11] Hack to fix a mutex issue in the DVB layer.

2012-04-10 Thread Mauro Carvalho Chehab
Em 01-04-2012 12:53, Steinar H. Gunderson escreveu: From: Steinar H. Gunderson se...@samfundet.no dvb_usercopy(), which is called on all ioctls, not only copies data to and from userspace, but also takes a lock on the file descriptor, which means that only one ioctl can run at a time. This