RE: [PATCHv24 00/16] Contiguous Memory Allocator

2012-04-10 Thread Marek Szyprowski
Hi, On Tuesday, April 10, 2012 7:20 PM Sandeep Patil 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

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" > > 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 means that

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

2012-04-10 Thread Jim Cromie
Signed-off-by: Jim Cromie --- 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 --- a/drivers/media/vi

Re: [media next v3.4] Add support for TBS-Tech ISDB-T Full Seg DTB08

2012-04-10 Thread Mauro Carvalho Chehab
Em 29-03-2012 20:24, Manoel Pinheiro escreveu: > Driver for TBS-Tech ISDB-T USB2.0 Receiver (DTB08 Full Seg). > > The device used as a reference is described in the link > http://linuxtv.org/wiki/index.php/JH_Full_HD_Digital_TV_Receiver Please, always check your patches with checkpatch.pl. While

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

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

2012-04-10 Thread Greg KH
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 thought at the time only on ID 048d:9006. > > > > Howe

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 Em 22-03-2012 17:39, Mark Brown escreveu: > On Thu, Mar 22, 2012 at 08:34:53PM +00

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. a/

Re: [PATCH 0/5] Make em28xx-input.c a separate module

2012-04-10 Thread Ezequiel García
2012/3/26 Ezequiel García : > Hi, [snip] > >  drivers/media/video/em28xx/Kconfig        |    4 +- >  drivers/media/video/em28xx/Makefile       |    5 +- >  drivers/media/video/em28xx/em28xx-cards.c |   66 + >  drivers/media/video/em28xx/em28xx-core.c  |    3 + >  drivers/media/video/em28xx/

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 Airlie Add vmap to dmabuf interface. Signed-off-by: Dave Airlie --- drivers/base/dma-buf.c | 29 + include/linux/dma-buf.h | 16 2 files changed, 45 insertions(+), 0 deletion

[PATCH v2] V4L: JPEG class documentation corrections

2012-04-10 Thread Sylwester Nawrocki
From: Sylwester Nawrocki This patch fixes following compilation warning: Error: no ID for constraint linkend: v4l2-jpeg-chroma-subsampling. and adds missing JPEG control class at the Table A.58. Signed-off-by: Sylwester Nawrocki --- Changes since v1: - jpeg-chroma-subsampling-control replaced

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 t

Re: Unknown eMPIA tuner

2012-04-10 Thread Alex Deucher
On Tue, Apr 10, 2012 at 3:49 PM, Stefan Monnier 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 starting point.

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 nee

[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) Ch

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

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 (GC

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 allocati

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 us

Re: Unknown eMPIA tuner

2012-04-10 Thread Devin Heitmueller
On Tue, Apr 10, 2012 at 11:24 AM, Stefan Monnier 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 should I

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 star

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 : > 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 Tuning fil

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() fa

[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

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 51 +++

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/vivi.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/vivi.c

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-fimc/fimc-capture.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/media/

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/Kconfig |1 + drivers/media/video/s5p-fimc/fimc-capture.c |2 +- 2 files changed, 2

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 128 1 files changed, 128 insertions(+), 0 deletions(-) diff --git a/

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-tv/Kconfig |1 + drivers/media/video/s5p-tv/mixer_video.c |2 +- 2 files changed, 2 insertio

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-tv/mixer_video.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/media/vid

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-core.c | 66 ++ include/media/videobuf2-core.h |2 +

[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 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 --- drivers/media/video/videobu

[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 [3]

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-dma-contig.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v

[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

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 > sup

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

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

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/Kconfig |1 + drivers/media/video/vivi.c |2 +- 2 files changed, 2 insertions(+), 1 deletions(-)

[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 ov

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/videobuf2-vmalloc.c | 56 +++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --gi

[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 Signed-off-by: Kyungmin Park --- Hello, This patch adds

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, Ja