[no subject]

2010-07-30 Thread ozatomic
-- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 10/13] IR: extend interfaces to support more device settings LIRC: add new IOCTL that enables learning mode (wide band receiver)

2010-07-30 Thread Maxim Levitsky
On Fri, 2010-07-30 at 23:22 +0200, Christoph Bartelmus wrote: > Hi! > > Maxim Levitsky "maximlevit...@gmail.com" wrote: > > > Still missing features: carrier report & timeout reports. > > Will need to pack these into ir_raw_event > > > Hm, this patch changes the LIRC interface but I can't see

Re: [PATCH 10/13] IR: extend interfaces to support more device settings LIRC: add new IOCTL that enables learning mode (wide band receiver)

2010-07-30 Thread Christoph Bartelmus
Hi! Maxim Levitsky "maximlevit...@gmail.com" wrote: > Still missing features: carrier report & timeout reports. > Will need to pack these into ir_raw_event Hm, this patch changes the LIRC interface but I can't see the according patch to the documentation. [...] > * @tx_ir: transmit IR >

[PATCH 2/2] v4l: Add a v4l2_subdev host private data field

2010-07-30 Thread Laurent Pinchart
The existing priv field stores subdev private data owned by the subdev driver. Host (bridge) drivers might need to store per-subdev host-specific data, such as a pointer to platform data. Add a v4l2_subdev host_priv field to store host-specific data, and rename the existing priv field to dev_priv.

[PATCH 1/2] v4l: Use v4l2_get_subdevdata instead of accessing v4l2_subdev::priv

2010-07-30 Thread Laurent Pinchart
Replace direct access to the v4l2_subdev priv field with the inline v4l2_get_subdevdata method. Signed-off-by: Laurent Pinchart --- drivers/media/video/mt9m001.c| 26 +- drivers/media/video/mt9m111.c| 20 ++-- drivers/media/video/mt9t031.c|

[PATCH 0/2] Per-subdev, host-specific data

2010-07-30 Thread Laurent Pinchart
Hi everybody, Following up on the per-subdev, host-specific data RFC, here are two patches that implement the feature. The first patch fixes various subdev drivers not to access the v4l2_subdev::priv field directly but use v4l2_get_subdevdata instead. As the function is a static inline that just

Re: [PATCH 0/9 v3] IR: few fixes, additions and ENE driver

2010-07-30 Thread Maxim Levitsky
On Fri, 2010-07-30 at 16:33 -0300, Mauro Carvalho Chehab wrote: > Em 30-07-2010 08:38, Maxim Levitsky escreveu: > > Hi, > > > > This is mostly same patchset. > > > > I addressed the comments of Andy Walls. > > > > Now IR decoding is done by a separate thread, and this fixes > > the race, and un

Re: [PATCH 06/13] IR: nec decoder: fix repeat.

2010-07-30 Thread Maxim Levitsky
On Fri, 2010-07-30 at 16:36 -0300, Mauro Carvalho Chehab wrote: > Em 30-07-2010 08:38, Maxim Levitsky escreveu: > > Repeat space is 4 units, not 8. > > Current code would never trigger a repeat. > > Yes, this fixed the issue: > > Jul 30 16:53:52 agua kernel: [24343.507577] ir_getkeycode: unknown

Re: [PATCH 06/13] IR: nec decoder: fix repeat.

2010-07-30 Thread Mauro Carvalho Chehab
Em 30-07-2010 08:38, Maxim Levitsky escreveu: > Repeat space is 4 units, not 8. > Current code would never trigger a repeat. Yes, this fixed the issue: Jul 30 16:53:52 agua kernel: [24343.507577] ir_getkeycode: unknown key for scancode 0x0009 Jul 30 16:53:52 agua kernel: [24343.507588] ir_nec_de

[cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS

2010-07-30 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:Fri Jul 30 19:00:16 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14993:9652f85e688a git master:

Re: [PATCH 0/9 v3] IR: few fixes, additions and ENE driver

2010-07-30 Thread Mauro Carvalho Chehab
Em 30-07-2010 08:38, Maxim Levitsky escreveu: > Hi, > > This is mostly same patchset. > > I addressed the comments of Andy Walls. > > Now IR decoding is done by a separate thread, and this fixes > the race, and unnesesary performance loss due to it. > > Best regards, > Maxim Levitsky >

Re: [RFC] [PATCH 1/6] SoC Camera: add driver for OMAP1 camera interface

2010-07-30 Thread Janusz Krzysztofik
Friday 30 July 2010 13:07:42 Guennadi Liakhovetski napisaƂ(a): > Hi Janusz > > Thanks once more for the patches, from your patches it is obvious, that > you've spent quite a bit of time on them and you have not just copy-pasted > various bits and pieces from other drivers, just filling your hardwar

Re: [PULL] soc-camera, sh-vou, v4l2 for 2.6.36

2010-07-30 Thread Mauro Carvalho Chehab
Em 29-07-2010 06:31, Guennadi Liakhovetski escreveu: > Hi Mauro > > The following changes since commit c57fd88318988f17731e446fe1d8498f506fdd44: > > V4L/DVB: uvcvideo: Add support for Manta MM-353 Plako (2010-07-05 19:47:16 > -0300) > > are available in the git repository at: > git://linuxt

RE: [media-ctl PATCH 2/3] Just include kernel headers

2010-07-30 Thread Aguirre, Sergio
Hi Laurent, > -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Friday, July 30, 2010 10:40 AM > To: Aguirre, Sergio > Cc: linux-media@vger.kernel.org > Subject: Re: [media-ctl PATCH 2/3] Just include kernel headers > > Hi Sergio, > > Ideal

Re: [media-ctl PATCH 2/3] Just include kernel headers

2010-07-30 Thread Laurent Pinchart
Hi Sergio, On Friday 30 July 2010 16:47:22 Aguirre, Sergio wrote: > > > On Friday 30 July 2010 9:24 AM Laurent Pinchart wrote: > > On Friday 30 July 2010 16:10:08 Aguirre, Sergio wrote: > > > On Friday 30 July 2010 8:45 AM Laurent Pinchart wrote: > > > > On Wednesday 14 July 2010 18:17:25 Sergio A

Re: [PATCH 00/20] MT9M111/MT9M131

2010-07-30 Thread Guennadi Liakhovetski
Hi Michael Thanks for the patches, and for taking care about my holiday - now I will definitely not have to be bored, while lying around on tropical beaches of Denmark;) Ok, I will review them, and I hope you realise, this has practically 0 chance to get into 2.6.36, unless Linus decides to re

[PATCH 02/20] mt9m111: init chip after read CHIP_VERSION

2010-07-30 Thread Michael Grzeschik
Moved mt9m111_init after the chip version detection passage: I don't like the idea of writing on a device we haven't identified yet. Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-)

[PATCH 06/20] mt9m111: changed MAX_{HEIGHT,WIDTH} values to silicon pixelcount

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index 5f0c55e..2080615 100644 --- a/drivers/media/video/mt9m

[PATCH 18/20] mt9m111: make use of testpattern in debug mode

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c | 63 + 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index f327177..799a735

[PATCH 05/20] mt9m111: added default row/col/width/height values

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index aeb2241..5f0c55e 100644 --- a/drivers/media/video/mt9m

[PATCH 19/20] mt9m111: try_fmt rewrite to use preset values

2010-07-30 Thread Michael Grzeschik
make use of the format.rect boundery values Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c | 41 +++-- 1 files changed, 19 insertions(+), 22 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/driver

[PATCH 11/20] mt9m111: added mt9m111 format structure

2010-07-30 Thread Michael Grzeschik
removed unused rect and fmt structs from mt9m111 struct set default values for mf.colorspace and mf.code to the common raw format V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE. rewrote following functions to make use the new format structure: * restore_state, * g_fmt, * s_fmt, * g_crop, * s_crop, * setup_re

[PATCH 17/20] mt9m111: rewrite set_pixfmt

2010-07-30 Thread Michael Grzeschik
removed pixfmt helper functions and option flags setting the configuration register directly in set_pixfmt Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c | 142 - 1 files changed, 56 insertions(+), 86 de

[PATCH 15/20] mt9m111: rewrite setup_rect, added soft_crop for smooth panning

2010-07-30 Thread Michael Grzeschik
-soft_crop: enables the use of the sensors cropping abilities instead of using real roi. This is needed to make use of the 'pan' registers for smooth panning. Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c | 106 +++

[PATCH 16/20] mt9m111: added more supported BE colour formats

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index 11a68b6..6da9f48 100644 --- a/drivers/media/video/mt9m11

[PATCH 14/20] mt9m111: added reg_mask function

2010-07-30 Thread Michael Grzeschik
reg_mask is basically the same as clearing & setting registers, but it is more convenient and faster (saves one rw cycle). Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) dif

[PATCH 10/20] mt9m111: rewrite make_rect for positioning in debug

2010-07-30 Thread Michael Grzeschik
If DEBUG is defined it is possible to set upper left corner Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c | 31 +++ 1 files changed, 23 insertions(+), 8 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/d

[PATCH 20/20] mt9m111: s_fmt make use of try_fmt

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c | 60 +++-- 1 files changed, 28 insertions(+), 32 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index f472ca1..ec758a

[PATCH 13/20] mt9m111: s_crop check for VIDEO_CAPTURE type

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index 2758a97..4dbaf31 100644 --- a/drivers/media/video/mt9m1

[PATCH 12/20] mt9m111: s_crop add calculation of output size

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index cc0f996..2758a97 100644 --- a/drivers/media/video/

[PATCH 08/20] mt9m111: cropcap use defined default rect properties in defrect

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index f024cc5..3b19274 100644 --- a/drivers/media/video/mt9

[PATCH 07/20] mt9m111: changed MIN_DARK_COLS to MT9M131 spec count

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index 2080615..f024cc5 100644 --- a/drivers/media/video/mt9m11

[PATCH 09/20] mt9m111: cropcap check if type is CAPTURE

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index 3b19274..e8d8e9b 100644 --- a/drivers/media/video/mt9m

[PATCH 04/20] mt9m111: added new bit offset defines

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index c72c4b0..aeb2241 100644 --- a/drivers/media/video/mt

[PATCH 00/20] MT9M111/MT9M131

2010-07-30 Thread Michael Grzeschik
Hi everyone, the following patchseries was created in a rewrite process of the mt9m111 camera driver while it was tested for support of the very similar silicon mt9m121. Some patches add functionality like panning or test pattern generation or adjust rectengular positioning while others do some re

[PATCH 03/20] mt9m111: register cleanup hex to dec bitoffset

2010-07-30 Thread Michael Grzeschik
Signed-off-by: Philipp Wiesner Signed-off-by: Michael Grzeschik --- drivers/media/video/mt9m111.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index 39dff7c..c72c4b0 100644 --- a/drivers/medi

[PATCH 01/20] mt9m111: Added indication that MT9M131 is supported by this driver

2010-07-30 Thread Michael Grzeschik
From: Philipp Wiesner Added this info to Kconfig and mt9m111.c, some comment cleanup, replaced 'mt9m11x'-statements by clarifications or driver name. Driver is fully compatible to mt9m131 which has only additional functions compared to mt9m111. Those aren't used anyway at the moment. Signed-off-

RE: [media-ctl PATCH 2/3] Just include kernel headers

2010-07-30 Thread Aguirre, Sergio
Hi Laurent, > -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Friday, July 30, 2010 9:24 AM > To: Aguirre, Sergio > Cc: linux-media@vger.kernel.org > Subject: Re: [media-ctl PATCH 2/3] Just include kernel headers > > Hi Sergio, > > On Friday

RE: [PATCH v5 0/3] Multi-planar video format and buffer support for the V4L2 API

2010-07-30 Thread Karicheri, Muralidharan
> > struct v4l2_format { >enum v4l2_buf_type type; >union { >struct v4l2_pix_format pix; /* >V4L2_BUF_TYPE_VIDEO_CAPTURE */ >+ struct v4l2_pix_format_mplane pix_mp; /* >V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE */ >struct v4l2

Re: [media-ctl PATCH 2/3] Just include kernel headers

2010-07-30 Thread Laurent Pinchart
Hi Sergio, On Friday 30 July 2010 16:10:08 Aguirre, Sergio wrote: > On Friday 30 July 2010 8:45 AM Laurent Pinchart wrote: > > On Wednesday 14 July 2010 18:17:25 Sergio Aguirre wrote: > > > We shouldn't require full kernel source for this. > > > > That's right in theory, but I then get > > > > $

RE: [media-ctl PATCH 2/3] Just include kernel headers

2010-07-30 Thread Aguirre, Sergio
Hi Laurent, > -Original Message- > From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] > Sent: Friday, July 30, 2010 8:45 AM > To: Aguirre, Sergio > Cc: linux-media@vger.kernel.org > Subject: Re: [media-ctl PATCH 2/3] Just include kernel headers > > Hi Sergio, > > On Wednes

Re: [RFC/PATCH v3 03/10] media: Entities, pads and links

2010-07-30 Thread Sakari Ailus
Hi Laurent, And thanks for the patch! Laurent Pinchart wrote: ... > diff --git a/include/media/media-device.h b/include/media/media-device.h > index bd559b0..ac96847 100644 > --- a/include/media/media-device.h > +++ b/include/media/media-device.h > @@ -23,8 +23,10 @@ > > #include > #include

Re: [media-ctl PATCH 2/3] Just include kernel headers

2010-07-30 Thread Laurent Pinchart
Hi Sergio, On Wednesday 14 July 2010 18:17:25 Sergio Aguirre wrote: > We shouldn't require full kernel source for this. That's right in theory, but I then get $ make KDIR=/home/laurent/src/arm/kernel/ arm-none-linux-gnueabi-gcc -O2 -Wall -fpic -I. -I/home/laurent/src/arm/kernel//include-c -

Re: [media-ctl PATCH 3/3] Be able to add more CFLAGS

2010-07-30 Thread Laurent Pinchart
Hi Sergio, Thanks for the patch, and sorry for the delay. Applied. On Wednesday 14 July 2010 18:17:26 Sergio Aguirre wrote: > This allows the gcc compilation to build with extra parameters. > > For example, if we want to build with -static, we just do: > > make CFLAGS=-static > > Signed-off-by

Re: [media-ctl PATCH 1/3] Create initial .gitignore file

2010-07-30 Thread Laurent Pinchart
Hi Sergio, Thanks for the patch, and sorry for the delay. Applied. On Wednesday 14 July 2010 18:17:24 Sergio Aguirre wrote: > The idea of this file is to ignore build generated files, and also > the "standard" patches subfolder, used by quilt for example. > > Signed-off-by: Sergio Aguirre > ---

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-07-30 Thread Maxim Levitsky
On Fri, 2010-07-30 at 08:07 -0400, Jon Smirl wrote: > On Fri, Jul 30, 2010 at 8:02 AM, Jon Smirl wrote: > > On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky > > wrote: > >> On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote: > >>> On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky > >>> wrote: >

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-07-30 Thread Jon Smirl
On Fri, Jul 30, 2010 at 8:02 AM, Jon Smirl wrote: > On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky > wrote: >> On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote: >>> On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky >>> wrote: >>> > On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote: >>> >> O

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-07-30 Thread Jon Smirl
On Fri, Jul 30, 2010 at 7:54 AM, Maxim Levitsky wrote: > On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote: >> On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky >> wrote: >> > On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote: >> >> On Thu, 2010-07-29 at 22:39 -0400, Jon Smirl wrote: >> >> > On

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-07-30 Thread Maxim Levitsky
On Fri, 2010-07-30 at 07:51 -0400, Jon Smirl wrote: > On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky > wrote: > > On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote: > >> On Thu, 2010-07-29 at 22:39 -0400, Jon Smirl wrote: > >> > On Thu, Jul 29, 2010 at 10:17 PM, Maxim Levitsky > >> > wrote:

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-07-30 Thread Jon Smirl
On Fri, Jul 30, 2010 at 7:36 AM, Maxim Levitsky wrote: > On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote: >> On Thu, 2010-07-29 at 22:39 -0400, Jon Smirl wrote: >> > On Thu, Jul 29, 2010 at 10:17 PM, Maxim Levitsky >> > wrote: >> > > note that error_adjustment module option is added. >> > > T

Re: [PATCH v2]Resend:videobuf_dma_sg: a new implementation for mmap

2010-07-30 Thread Figo.zhang
On Fri, 2010-07-30 at 11:31 +0200, Laurent Pinchart wrote: > Hi, > > On Friday 30 July 2010 02:08:02 Figo.zhang wrote: > > a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when > > it encounter page fault at video_vm_ops->fault(). pls see > > http://www.spinics.net/lists/linu

Re: [PATCH v2]Resend:videobuf_dma_sg: a new implementation for mmap

2010-07-30 Thread Figo.zhang
On Fri, 2010-07-30 at 11:31 +0200, Laurent Pinchart wrote: > Hi, > > On Friday 30 July 2010 02:08:02 Figo.zhang wrote: > > a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when > > it encounter page fault at video_vm_ops->fault(). pls see > > http://www.spinics.net/lists/linu

[PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-07-30 Thread Maxim Levitsky
Signed-off-by: Maxim Levitsky --- MAINTAINERS |6 + drivers/media/IR/Kconfig | 14 + drivers/media/IR/Makefile |1 + drivers/media/IR/ene_ir.c | 595 + drivers/media/IR/ene_ir.h | 51 ++--- 5 files changed, 265 insertions(+),

[PATCH 10/13] IR: extend interfaces to support more device settings LIRC: add new IOCTL that enables learning mode (wide band receiver)

2010-07-30 Thread Maxim Levitsky
Still missing features: carrier report & timeout reports. Will need to pack these into ir_raw_event Signed-off-by: Maxim Levitsky --- drivers/media/IR/ir-core-priv.h |1 + drivers/media/IR/ir-lirc-codec.c | 112 +++--- include/media/ir-core.h | 1

[PATCH 11/13] IR: report unknown scancodes the in-kernel decoders found.

2010-07-30 Thread Maxim Levitsky
This way it is possible to use evtest to create keymap for unknown remote. Signed-off-by: Maxim Levitsky --- drivers/media/IR/ir-keytable.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/media/IR/ir-keytable.c b/drivers/media/IR/ir-keytable.c index 34b9c0

[PATCH 09/13] IR: add helper function for hardware with small o/b buffer.

2010-07-30 Thread Maxim Levitsky
Some ir input devices have small buffer, and interrupt the host each time it is full (or half full) Add a helper that automaticly handles timeouts, and also automaticly merges samples of same time (space-space) Such samples might be placed by hardware because size of sample in the buffer is small

[PATCH 07/13] IR: NECX: support repeat

2010-07-30 Thread Maxim Levitsky
This adds support for repeat detecting for NECX variant Tested with uneversal remote Signed-off-by: Maxim Levitsky --- drivers/media/IR/ir-core-priv.h |1 + drivers/media/IR/ir-nec-decoder.c | 16 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/me

[PATCH 08/13] IR: Allow not to compile keymaps in.

2010-07-30 Thread Maxim Levitsky
Currently, ir device registration fails if keymap requested by driver is not found. Fix that by always compiling in the empty keymap, and using it as a failback. Signed-off-by: Maxim Levitsky --- drivers/media/IR/ir-core-priv.h |3 +- drivers/media/IR/ir-sysfs.c |2 + driver

[PATCH 06/13] IR: nec decoder: fix repeat.

2010-07-30 Thread Maxim Levitsky
Repeat space is 4 units, not 8. Current code would never trigger a repeat. However that isn't true for NECX, so repeat there must be handled differently. Signed-off-by: Maxim Levitsky --- drivers/media/IR/ir-nec-decoder.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

[PATCH 04/13] IR: fix locking in ir_raw_event_work

2010-07-30 Thread Maxim Levitsky
It is prefectly possible to have ir_raw_event_work running concurently on two cpus, thus we must protect it from that situation. Just switch to a thread that we wake up as soon as we have data. This also ensures that this thread doesn't run unnessesarly. Signed-off-by: Maxim Levitsky --- driver

[PATCH 05/13] IR: JVC: make repeat work

2010-07-30 Thread Maxim Levitsky
Currently, jvc decoder will attempt misdetect next press as a repeat of last keypress, therefore second keypress isn't detected. Signed-off-by: Maxim Levitsky --- drivers/media/IR/ir-jvc-decoder.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/drivers/medi

[PATCH 03/13] IR: replace spinlock with mutex.

2010-07-30 Thread Maxim Levitsky
Some handlers (lirc for example) allocates memory on initialization, doing so in atomic context is cumbersome. Fixes warning about sleeping function in atomic context. Signed-off-by: Maxim Levitsky --- drivers/media/IR/ir-raw-event.c | 28 ++-- 1 files changed, 14 inser

[PATCH 01/13] IR: Kconfig fixes

2010-07-30 Thread Maxim Levitsky
Move IR drives below separate menu. This allows to disable them. Also correct a typo. Signed-off-by: Maxim Levitsky --- drivers/media/IR/Kconfig | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/media/IR/Kconfig b/drivers/media/IR/Kconfig index e557ae0..fc

[PATCH 02/13] IR: minor fixes:

2010-07-30 Thread Maxim Levitsky
* lirc: Don't propagate reset event to userspace * lirc: Remove strange logic from lirc that would make first sample always be pulse * Make TO_US macro actualy print what it should. Signed-off-by: Maxim Levitsky --- drivers/media/IR/ir-core-priv.h |4 +--- drivers/media/IR/ir-lirc-codec.c

[PATCH 0/9 v3] IR: few fixes, additions and ENE driver

2010-07-30 Thread Maxim Levitsky
Hi, This is mostly same patchset. I addressed the comments of Andy Walls. Now IR decoding is done by a separate thread, and this fixes the race, and unnesesary performance loss due to it. Best regards, Maxim Levitsky -- To unsubscribe from this list: send the line "unsubscribe linux-m

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-07-30 Thread Maxim Levitsky
On Thu, 2010-07-29 at 23:46 -0400, Andy Walls wrote: > On Thu, 2010-07-29 at 22:39 -0400, Jon Smirl wrote: > > On Thu, Jul 29, 2010 at 10:17 PM, Maxim Levitsky > > wrote: > > > note that error_adjustment module option is added. > > > This allows to reduce input samples by a percent. > > > This ma

Re: [RFC] [PATCH 1/6] SoC Camera: add driver for OMAP1 camera interface

2010-07-30 Thread Guennadi Liakhovetski
Hi Janusz Thanks once more for the patches, from your patches it is obvious, that you've spent quite a bit of time on them and you have not just copy-pasted various bits and pieces from other drivers, just filling your hardware details, but you also actually understand a lot of what is actually

Re: [PATCH 04/13] IR: fix locking in ir_raw_event_work

2010-07-30 Thread Maxim Levitsky
On Thu, 2010-07-29 at 22:42 -0400, Andy Walls wrote: > On Fri, 2010-07-30 at 05:17 +0300, Maxim Levitsky wrote: > > It is prefectly possible to have ir_raw_event_work > > running concurently on two cpus, thus we must protect > > it from that situation. > > Yup, the work is marked as not pending (

Re: [PATCH v2]Resend:videobuf_dma_sg: a new implementation for mmap

2010-07-30 Thread Laurent Pinchart
Hi, On Friday 30 July 2010 02:08:02 Figo.zhang wrote: > a mmap issue for videobuf-dma-sg: it will alloc a new page for mmaping when > it encounter page fault at video_vm_ops->fault(). pls see > http://www.spinics.net/lists/linux-media/msg21243.html > > a new implementation for mmap, it translate

[PATCH v5 2/3] v4l: Add multi-planar ioctl handling code

2010-07-30 Thread Pawel Osciak
Add multi-planar API core ioctl handling and conversion functions. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park Reviewed-by: Marek Szyprowski --- drivers/media/video/v4l2-ioctl.c | 418 ++ include/media/v4l2-ioctl.h | 16 ++ 2 files chan

[PATCH v5 3/3] v4l: Add compat functions for the multi-planar API

2010-07-30 Thread Pawel Osciak
Add multi-planar ioctl handling to the 32bit compatibility layer. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-compat-ioctl32.c | 221 + 1 files changed, 190 insertions(+), 31 deletions(-) diff --git a/drivers/media/video/v4

[PATCH v5 0/3] Multi-planar video format and buffer support for the V4L2 API

2010-07-30 Thread Pawel Osciak
Hello, After 9 months since the first proposal, lots of discussion and many changes, including an almost full redesign between versions 3 and 4, I present the patches that add the fifth version of the multi-planar API for V4L2. I am posting patches first for everyone to be able to take a look ea

[PATCH v5 1/3] v4l: Add multi-planar API definitions to the V4L2 API

2010-07-30 Thread Pawel Osciak
Multi-planar API is as a backwards-compatible extension of the V4L2 API, which allows video buffers to consist of one or more planes. Planes are separate memory buffers; each has its own mapping, backed by usually separate physical memory buffers. Many different uses for the multi-planar API are p