Re: [Linaro-mm-sig] [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-06-06 Thread Hans Verkuil
On Thu June 7 2012 02:52:06 Laurent Pinchart wrote: > Hi Hans, > > On Wednesday 06 June 2012 10:17:03 Hans Verkuil wrote: > > On Wed 6 June 2012 05:46:34 Laurent Pinchart wrote: > > > On Monday 04 June 2012 12:34:23 Rebecca Schultz Zavin wrote: > > > > I have a system where the data is planar, but

Re: [Linaro-mm-sig] [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-06-06 Thread Laurent Pinchart
Hi Hans, On Wednesday 06 June 2012 10:17:03 Hans Verkuil wrote: > On Wed 6 June 2012 05:46:34 Laurent Pinchart wrote: > > On Monday 04 June 2012 12:34:23 Rebecca Schultz Zavin wrote: > > > I have a system where the data is planar, but the kernel drivers > > > expect to get one allocation with offs

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-06 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 06 June 2012 13:56:42 Tomasz Stanislawski wrote: > On 06/06/2012 10:06 AM, Laurent Pinchart wrote: > > On Wednesday 23 May 2012 15:07:27 Tomasz Stanislawski wrote: > >> This patch adds the setup of sglist list for MMAP buffers. > >> It is needed for buffer exporting via DMA

What should CREATE_BUFS do if count == 0?

2012-06-06 Thread Hans Verkuil
Hi all, I'm extending v4l2-compliance with support for VIDIOC_REQBUFS and VIDIOC_CREATE_BUFS, and I ran into an undefined issue: what happens if VIDIOC_CREATE_BUFS is called with count set to 0? I think there should be a separate test for that. Right now queue_setup will receive a request for

[PATCH for v3.5] V4L2 spec fix

2012-06-06 Thread Hans Verkuil
Two small docbook fixes: - prepare-buf was not positioned in alphabetical order, moved to the right place. - the format field in create_bufs had the wrong type in the documentation Regards, Hans Signed-off-by: Hans Verkuil diff --git a/Documentation/DocBook/media/v4l/v4l2.xml b/Docu

Re: radio-maxiradio.c: undefined reference to `snd_tea575x_init'

2012-06-06 Thread Fengguang Wu
On Wed, Jun 06, 2012 at 11:15:04PM +0200, Hans Verkuil wrote: > On Wed June 6 2012 22:40:14 Fengguang Wu wrote: > > On Thu, Mar 29, 2012 at 09:38:38AM -0700, Randy Dunlap wrote: > > > On 03/28/2012 08:42 PM, Stephen Rothwell wrote: > > > > > > > Hi all, > > > > > > > > Reminder: please do not add

Re: radio-maxiradio.c: undefined reference to `snd_tea575x_init'

2012-06-06 Thread Hans Verkuil
On Wed June 6 2012 22:40:14 Fengguang Wu wrote: > On Thu, Mar 29, 2012 at 09:38:38AM -0700, Randy Dunlap wrote: > > On 03/28/2012 08:42 PM, Stephen Rothwell wrote: > > > > > Hi all, > > > > > > Reminder: please do not add stuff destined for v3.5 to linux-next > > > included trees/branches until a

cron job: media_tree daily build: WARNINGS

2012-06-06 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:Wed Jun 6 19:00:18 CEST 2012 git hash:5472d3f17845c4398c6a510b46855820920c2181 gcc version: i686-linux-gcc (GC

Re: SH7724, VOU, PAL mode

2012-06-06 Thread Janusz Uzycki
This is why "v4l2-ctl -s 5" used before my simple test program (modified capture example with mmap method) finally has no effect for VOU. When the test program opens video device it causes reset PAL mode in VOU and does not in TV encoder. Right, this is actually a bug in the VOU driver. It did

Re: [PATCH 06/15] video: mx1_camera: Use clk_prepare_enable/clk_disable_unprepare

2012-06-06 Thread Fabio Estevam
Hi Guennadi, On Wed, Jun 6, 2012 at 1:04 PM, Guennadi Liakhovetski wrote: > Yes, I'll pick up #6 and 7. #8 is not for me - mx2_emmaprp is not an > soc-camera driver, I'm not maintaining it. I understand, these patches are > not really bug-fixes (is clk_prepare() a NOP on mx*?) and can wait until

Re: [PATCH 06/15] video: mx1_camera: Use clk_prepare_enable/clk_disable_unprepare

2012-06-06 Thread Guennadi Liakhovetski
On Wed, 6 Jun 2012, Fabio Estevam wrote: > Guennadi, > > On Tue, May 29, 2012 at 6:20 AM, Sascha Hauer wrote: > > On Fri, May 25, 2012 at 08:14:47PM -0300, Fabio Estevam wrote: > >> From: Fabio Estevam > >> > >> Prepare the clock before enabling it. > >> > >> Cc: Guennadi Liakhovetski > >> Cc:

Re: [linux-uvc-devel] USB3.0 WebCam

2012-06-06 Thread Paulo Assis
Hi, I think any of these lists would do. I would probably post it to linux-media and cc linux-uvc-devel Regards, Paulo 2012/6/6 Tony.Nie : > Hi All: > > The latest UVC driver can't work well with USB3.0 WebCam for it > can't select a suitable alternate setting. > I fixed the bug. > > Can

Re: SH7724, VOU, PAL mode

2012-06-06 Thread Guennadi Liakhovetski
On Wed, 6 Jun 2012, Janusz Uzycki wrote: > Hi. > > > Sorry, this is not going to be a very detailed reply. It's been a long > > time since I've worked with VOU and AK8813(4). > > I see. > > > > If I set PAL mode (v4l2-ctl -s) VOUCR::MD is still configured for NTSC. > > > > This shouldn't be th

Re: [PATCH v3] scatterlist: add sg_alloc_table_from_pages function

2012-06-06 Thread Tomasz Stanislawski
On 05/22/2012 10:10 PM, Andrew Morton wrote: > On Mon, 21 May 2012 16:01:50 +0200 > Tomasz Stanislawski wrote: > +int sg_alloc_table_from_pages(struct sg_table *sgt, + struct page **pages, unsigned int n_pages, + unsigned long offset, unsigned long size, + gfp_t gfp_mask) >

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-06 Thread Tomasz Stanislawski
Hi Laurent, Thank your for your comments. On 06/06/2012 10:06 AM, Laurent Pinchart wrote: > Hi Tomasz, > > Thanks for the patch. > > On Wednesday 23 May 2012 15:07:27 Tomasz Stanislawski wrote: >> This patch adds the setup of sglist list for MMAP buffers. >> It is needed for buffer exporting via

[PATCH] s5p-mfc: Bug fix of timestamp/timecode copy mechanism

2012-06-06 Thread Kamil Debski
Fixed the code copying timecode/timestamp to corresponding frames between OUTPUT and CAPTURE. Signed-off-by: Kamil Debski Signed-off-by: Kyungmin Park --- drivers/media/video/s5p-mfc/regs-mfc.h|5 + drivers/media/video/s5p-mfc/s5p_mfc_opr.h |4 +++- 2 files changed, 8 insertions

Re: [Linaro-mm-sig] [PATCHv6 00/13] Integration of videobuf2 with dmabuf

2012-06-06 Thread Hans Verkuil
On Wed 6 June 2012 05:46:34 Laurent Pinchart wrote: > Hi Rebecca, > > On Monday 04 June 2012 12:34:23 Rebecca Schultz Zavin wrote: > > I have a system where the data is planar, but the kernel drivers > > expect to get one allocation with offsets for the planes. I can't > > figure out how to do th

Re: [PATCH 04/12] v4l: vb2-dma-contig: add setup of sglist for MMAP buffers

2012-06-06 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 23 May 2012 15:07:27 Tomasz Stanislawski wrote: > This patch adds the setup of sglist list for MMAP buffers. > It is needed for buffer exporting via DMABUF mechanism. > > Signed-off-by: Tomasz Stanislawski > Signed-off-by: Kyungmin Park > --- > dr

Re: [PATCH 11/12] v4l: vb2-dma-contig: use sg_alloc_table_from_pages function

2012-06-06 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 23 May 2012 15:07:34 Tomasz Stanislawski wrote: > This patch makes use of sg_alloc_table_from_pages to simplify > handling of sg tables. Would you mind moving this patch before 04/12, to avoid introducing a vb2_dc_pages_to_sgt() user only to remove

Re: [PATCH 02/12] v4l: add buffer exporting via dmabuf

2012-06-06 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 23 May 2012 15:07:25 Tomasz Stanislawski wrote: > 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 s

Re: [PATCH 01/12] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call

2012-06-06 Thread Laurent Pinchart
Hi Tomasz, On Wednesday 23 May 2012 15:07:24 Tomasz Stanislawski wrote: > 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 t

Re: [PATCH 03/12] v4l: vb2: add buffer exporting via dmabuf

2012-06-06 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 23 May 2012 15:07:26 Tomasz Stanislawski wrote: > This patch adds extension to videobuf2-core. It allow to export a mmap s/allow/allows/ > buffer as a file descriptor. > > Signed-off-by: Tomasz Stanislawski > Signed-off-by: Kyungmin Park Acked-b

question about bt8xx/bttv-audio-hook.c, tvaudio.c

2012-06-06 Thread Julia Lawall
The files drivers/media/video/bt8xx/bttv-audio-hook.c and drivers/media/video/tvaudio.c contain a number of occurrences of eg: mode |= V4L2_TUNER_MODE_LANG1 | V4L2_TUNER_MODE_LANG2; and if (mode & V4L2_TUNER_MODE_MONO) (both from tvaudio.c) V4L2_TUNER_MODE_LANG1 | V4L2_TUNER_MODE_LANG2 is su