New ctrl framework also enumerates classes

2011-07-04 Thread Hans de Goede
Hi All, One last thing before I really leave on vacation which just popped in my mind as something which I had not mentioned yet. The new ctrl framework also enumerates classes when enumerating ctrls with the next flag. I wonder if this is intentional? IOW if this is a feature or a bug?

Re: New ctrl framework also enumerates classes

2011-07-04 Thread Hans Verkuil
On Monday, July 04, 2011 08:23:10 Hans de Goede wrote: Hi All, One last thing before I really leave on vacation which just popped in my mind as something which I had not mentioned yet. The new ctrl framework also enumerates classes when enumerating ctrls with the next flag. I wonder if

Re: Kudos for the new vtl2 ctrls framework

2011-07-04 Thread Hans Verkuil
On Sunday, July 03, 2011 22:04:45 Hans de Goede wrote: Hi all, After making some serious use of it in the pwc driver cleanup I would like to thank Hans V. for all his hard work on the new ctrl framework. The clusters bit got a bit getting used to / but once I did it is great. Once you

Re: [PATCH] media: initial driver for ov5642 CMOS sensor

2011-07-04 Thread Guennadi Liakhovetski
Hi Angela On Sun, 3 Jul 2011, angela wan wrote: Hi, Bastian, Could the setting in ov5642.c like ov5642_default_regs_init and ov5642_default_regs_finalise adapt to different board? From my experience, ov5642 may have difference settings for differnt boards. So could we put the setting

Re: [GIT PATCHES FOR 3.1] New SE401 driver + major pwc driver cleanup

2011-07-04 Thread Hans Verkuil
Hi Hans, I have some notes: On Sunday, July 03, 2011 22:00:39 Hans de Goede wrote: Hi All, I'm happy to present my latest webcam work to you: I could not just stand by watching the old v4l1 se401 driver (which has been broken for a long while btw) get removed from the kernel, without

Re: Some comments on the new autocluster patches

2011-07-04 Thread Hans Verkuil
On Saturday, July 02, 2011 16:31:47 Hans de Goede wrote: Hi, On 07/02/2011 01:10 PM, Hans Verkuil wrote: On Saturday, July 02, 2011 12:28:35 Hans de Goede wrote: Hi, snip snip snip Ok, thinking about this some more and reading Hans V's comments I think that the current code in

Re: [PATCH 4/5] cxd2099: Fix compilation of ngene/ddbridge for DVB_CXD2099=n

2011-07-04 Thread Bjørn Mork
Oliver Endriss o.endr...@gmx.de writes: Fix compilation of ngene/ddbridge for DVB_CXD2099=n. Note: Bug was introduced by commit 'cxd2099: Update to latest version'. Shouldn't that patch instead be fixed and resubmitted? Bjørn -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v8 1/2] Add driver for Aptina Micron mt9p031 sensor.

2011-07-04 Thread javier Martin
Hi, Laurent. How is it going? Is there any chance these changes to be included for next release? We are afraid that changes in the framework may turn the patches useless. Thank you. -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander.

Re: [PATCH 15/16] ngene: Update for latest cxd2099

2011-07-04 Thread Issa Gorissen
From: Oliver Endriss o.endr...@gmx.de Modifications for latest cxd2099. Signed-off-by: Oliver Endriss o.endr...@gmx.de --- drivers/media/dvb/ngene/ngene-core.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/ngene/ngene-core.c

Re: [PATCH 13/16] cxd2099: Update to latest version

2011-07-04 Thread Issa Gorissen
On 03/07/2011 19:00, Oliver Endriss wrote: @@ -284,53 +313,84 @@ static int init(struct cxd *ci) CHK_ERROR(write_reg(ci, 0x08, 0x28)); CHK_ERROR(write_reg(ci, 0x14, 0x20)); - CHK_ERROR(write_reg(ci, 0x09, 0x4D)); /* Input Mode C, BYPass Serial,

Re: [DVB] Possible regression in stb6100 module for DVBS2 transponders

2011-07-04 Thread Issa Gorissen
On 01/07/2011 10:44, Sébastien RAILLARD (COEXSI) wrote: Dear Manu, I think there is a regression in your patch from December 2010 regarding the stb6100 module. With the latest version of stb6100 published in media_build git branch, we can't tune the TT-S2-3200 on some DVBS2 transponders like

Re: [PATCH] v4l: Don't register media entities for subdev device nodes

2011-07-04 Thread Michael Jones
On 04/11/2011 04:26 PM, Laurent Pinchart wrote: Subdevs already have their own entity, don't register as second one when registering the subdev device node. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-dev.c | 15 ++- 1 files

Re: [PATCH] v4l: Don't register media entities for subdev device nodes

2011-07-04 Thread Laurent Pinchart
Hi Michael, On Monday 04 July 2011 15:11:21 Michael Jones wrote: On 04/11/2011 04:26 PM, Laurent Pinchart wrote: Subdevs already have their own entity, don't register as second one when registering the subdev device node. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

Re: [ RFC PATCH 0/8] RFC for Media Controller capture driver for DM365

2011-07-04 Thread Laurent Pinchart
Hi Manjunath, On Monday 04 July 2011 07:58:06 Hadli, Manjunath wrote: On Thu, Jun 30, 2011 at 19:27:36, Sakari Ailus wrote: [snip] I understand that not all the blocks are there. Are there any major functional differences between those in Davinci and those in OMAP 3? Could the OMAP 3 ISP

[PATCH 1/5] drivers/media/video/cx231xx/cx231xx-cards.c: add missing kfree

2011-07-04 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Clear the cx231xx_devused variable and free dev in the error handling code, as done in the error handling code nearby. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @r@ identifier x; @@ kfree(x) @@ identifier

[PATCH 2/5] drivers/media/video: add missing kfree

2011-07-04 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Free the recently allocated qcam in each case. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @r@ identifier x; @@ kfree(x) @@ identifier r.x; expression E1!=0,E2,E3,E4; statement S; @@ ( if (+...x...+) S | if

Re: [Linaro-mm-sig] [PATCH 08/10] mm: cma: Contiguous Memory Allocator added

2011-07-04 Thread Arnd Bergmann
On Monday 04 July 2011, Ankita Garg wrote: It still sounds to me that this can be done using the NUMA properties that Linux already understands, and teaching more subsystems about it, but maybe the memory hotplug developers have already come up with another scheme. The way that memory

RE: [ RFC PATCH 0/8] RFC for Media Controller capture driver for DM365

2011-07-04 Thread Hadli, Manjunath
Thank you Laurent. On Mon, Jul 04, 2011 at 18:52:37, Laurent Pinchart wrote: Hi Manjunath, On Monday 04 July 2011 07:58:06 Hadli, Manjunath wrote: On Thu, Jun 30, 2011 at 19:27:36, Sakari Ailus wrote: [snip] I understand that not all the blocks are there. Are there any major

[PATCH] V4L: sh_mobile_ceu_camera: fix Oops when USERPTR mapping fails

2011-07-04 Thread Guennadi Liakhovetski
If vb2_dma_contig_get_userptr() fails on a videobuffer, driver's .buf_init() method will not be called and the list will not be initialised. Trying to remove an uninitialised element from a list leads to a NULL-dereference. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de ---

Re: [PATCH] V4L: sh_mobile_ceu_camera: fix Oops when USERPTR mapping fails

2011-07-04 Thread Bastian Hecht
On Mon, 4 Jul 2011, Guennadi Liakhovetski wrote: If vb2_dma_contig_get_userptr() fails on a videobuffer, driver's .buf_init() method will not be called and the list will not be initialised. Trying to remove an uninitialised element from a list leads to a NULL-dereference. Signed-off-by:

[RFC] DV timings spec fixes at V4L2 API - was: [PATCH 1/8] v4l: add macro for 1080p59_54 preset

2011-07-04 Thread Mauro Carvalho Chehab
Em 29-06-2011 09:51, Tomasz Stanislawski escreveu: The 1080p59_94 is supported by latest Samsung SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Hans Verkuil hverk...@xs4all.nl ---

Re: [ RFC PATCH 0/8] RFC for Media Controller capture driver for DM365

2011-07-04 Thread Sakari Ailus
Hadli, Manjunath wrote: Thank you Laurent. Hi Manjunath, On Mon, Jul 04, 2011 at 18:52:37, Laurent Pinchart wrote: Hi Manjunath, On Monday 04 July 2011 07:58:06 Hadli, Manjunath wrote: On Thu, Jun 30, 2011 at 19:27:36, Sakari Ailus wrote: [snip] I understand that not all the blocks

RE: [PATCH 00/16] New drivers: DRX-K, TDA18271c2, Updates: CXD2099 and ngene

2011-07-04 Thread Hans von Marwijk
Hi In which GIT or HG repository can I find these patches. drivers/media/dvb/ngene/ngene-core.c ... Regards Eckhard -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media-ow...@vger.kernel.org] On Behalf Of Oliver Endriss Sent: 03 July 2011 18:31 To:

[PATCH v3 04/19] s5p-fimc: Remove sclk_cam clock handling

2011-07-04 Thread Sylwester Nawrocki
The external sclk_cam clocks will be handled at the media device driver level. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-core.c | 12 ++--

[PATCH v3 0/19] s5p-fimc driver conversion to media controller and control framework

2011-07-04 Thread Sylwester Nawrocki
Hello, following is a third version of a patchset converting s5p-fimc driver to the media controller API and control framework. Except fixing minor bugs in the sensor registration code, the first patch adding power management support has been significantly reworked. There is no yet support for

[PATCH v3 10/19] s5p-fimc: Conversion to the control framework

2011-07-04 Thread Sylwester Nawrocki
The FIMC entity supports rotation, horizontal and vertical flip in camera capture and memory-to-memory operation mode. Due to atomic contexts used in mem-to-mem driver the control values need to be cached in drivers internal data structure. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

[PATCH v3 13/19] s5p-fimc: Correct color format enumeration

2011-07-04 Thread Sylwester Nawrocki
Create separate VIDIOC_ENUM_FMT ioctl handlers for video capture and mem-to-mem video node. This is needed as some formats are valid only for the video capture and some only for the mem-to-mem video node. Create single function for pixel format lookup out of find_mbus_format() and find_format().

[PATCH v3 19/19] s5p-fimc: Add runtime PM support in the camera capture driver

2011-07-04 Thread Sylwester Nawrocki
Add support for whole pipeline suspend/resume. Sensors must support suspend/resume through s_power subdev operation. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c | 77

[PATCH v3 17/19] s5p-fimc: Add v4l2_device notification support for single frame capture

2011-07-04 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c | 47 +++ drivers/media/video/s5p-fimc/fimc-core.h|2 + drivers/media/video/s5p-fimc/fimc-mdevice.c |

[PATCH v3 15/19] s5p-fimc: Add subdev for the FIMC processing block

2011-07-04 Thread Sylwester Nawrocki
This subdev interface exposes the internal scaler and color converter functionality to user space. Resolution and media bus format can now be configured explicitly by applications. Camera frame composition onto the output buffer can be configured through set/get_crop at FIMC.{n} source pad.

[PATCH v3 16/19] s5p-fimc: Add support for camera capture in JPEG format

2011-07-04 Thread Sylwester Nawrocki
Add support for transparent DMA transfer of JPEG data with MIPI-CSI2 USER1 format. In JPEG mode the color effect, scaling and cropping is not supported. Same applies to image rotation and flip thus those controls are marked as inactive when V4L2_PIX_FMT_JPEG pixelformat is selected.

[PATCH v3 12/19] s5p-fimc: Add PM helper function for streaming control

2011-07-04 Thread Sylwester Nawrocki
Create a helper function for (re)starting streaming in PM resume calls. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c | 80 ---

[PATCH v3 18/19] s5p-fimc: Use consistent names for the buffer list functions

2011-07-04 Thread Sylwester Nawrocki
Also correct and improve *_queue_add/pop functions description. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c |6 ++-- drivers/media/video/s5p-fimc/fimc-core.c|6 ++--

[PATCH v3 03/19] s5p-fimc: Remove registration of video nodes from probe()

2011-07-04 Thread Sylwester Nawrocki
Do not register video nodes during FIMC device probe. Also make fimc_register_m2m_device() public for use by the media device driver. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c |

[PATCH v3 14/19] s5p-fimc: Convert to use media pipeline operations

2011-07-04 Thread Sylwester Nawrocki
Add format negotiation routine for sensor subdevs not exposing a device node. TRY_FMT ioctl is completed by a subsequent patch adding the capture subdev. This way the try_fmt routines can be common for the subdev and the video node. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

[PATCH v3 02/19] s5p-fimc: Add media entity initialization

2011-07-04 Thread Sylwester Nawrocki
Add intialization of the media entities for video capture and mem-to-mem video nodes. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c | 28 --

[PATCH v3 08/19] s5p-fimc: Add the media device driver

2011-07-04 Thread Sylwester Nawrocki
The fimc media device driver is hooked onto s5p-fimc-md platform device. Such a platform device need to be added in a board initialization code and then camera sensors need to be specified as it's platform data. The s5p-fimc-md device is a top level entity for all FIMC, mipi-csis and sensor

[PATCH v3 01/19] s5p-fimc: Add support for runtime PM in the mem-to-mem driver

2011-07-04 Thread Sylwester Nawrocki
Only the FIMC entity memory-to-memory operation is fully covered, for the camera capture suspend/resume only stubs are provided. It's all what is needed to enable the driver on EXYNOS4 series with power domain driver enabled. Camera capture pipeline suspend/resume is covered by a separate patch.

[PATCH v3 11/19] s5p-fimc: Add media operations in the capture entity driver

2011-07-04 Thread Sylwester Nawrocki
Add the link_setup handler for the camera capture video node. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c | 32 +++

[PATCH v3 07/19] s5p-fimc: Remove v4l2_device from video capture and m2m driver

2011-07-04 Thread Sylwester Nawrocki
Currently there is a v4l2_device instance being registered per each (capture and memory-to-memory) video node created per FIMC H/W instance. This patch is a prerequisite for using the top level v4l2_device instantiated by the media device driver. To retain current debug trace semantic (so it's

[PATCH v3 06/19] s5p-fimc: Remove sensor management code from FIMC capture driver

2011-07-04 Thread Sylwester Nawrocki
The sensor subdevs need to be shared between all available FIMC instances. Remove their registration from FIMC capture driver so they can then be registered to the media device driver. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH v3 09/19] s5p-fimc: Conversion to use struct v4l2_fh

2011-07-04 Thread Sylwester Nawrocki
This is a prerequisite for the patch converting the driver to use the control framework. As the capture driver does not use per file handle contexts, two separate ioctl handlers are created for it (vidioc_try_fmt_mplane, and vidioc_g_fmt_mplane) so there is no handlers shared between the

[PATCH v3 05/19] s5p-fimc: Limit number of available inputs to one

2011-07-04 Thread Sylwester Nawrocki
Camera sensors at FIMC input are no longer selected with S_INPUT ioctl. They will be attached to required FIMC entity through pipeline re-configuration at the media device level. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[cron job] v4l-dvb daily build: ERRORS

2011-07-04 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Mon Jul 4 19:00:34 CEST 2011 git hash:df6aabbeb2b8799d97f3886fc994c318bc6a6843 gcc version: i686-linux-gcc (GCC)

Re: linux-next: Tree for July 4 (media/radio)

2011-07-04 Thread Randy Dunlap
On Mon, 4 Jul 2011 17:09:52 +1000 Stephen Rothwell wrote: Hi all, Changes since 20110701: The v4l-dvb tree gained a build failure so I used the version from next-20110701. drivers/media/radio/radio-rtrack2.c:31:17: error: invalid suffix c on integer constant make[4]:

gspca: video0 becomes video1 after ISOC data error

2011-07-04 Thread Németh Márton
Hi, I'm running Debian with Linux 2.6.38-2-486 on a computer. I have a hama AC-150 webcam attached to this computer. The webcam works continouosly and I use mencoder to do some cropping and transformation and to encode the video stream to a file. When I plug the device the following appears in

Re: gspca: video0 becomes video1 after ISOC data error

2011-07-04 Thread Mauro Carvalho Chehab
Em 04-07-2011 17:58, Németh Márton escreveu: Hi, I'm running Debian with Linux 2.6.38-2-486 on a computer. I have a hama AC-150 webcam attached to this computer. The webcam works continouosly and I use mencoder to do some cropping and transformation and to encode the video stream to a

Re: [RFC] DV timings spec fixes at V4L2 API - was: [PATCH 1/8] v4l: add macro for 1080p59_54 preset

2011-07-04 Thread Laurent Pinchart
Hi Mauro, On Monday 04 July 2011 18:09:18 Mauro Carvalho Chehab wrote: [snip] 1) PRESET STANDARDS == = There are 3 specs involved with DV presets: ITU-R BT 709 and BT 1120 and CEA 861. At ITU-R BT.709, both 60Hz and 60/1.001 Hz are equally called as 60 Hz. BT.1120

Re: [RFC] DV timings spec fixes at V4L2 API - was: [PATCH 1/8] v4l: add macro for 1080p59_54 preset

2011-07-04 Thread Mauro Carvalho Chehab
Em 04-07-2011 19:47, Laurent Pinchart escreveu: Hi Mauro, On Monday 04 July 2011 18:09:18 Mauro Carvalho Chehab wrote: [snip] 1) PRESET STANDARDS == = There are 3 specs involved with DV presets: ITU-R BT 709 and BT 1120 and CEA 861. At ITU-R BT.709, both 60Hz and

[PATCH] dvb_frontend: fix race condition in stopping/starting frontend

2011-07-04 Thread Devin Heitmueller
Attached is a patch which addresses a race condition in the DVB core related to closing/reopening the DVB frontend device in quick succession. This is the reason that devices such as the HVR-1300, HVR-3000, and HVR-4000 have been failing to scan properly under MythTV and w_scan. The gory details

Re: Bug in HVR1300. Found part of a patch, if reverted

2011-07-04 Thread Devin Heitmueller
On Thu, May 12, 2011 at 10:14 AM, Mike michael.st...@iinet.net.au wrote: Hi there in the latest kernel (and all those since when the patch was written) this patch is still required for the HVR-1300 to work, any chance of it getting incorporated? thanks Mike Hello Mike, Please try out the