[PATCH v3] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Sakari

Re: [PATCH v3 03/16] media: coda: fix IRAM/AXI handling for i.MX53

2012-09-03 Thread javier Martin
Hi Philipp, On 31 August 2012 10:10, Philipp Zabel p.za...@pengutronix.de wrote: This uses the ARCH_MXC specific iram_alloc API to allocate a work buffer in the SoC's on-chip SRAM and sets up the AXI_SRAM_USE register. In the future, the allocation will be converted to use the genalloc API.

Re: [PATCH v3] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Hans Verkuil
On Mon September 3 2012 09:20:51 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar prabhakar@ti.com

[PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Sakari Ailus sakari.ai...@iki.fi Cc:

Re: [PATCH v3] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Sylwester Nawrocki
On 09/03/2012 09:20 AM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by:

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Hans Verkuil
On Mon September 3 2012 11:16:17 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Sylwester Nawrocki
On 09/03/2012 11:16 AM, Prabhakar Lad wrote: diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 2d7bc15..ae709d1 100644 --- a/drivers/media/v4l2-core/v4l2-ctrls.c +++ b/drivers/media/v4l2-core/v4l2-ctrls.c @@ -430,6 +430,18 @@ const char * const

Re: [PATCH v3] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Prabhakar Lad
Hi Sylwester, Thanks for the review. On Monday 03 September 2012 02:51 PM, Sylwester Nawrocki wrote: On 09/03/2012 09:20 AM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Monday 03 September 2012 02:52 PM, Hans Verkuil wrote: On Mon September 3 2012 11:16:17 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Prabhakar Lad
Hi Sylwester, Thanks for the review. On Monday 03 September 2012 02:55 PM, Sylwester Nawrocki wrote: On 09/03/2012 11:16 AM, Prabhakar Lad wrote: diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 2d7bc15..ae709d1 100644 ---

Re: [PATCH] Add the usb id of the Trekstor DVB-T Stick Terres 2.0

2012-09-03 Thread Antti Palosaari
On 09/03/2012 02:30 AM, Philipp Dreimann wrote: It needs the e4000 tuner driver. Signed-off-by: Philipp Dreimann phil...@dreimann.net --- drivers/media/dvb-core/dvb-usb-ids.h|1 + drivers/media/usb/dvb-usb-v2/rtl28xxu.c |2 ++ 2 files changed, 3 insertions(+) diff --git

Re: [PATCH v3 04/16] media: coda: allocate internal framebuffers separately from v4l2 buffers

2012-09-03 Thread javier Martin
Hi Philipp, thank you for your effort. My comment is aimed to the whole patch. Couldn't we use a more descriptive name for these 'framebuffers'? Both the internal buffers and the output frames are framebuffers which leads to confusion. How about 'internalbuffers' or 'privatebuffers'? I know the

Re: [PATCH 1/1] v4l: Remove experimental tag from certain API elements

2012-09-03 Thread Hans Verkuil
On Sun September 2 2012 08:45:45 Sakari Ailus wrote: Remove experimantal tag from the following API elements: V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY buffer type. V4L2_CAP_VIDEO_OUTPUT_OVERLAY capability flag. VIDIOC_ENUM_FRAMESIZES IOCTL. VIDIOC_G_ENC_INDEX IOCTL. VIDIOC_ENCODER_CMD and

Re: [PATCH v3 07/16] media: coda: stop all queues in case of lockup

2012-09-03 Thread javier Martin
Hi Philipp, On 31 August 2012 10:11, Philipp Zabel p.za...@pengutronix.de wrote: Add a 1 second timeout for each PIC_RUN command to the CODA. In case it locks up, stop all queues and dequeue remaining buffers. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v2: -

Re: [PATCH v3 07/16] media: coda: stop all queues in case of lockup

2012-09-03 Thread javier Martin
On 31 August 2012 10:11, Philipp Zabel p.za...@pengutronix.de wrote: Add a 1 second timeout for each PIC_RUN command to the CODA. In case it locks up, stop all queues and dequeue remaining buffers. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v2: - Call

Re: [PATCH v3] media: mx2_camera: Don't modify non volatile parameters in try_fmt.

2012-09-03 Thread javier Martin
Hi, Guennadi,did you pick this one? Regards. On 20 August 2012 11:49, Javier Martin javier.mar...@vista-silicon.com wrote: Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- Changes since v2: - Add Signed-off-by line. --- drivers/media/video/mx2_camera.c |5 +++-- 1

Re: [PATCHv3 2/9] ir-rx51: Handle signals properly

2012-09-03 Thread Sean Young
On Sun, Sep 02, 2012 at 11:08:20PM +0300, Timo Kokkonen wrote: On 09/02/12 22:41, Sakari Ailus wrote: On Sun, Sep 02, 2012 at 06:20:27PM +0300, Timo Kokkonen wrote: On 09.02 2012 18:06:34, Sakari Ailus wrote: Heippa, Timo Kokkonen wrote: Terve, On 09/01/12 20:14, Sakari Ailus

Re: [RFC PATCH] [media] rc: filter out not allowed protocols when decoding

2012-09-03 Thread Sean Young
On Sat, Sep 01, 2012 at 09:57:09AM +0800, Du, Changbin wrote: From: Du, Changbin changbin...@gmail.com Each rc-raw device has a property allowed_protos stored in structure ir_raw_event_ctrl. But it didn't work because all decoders would be called when decoding. This path makes only allowed

[PATCH v1 0/2] Add MFC device tree support

2012-09-03 Thread Arun Kumar K
This patchset adds device tree support for s5p-mfc driver. The first patch adds DT support for both Exynos4 and 5 SoCs which has different versions of MFC. The second patch which adds DT support for the driver has to be applied over the patchset [1] which adds the MFCv6 support. Changelog: -

[PATCH v1 1/2] ARM: EXYNOS: Add MFC device tree support

2012-09-03 Thread Arun Kumar K
From: Naveen Krishna Chatradhi ch.nav...@samsung.com This patch adds device tree entry for MFC in the Exynos machines. Exynos4 SoCs support MFC v5 version and Exynos5 has MFC v6 version. So making the required changes in the clock files and adds MFC to the DT device list. Signed-off-by: Naveen

[PATCH v1 2/2] [media] s5p-mfc: Add device tree support

2012-09-03 Thread Arun Kumar K
This patch will add the device tree support for MFC driver. Signed-off-by: Arun Kumar K arun...@samsung.com --- .../devicetree/bindings/media/s5p-mfc.txt | 27 + drivers/media/platform/s5p-mfc/s5p_mfc.c | 104 +--- 2 files changed, 115 insertions(+), 16

Re: [PATCH 2/2] [media] ds3000: properly report firmware loading issues

2012-09-03 Thread Rémi Cardona
On 08/30/2012 06:00 PM, Antti Palosaari wrote: hmm, looks like ds3000_readreg() logic is still a little bit broken. It checks count of sent messages and compares it to 2. But if I2C-adapter sends only 1 message or 3 (which should not be possible) function return that count instead of

[RFC PATCH 00/10] First series of API fixes from the 2012 Media Workshop

2012-09-03 Thread Hans Verkuil
Hi all, This is the first set of patches that fix a number of V4L2 API ambiguities and related changes. A note with regards to the bus_info changes: I've enumerated the bus_info format for a number of busses. I still need to verify the USB prefix and add the prefix used by the parallel port.

[RFC PATCH 03/10] DocBook: improve STREAMON/OFF documentation.

2012-09-03 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Specify that STREAMON/OFF should return 0 if the stream is already started/stopped. The spec never specified what the correct behavior is. This ambiguity was resolved during the 2012 Media Workshop. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFC PATCH 04/10] DocBook: make the G/S/TRY_FMT specification more strict.

2012-09-03 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com - S/TRY_FMT should always succeed, unless an invalid type field is passed in. - TRY_FMT should give the same result as S_FMT, all other things being equal. - ENUMFMT may return different formats for different inputs or outputs. This was decided during

[RFC PATCH 09/10] DocBook: document when to return ENODATA.

2012-09-03 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com ENODATA should be returned if the API used for getting/changing/querying the current video timings is not supported by the current input or output. This was decided during the 2012 Media Workshop. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFC PATCH 01/10] v4l: Remove experimental tag from certain API elements

2012-09-03 Thread Hans Verkuil
From: Sakari Ailus sakari.ai...@iki.fi Remove experimantal tag from the following API elements: V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY buffer type. V4L2_CAP_VIDEO_OUTPUT_OVERLAY capability flag. VIDIOC_ENUM_FRAMESIZES IOCTL. VIDIOC_G_ENC_INDEX IOCTL. VIDIOC_ENCODER_CMD and VIDIOC_TRY_ENCODER_CMD

[RFC PATCH 06/10] v4l2-core: deprecate V4L2_BUF_TYPE_PRIVATE

2012-09-03 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This buffer type isn't used at all, and since it is effectively undefined what it should do it is deprecated. The define still exists, but any internal support for such buffers is removed. The decisions to deprecate this was taken during the 2012 Media

[RFC PATCH 05/10] DocBook: bus_info can no longer be empty.

2012-09-03 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com During the 2012 Media Workshop it was decided that bus_info as returned by VIDIOC_QUERYCAP can no longer be empty. It should be a unique identifier, and empty strings are obviously not unique. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFC PATCH 10/10] Rename V4L2_(IN|OUT)_CAP_CUSTOM_TIMINGS.

2012-09-03 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The 'custom' timings are no longer just for custom timings, but also for standard CEA/VESA timings. So rename to V4L2_IN/OUT_CAP_DV_TIMINGS. The old define is still kept for backwards compatibility. This decision was taken during the 2012 Media

[RFC PATCH 07/10] DocBook: deprecate V4L2_BUF_TYPE_PRIVATE.

2012-09-03 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com As per decision taken during the 2012 Media Workshop. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/compat.xml |2 +- Documentation/DocBook/media/v4l/io.xml | 14 ++

[RFC PATCH 08/10] v4l2: remove experimental tag from a number of old drivers.

2012-09-03 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com A number of old drivers still had the experimental tag. Time to remove it. It concerns the following drivers: VIDEO_TLV320AIC23B USB_STKWEBCAM VIDEO_CX18 VIDEO_CX18_ALSA VIDEO_ZORAN_AVS6EYES DVB_USB_AF9005 MEDIA_TUNER_TEA5761 VIDEO_NOON010PC30 This

Re: [RFC PATCH 01/10] v4l: Remove experimental tag from certain API elements

2012-09-03 Thread Rémi Denis-Courmont
Le lundi 3 septembre 2012 16:48:35, Hans Verkuil a écrit : From: Sakari Ailus sakari.ai...@iki.fi Remove experimantal tag from the following API elements: V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY buffer type. V4L2_CAP_VIDEO_OUTPUT_OVERLAY capability flag. VIDIOC_ENUM_FRAMESIZES IOCTL. The

Re: [PATCH 2/2] [media] ds3000: properly report firmware loadingissues

2012-09-03 Thread Rémi Cardona
Hi Max, On 08/31/2012 10:29 AM, nibble.max wrote: As remember that there is a fault in the tuner register read function in ds3000.c file. It will cause the read back value wrong. Well, using 0x12 works out for most of the cards we have in the wild. Not knowing what 0x11 / 0x12 means, I'd be

Re: [PATCH 1/2] [media] ds3000: Remove useless 'locking'

2012-09-03 Thread Rémi Cardona
On 08/30/2012 11:36 AM, Rémi Cardona wrote: Since b9bf2eafaad9c1ef02fb3db38c74568be601a43a, the function ds3000_firmware_ondemand() is called only once during init. This locking scheme may have been useful when the firmware was loaded at each tune. Furthermore, it looks like this 'lock' was

Re: [RFC PATCH 01/10] v4l: Remove experimental tag from certain API elements

2012-09-03 Thread Sakari Ailus
On Mon, Sep 03, 2012 at 05:07:53PM +0300, Rémi Denis-Courmont wrote: Le lundi 3 septembre 2012 16:48:35, Hans Verkuil a écrit : From: Sakari Ailus sakari.ai...@iki.fi Remove experimantal tag from the following API elements: V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY buffer type.

Re: [PATCH v3 04/16] media: coda: allocate internal framebuffers separately from v4l2 buffers

2012-09-03 Thread Philipp Zabel
Hi Javier, Am Montag, den 03.09.2012, 13:01 +0200 schrieb javier Martin: Hi Philipp, thank you for your effort. My comment is aimed to the whole patch. Couldn't we use a more descriptive name for these 'framebuffers'? Both the internal buffers and the output frames are framebuffers which

Re: [PATCH v3 07/16] media: coda: stop all queues in case of lockup

2012-09-03 Thread Philipp Zabel
Hi Javier, Am Montag, den 03.09.2012, 14:18 +0200 schrieb javier Martin: On 31 August 2012 10:11, Philipp Zabel p.za...@pengutronix.de wrote: Add a 1 second timeout for each PIC_RUN command to the CODA. In case it locks up, stop all queues and dequeue remaining buffers. Signed-off-by:

Re: [PATCH v3 07/16] media: coda: stop all queues in case of lockup

2012-09-03 Thread Philipp Zabel
Hi Javier, Am Montag, den 03.09.2012, 14:01 +0200 schrieb javier Martin: Hi Philipp, On 31 August 2012 10:11, Philipp Zabel p.za...@pengutronix.de wrote: Add a 1 second timeout for each PIC_RUN command to the CODA. In case it locks up, stop all queues and dequeue remaining buffers.

Re: gspca_pac7302 driver broken ?

2012-09-03 Thread Frank Schäfer
Am 02.09.2012 22:08, schrieb Ezequiel Garcia: Hi Frank, On Sun, Sep 2, 2012 at 2:15 PM, Frank Schäfer fschaefer@googlemail.com wrote: Hi, can anyone who owns such a device confirm that the gspca_pac7302 driver (kernel 3.6.0-rc1+) is fine ? It's working here with latest media-tree

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Sakari Ailus
Hi Prabhakar, Thanks for the patch. On Mon, Sep 03, 2012 at 02:46:17PM +0530, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar

cron job: media_tree daily build: WARNINGS

2012-09-03 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:Mon Sep 3 19:00:24 CEST 2012 git hash:79e8c7bebb467bbc3f2514d75bba669a3f354324 gcc version: i686-linux-gcc

[PATCH] Mygica X8507 audio for YPbPr, AV and S-Video

2012-09-03 Thread Alfredo Jesús Delaiti
Hi This patch add audio support for input YPbPr, AV and S-Video for Mygica X8507 card. I tried it with the 3.4 and 3.5 kernel Remains to be done: IR, FM and ISDBT Sorry if I sent the patch improperly. Signed-off-by: Alfredo J. Delaiti alfredodela...@netscape.net diff --git

[GIT PATCHES] ivtv-alsa, ivtv: Add initial ivtv-alsa interface driver for ivtv

2012-09-03 Thread Andy Walls
Mauro, Please pull this changeset which implements a basic ALSA interface for the ivtv driver. The changes are a modified cut and paste from cx18 and cx18-alsa. It inherets all the problems of the cx18-alsa driver: locking inconsistencies, ALSA mixer interface is not enabled, hardcoded sample

Re: [PATCHv3 2/9] ir-rx51: Handle signals properly

2012-09-03 Thread David Härdeman
Hej, On Mon, Sep 03, 2012 at 01:36:53PM +0100, Sean Young wrote: On Sun, Sep 02, 2012 at 11:08:20PM +0300, Timo Kokkonen wrote: I guess the assumption is to avoid breaking the transmission in the middle in case the process is signaled. And that's why we shouldn't use interruptible waits.

Re: [PATCH 0/8] rc-core: patches for 3.7

2012-09-03 Thread David Härdeman
On Thu, Aug 30, 2012 at 03:56:12PM -0400, Jarod Wilson wrote: On Sat, Aug 25, 2012 at 11:46:47PM +0200, David Härdeman wrote: This is two minor winbond-cir fixes as well as the first six patches from my previous patchbomb. The latter have been modified so that backwards compatibility is

Re: [RFC PATCH] [media] rc: filter out not allowed protocols when decoding

2012-09-03 Thread Changbin Du
mutex_lock(ir_raw_handler_lock); - list_for_each_entry(handler, ir_raw_handler_list, list) - handler-decode(raw-dev, ev); + list_for_each_entry(handler, ir_raw_handler_list, list) { + /* use all protocol by

[v3 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-09-03 Thread Hiroshi Doyu
dev_dbg_reatelimited() without DEBUG printed 217078 callbacks suppressed. This shouldn't print anything without DEBUG. With CONFIG_DYNAMIC_DEBUG, the print should be configured as expected. Signed-off-by: Hiroshi Doyu hd...@nvidia.com Reported-by: Hin-Tak Leung ht...@users.sourceforge.net

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Prabhakar Lad
Hi Sakari, Thanks for the review. On Tuesday 04 September 2012 01:09 AM, Sakari Ailus wrote: Hi Prabhakar, Thanks for the patch. On Mon, Sep 03, 2012 at 02:46:17PM +0530, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which

[PATCH v4] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Hans