RE: [PATCH 1/2] device: add dma_params-max_segment_count

2012-07-20 Thread Marek Szyprowski
Hello, On Thursday, July 19, 2012 6:24 PM Rob Clark wrote: From: Rob Clark r...@ti.com For devices which have constraints about maximum number of segments in an sglist. For example, a device which could only deal with contiguous buffers would set max_segment_count to 1. The initial

Re: [PATCH] vivi: remove pointless video_nr++

2012-07-20 Thread Hans Verkuil
On Thu July 19 2012 23:15:42 Ezequiel Garcia wrote: On Thu, Jul 19, 2012 at 6:05 PM, Ezequiel Garcia elezegar...@gmail.com wrote: On Thu, Jul 19, 2012 at 5:45 PM, Hans Verkuil hverk...@xs4all.nl wrote: Remove the pointless video_nr++. It doesn't do anything useful and it has the

Re: [PATCH] media: mx2_camera: Add YUYV output format.

2012-07-20 Thread javier Martin
On 12 July 2012 10:56, Javier Martin javier.mar...@vista-silicon.com wrote: Add explicit conversions from UYVY and YUYV to YUYV so that csicr1 configuration can be set properly for each format. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_camera.c

Re: [PATCH] media: mx2_camera: Add YUYV output format.

2012-07-20 Thread Guennadi Liakhovetski
Hi Javier On Fri, 20 Jul 2012, javier Martin wrote: On 12 July 2012 10:56, Javier Martin javier.mar...@vista-silicon.com wrote: Add explicit conversions from UYVY and YUYV to YUYV so that csicr1 configuration can be set properly for each format. Signed-off-by: Javier Martin

Re: Supporting 3D formats in V4L2

2012-07-20 Thread Hans Verkuil
On Fri July 20 2012 07:23:32 Soby Mathew wrote: Hi Hans, I think your solution is appropriate. I agree to your suggestions. Regarding the 'active space' issue for 3D formats, I was studying the currently the v4l2_bt_timings structure. The Vtotal is calculated for 2D timings as :

Re: [RFC PATCH 19/26] soc_camera: remove V4L2_FL_LOCK_ALL_FOPS

2012-07-20 Thread Guennadi Liakhovetski
Hi Hans Thanks for the patch. I guess, you'll want to pull it via your queue. Let me know if for some reason you'd prefer me to take it. On Sun, 24 Jun 2012, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Add proper locking to the file operations, allowing for the removal

Re: [PATCH v5] media: coda: Add driver for Coda video codec.

2012-07-20 Thread Hans Verkuil
On Fri July 20 2012 11:25:05 javier Martin wrote: On 19 July 2012 14:14, Hans Verkuil hverk...@xs4all.nl wrote: Hi Javier, Can you run v4l2-compliance? I have updated it today so that it is able to handle m2m devices. It will find at least one problem since you didn't set bus_info in

Re: Problems with Asus My Cinema-U3000Hybrid tuner

2012-07-20 Thread Oliver Schinagl
On 20-07-12 11:01, H. Cristiano Alves Machado wrote: 2012/7/20 Oliver Schinagl oliver+l...@schinagl.nl: I did do see those already. Well if you have never seen it properly work in Linux, there may be a few things to try. The easiest is an older version of ubuntu for example. DIB7000 based

Re: [RFCv3 PATCH 00/33] Core and vb2 enhancements

2012-07-20 Thread Guennadi Liakhovetski
Hi Hans On Thu, 28 Jun 2012, Hans Verkuil wrote: Hi all, This is the third version of this patch series. The first version is here: http://www.mail-archive.com/linux-media@vger.kernel.org/msg47558.html Nice to see an owner concept added to the vb2. In soc-camera we're also using a

Re: [PATCH v2 1/2] v4l: Add factory register values form S5K4ECGX sensor

2012-07-20 Thread Sangwook Lee
Opps, the previous email has a HTML part, so resending. Hi Sylwester Thank for the review. On 19 July 2012 20:40, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi Sangwook, On 07/19/2012 02:14 PM, Sangwook Lee wrote: Add factory default settings for S5K4ECGX sensor registers.

Re: [RFCv3 PATCH 00/33] Core and vb2 enhancements

2012-07-20 Thread Hans Verkuil
On Fri July 20 2012 11:55:31 Guennadi Liakhovetski wrote: Hi Hans On Thu, 28 Jun 2012, Hans Verkuil wrote: Hi all, This is the third version of this patch series. The first version is here: http://www.mail-archive.com/linux-media@vger.kernel.org/msg47558.html Nice to see

Re: [RFCv3 PATCH 00/33] Core and vb2 enhancements

2012-07-20 Thread Laurent Pinchart
Hi Guennadi, On Friday 20 July 2012 11:55:31 Guennadi Liakhovetski wrote: On Thu, 28 Jun 2012, Hans Verkuil wrote: Hi all, This is the third version of this patch series. The first version is here: http://www.mail-archive.com/linux-media@vger.kernel.org/msg47558.html Nice to

[patch] [media] dib8000: move dereference after check for NULL

2012-07-20 Thread Dan Carpenter
My static checker complains that we dereference state inside the call to fft_to_mode() before checking for NULL. The comments say that it is possible for state to be NULL so I have moved the dereference after the check. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

Re: [PATCH] [v3] i.MX27: Fix emma-prp clocks in mx2_camera.c

2012-07-20 Thread Guennadi Liakhovetski
Hi Javier Thanks for the patch On Mon, 9 Jul 2012, javier Martin wrote: On 9 July 2012 10:07, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jul 09, 2012 at 09:46:03AM +0200, javier Martin wrote: On 9 July 2012 09:43, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jul 09, 2012

Re: [PATCH] media: mx2_camera: Remove MX2_CAMERA_SWAP16 and MX2_CAMERA_PACK_DIR_MSB flags.

2012-07-20 Thread Guennadi Liakhovetski
On Thu, 12 Jul 2012, Javier Martin wrote: These flags are not used any longer and can be safely removed since the following patch: http://www.spinics.net/lists/linux-media/msg50165.html Signed-off-by: Javier Martin javier.mar...@vista-silicon.com For the ARM tree: Acked-by: Guennadi

Re: [PATCH v3 8/9] soc-camera: Add and use soc_camera_power_[on|off]() helper functions

2012-07-20 Thread Guennadi Liakhovetski
On Wed, 18 Jul 2012, Laurent Pinchart wrote: Instead of forcing all soc-camera drivers to go through the mid-layer to handle power management, create soc_camera_power_[on|off]() functions that can be called from the subdev .s_power() operation to manage regulators and platform-specific power

Re: [PATCH] [v3] i.MX27: Fix emma-prp clocks in mx2_camera.c

2012-07-20 Thread javier Martin
On 20 July 2012 13:19, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Javier Thanks for the patch On Mon, 9 Jul 2012, javier Martin wrote: On 9 July 2012 10:07, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jul 09, 2012 at 09:46:03AM +0200, javier Martin wrote: On 9 July

[PATCH v4] soc-camera: Add and use soc_camera_power_[on|off]() helper functions

2012-07-20 Thread Laurent Pinchart
Instead of forcing all soc-camera drivers to go through the mid-layer to handle power management, create soc_camera_power_[on|off]() functions that can be called from the subdev .s_power() operation to manage regulators and platform-specific power handling. This allows non soc-camera hosts to use

[PATCH for 3.6] v4l: fix copy/paste typo in vb2_reqbufs comment

2012-07-20 Thread Nicolas THERY
Signed-off-by: Nicolas Thery nicolas.th...@st.com --- diff --git a/drivers/media/video/videobuf2-core.c b/drivers/media/video/videobuf2-core.c index 4e0290a..268c7dd 100644 --- a/drivers/media/video/videobuf2-core.c +++ b/drivers/media/video/videobuf2-core.c @@ -715,8 +715,8 @@ static int

Terratec Cinergy XS 0ccd:0042 (em28xx): Tuning Problem Analog

2012-07-20 Thread llar...@gmx.net
Hi, I have tuning problem for some analog channels with the Terratec Cinergy XS 0ccd:0042. This card is unable to tune into some channels. I have another version of this hardware with the ID's 0ccd:005e. Interestingly, this Hardware-Version tunes without any problems all available channels.

[PATCH] davinci: vpbe: fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled

2012-07-20 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com Fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled, declare the vpbe_dev variable. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpbe_display.c |2 ++ 1

[PATCH RESEND] davinci: vpbe: fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled

2012-07-20 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com Fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled, declare the vpbe_dev variable. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- Resending the patch since it didn't reach to the

Re: [PATCH v2 8/9] ov772x: Compute window size registers at runtime

2012-07-20 Thread Guennadi Liakhovetski
Hi Laurent Thanks for the patch On Wed, 18 Jul 2012, Laurent Pinchart wrote: Instead of hardcoding register arrays, compute the values at runtime. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/ov772x.c | 162

[PATCH] davinci: vpbe: fix check for s_dv_preset function pointer

2012-07-20 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com fix check for s_dv_preset function pointer to be NULL. return -EINVAL if function pointer is NULL. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- drivers/media/video/davinci/vpbe_display.c |

[PATCH] davinci: vpbe: add build infrastructure for VPBE on dm365 and dm355

2012-07-20 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add Kconfig and Makefile changes to build VPBE display driver on dm365 and dm355 along with dm644x. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/davinci/Kconfig |

[PATCH] davinci: vpss: enable vpss clocks

2012-07-20 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com By default the VPSS clocks are only enabled in capture driver. and display wont work if the capture is not enabled. This patch adds support to enable the VPSS clocks in VPSS driver. This way we can enable/disable capture and display and use it

Re: [PATCH v2 8/9] ov772x: Compute window size registers at runtime

2012-07-20 Thread Laurent Pinchart
Hi Guennadi, On Friday 20 July 2012 15:58:25 Guennadi Liakhovetski wrote: On Wed, 18 Jul 2012, Laurent Pinchart wrote: Instead of hardcoding register arrays, compute the values at runtime. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH v6 0/2] add dm365 specific media formats

2012-07-20 Thread Prabhakar Lad
add mediabus formats and pixel formats supported as part of dm365 vpfe device. The device supports media formats(transfer and storage) which include- 1: ALAW compressed bayer. 2: UV interleaved without Y (for resizer). 3: YDYU Changes for v6: 1: Fixed a comment from Hans, replaced YUYDYDYV and

[PATCH v6 1/2] media: add new mediabus format enums for dm365

2012-07-20 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add new enum entries for supporting the media-bus formats on dm365. These include some bayer and some non-bayer formats. V4L2_MBUS_FMT_YDYUYDYV8_1X16 and V4L2_MBUS_FMT_UV8_1X8 are used internal to the hardware by the resizer.

[PATCH v6 2/2] v4l2: add new pixel formats supported on dm365

2012-07-20 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add new macro V4L2_PIX_FMT_SGRBG10ALAW8 and associated formats to represent Bayer format frames compressed by A-LAW algorithm, add V4L2_PIX_FMT_UV8 to represent storage of CbCr data (UV interleaved) only. Signed-off-by: Manjunath Hadli

[PATCH 1/2] s5p-mfc: Fix second memory bank alignment

2012-07-20 Thread Kamil Debski
Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-mfc/s5p_mfc_ctrl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_ctrl.c

[PATCH 2/2] s5p-mfc: support for dmabuf exporting fix

2012-07-20 Thread Kamil Debski
Added select DMA_SHARED_BUFFER to the Kconfig of the MFC. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/Kconfig

[PULL] soc-camera for 3.6

2012-07-20 Thread Guennadi Liakhovetski
Hi Mauro This might be a bit more, than what you'd like to see in a single pull request, sorry, but I had very little time during the last development period, so, my reviews were always delayed - sorry to all developers again! I'll try to do better next time. Anyway, here go: The following

Re: [PATCH v2 2/2] v4l: Add v4l2 subdev driver for S5K4ECGX sensor

2012-07-20 Thread Sangwook Lee
Hi Sylwester Thank you for the great review! On 19 July 2012 22:40, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi Sangwook, A few review comments for you below... On 07/19/2012 02:14 PM, Sangwook Lee wrote: This dirver implements preview mode of the S5K4ECGX sensor. dirver

mx1: compilation broken

2012-07-20 Thread Guennadi Liakhovetski
Hi all mx1 camera compilation broken in current media-next (git://linuxtv.org/media_tree.git staging/for_v3.6): In file included from linux/drivers/media/video/mx1_camera.c:44: linux/arch/arm/mach-imx/include/mach/dma-mx1-mx2.h:8: fatal error: mach/dma-v1.h: No such file or directory sorry,

af9015_rc_query

2012-07-20 Thread poma
First occurrence of this kind of failure with Cinergy T RC MKII :| 3.4.5-2.fc17.x86_64 0ccd:0097 TerraTec Electronic GmbH Cinergy T RC MKII … kernel: af9015: recv bulk message failed:-71 kernel: af9015: af9015_rc_query: failed:-1 kernel: dvb-usb: error -1 while querying for an remote control

Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-07-20 Thread Rob Clark
Fyi, Daniel Vetter had suggested on IRC that it would be cleaner to have a single helper fxn that most-restrictive union of all attached device's dma_parms. Really this should include dma_mask and coherent_dma_mask, I think. But that touches a lot of other places in the code. If no one objects

Re: [PATCH v6 1/2] media: add new mediabus format enums for dm365

2012-07-20 Thread Laurent Pinchart
Hi Prabhakar, Just one small comment below. On Friday 20 July 2012 20:28:09 Prabhakar Lad wrote: From: Manjunath Hadli manjunath.ha...@ti.com add new enum entries for supporting the media-bus formats on dm365. These include some bayer and some non-bayer formats.

Build Failure: ddbridge-core.o and drxk_hard.o

2012-07-20 Thread Adam Koza
Hi, I have been building a streaming server at Georgia Tech and I have recently run into a build error using the media_build git repository that I have yet to find a solution for. The drivers built, installed, and worked about a month ago, but with the recent git update it has failed to

cron job: media_tree daily build: ERRORS

2012-07-20 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:Fri Jul 20 19:00:22 CEST 2012 git hash:931efdf58bd83af8d0578a6cc53421675daf6d41 gcc version: i686-linux-gcc

[PATCH][Trivial][resend] Documentation: Add newline at end-of-file to files lacking one

2012-07-20 Thread Jesper Juhl
This patch simply adds a newline character at end-of-file to those files in Documentation/ that currently lack one. This is done for a few different reasons: A) It's rather annoying when you do cat some_file.txt that your prompt/cursor ends up at the end of the last line of output rather

Re: [PATCH][Trivial][resend] Documentation: Add newline at end-of-file to files lacking one

2012-07-20 Thread Jiri Kosina
On Fri, 20 Jul 2012, Jesper Juhl wrote: This patch simply adds a newline character at end-of-file to those files in Documentation/ that currently lack one. This is done for a few different reasons: A) It's rather annoying when you do cat some_file.txt that your prompt/cursor ends up

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-20 Thread Guennadi Liakhovetski
Hi Mauro On Tue, 17 Jul 2012, Guennadi Liakhovetski wrote: Hi Mauro On Tue, 17 Jul 2012, Mauro Carvalho Chehab wrote: As we did in 2012, we're planning to do a media summit again at KS/2012. The KS/2012 will happen in San Diego, CA, US, between Aug 26-28, just before the LinuxCon