Re: [PATCH 1/2] videobuf2-dma-sg: Allocate pages as contiguous as possible

2013-07-30 Thread Sakari Ailus
Hi Jon and Sylwester, On Mon, Jul 29, 2013 at 09:16:44AM -0600, Jonathan Corbet wrote: > On Mon, 29 Jul 2013 13:27:12 +0200 > Marek Szyprowski wrote: > > > > You've gone to all this trouble to get a higher-order allocation so you'd > > > have fewer segments, then you undo it all by splitting thi

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-30 Thread Felipe Balbi
Hi, On Wed, Jul 31, 2013 at 11:14:32AM +0530, Kishon Vijay Abraham I wrote: > > IMHO we need a lookup method for PHYs, just like for clocks, > > regulators, PWMs or even i2c busses because there are complex cases > > when passing just a name using platform data will not work. I would >

Re: [PATCHv2 FINAL 0/6] qv4l2: add OpenGL rendering and window fixes

2013-07-30 Thread Bård Eirik Winther
On Tuesday, July 30, 2013 10:12:33 AM you wrote: > Em Tue, 30 Jul 2013 10:15:18 +0200 > Bård Eirik Winther escreveu: > > ... > > > Performance: > > All tests are done on an Intel i7-2600S (with Turbo Boost disabled) using > > the > > integrated Intel HD 2000 graphics processor. The mothreboard

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-30 Thread Kishon Vijay Abraham I
Hi, On Tuesday 30 July 2013 12:41 PM, Felipe Balbi wrote: > On Sun, Jul 21, 2013 at 08:46:53AM -0700, Greg KH wrote: >> On Sun, Jul 21, 2013 at 01:12:07PM +0200, Tomasz Figa wrote: >>> On Sunday 21 of July 2013 16:37:33 Kishon Vijay Abraham I wrote: Hi, On Sunday 21 July 2013 04:01

[PATCH 1/5] [media] redrat3: ensure whole packet is read

2013-07-30 Thread Sean Young
The length in the header excludes the header itself, so we're getting spurious readings. Signed-off-by: Sean Young --- drivers/media/rc/redrat3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c index 0042367..ccd267f 1

[PATCH 4/5] [media] winbond: wire up rc feedback led

2013-07-30 Thread Sean Young
Note that with the rc-feedback trigger, the cir-rx trigger is now redundant. The cir-tx trigger is not used by default; if this functionality is desired then it should exist in rc-core, not in a driver. Also make sure that the led is suspended on suspend. Signed-off-by: Sean Young --- drivers/m

[PATCH 3/5] [media] ttusbir: wire up rc feedback led

2013-07-30 Thread Sean Young
Signed-off-by: Sean Young --- drivers/media/rc/ttusbir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/rc/ttusbir.c b/drivers/media/rc/ttusbir.c index 891762d..d8de205 100644 --- a/drivers/media/rc/ttusbir.c +++ b/drivers/media/rc/ttusbir.c @@ -302,6 +302,7 @@ static int ttusb

[PATCH 5/5] [media] redrat3: wire up rc feedback led

2013-07-30 Thread Sean Young
Signed-off-by: Sean Young --- drivers/media/rc/Kconfig | 2 ++ drivers/media/rc/redrat3.c | 83 -- 2 files changed, 82 insertions(+), 3 deletions(-) diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 7fa6b22..11e84bc 100644 --- a

[PATCH 2/5] [media] rc: add feedback led trigger for rc keypresses

2013-07-30 Thread Sean Young
Many devices with an ir receiver also have a feedback led. Add the led trigger to support this. Signed-off-by: Sean Young --- drivers/media/rc/rc-main.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 1cf382a..628ac2a 100644

[PATCH 2/2] dvb_usb_v2: get rid of deferred probe

2013-07-30 Thread Antti Palosaari
Deferred probe was added in order to avoid udev vs. Kernel firmware download problems. It is not needed anymore. https://bugzilla.redhat.com/show_bug.cgi?id=827538 Signed-off-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/dvb_usb.h | 5 -- drivers/media/usb/dvb-usb-v2/dvb_usb_core.

[PATCH 1/2] lme2510: do not use bInterfaceNumber from dvb_usb_v2

2013-07-30 Thread Antti Palosaari
No need to access bInterfaceNumber via dvb_usb_v2 internals as driver has it already. That patch is prepare for dvb_usb_v2 deferred probe hack removal. It was added due to udev firmware loading problems, but things are fixed after that and it is not needed anymore. Cc: Malcolm Priestley Signed-o

cron job: media_tree daily build: WARNINGS

2013-07-30 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: Tue Jul 30 19:00:20 CEST 2013 git branch: test git hash: 408ed9924c0d56d07e0888f6ae560a534ce5c18f gcc versi

Re: Question about v4l2-compliance: cap->readbuffers

2013-07-30 Thread Hans Verkuil
Hi Ricardo, On 07/30/2013 05:46 PM, Ricardo Ribalda Delgado wrote: > Hello > > I have a camera that works on two modes: Mono and colour. On color > mode it has 3 gains, on mono mode it has 1 gain. > > When the user sets the output to mono I disable the color controls > (and the other way around)

Re: Question about v4l2-compliance: cap->readbuffers

2013-07-30 Thread Ricardo Ribalda Delgado
Hello I have a camera that works on two modes: Mono and colour. On color mode it has 3 gains, on mono mode it has 1 gain. When the user sets the output to mono I disable the color controls (and the other way around). Also on color mode the hflip and vflip do not work, therefore I dont show them.

Re: Question about v4l2-compliance: cap->readbuffers

2013-07-30 Thread Hans Verkuil
On Tue 30 July 2013 17:18:58 Ricardo Ribalda Delgado wrote: > Thanks for the explanation Hans! > > I finaly manage to pass that one ;) > > Just one more question. Why the compliance test checks if the DISABLED > flag is on on for qctrls? > > http://git.linuxtv.org/v4l-utils.git/blob/3ae390e54a0b

Re: Question about v4l2-compliance: cap->readbuffers

2013-07-30 Thread Ricardo Ribalda Delgado
Thanks for the explanation Hans! I finaly manage to pass that one ;) Just one more question. Why the compliance test checks if the DISABLED flag is on on for qctrls? http://git.linuxtv.org/v4l-utils.git/blob/3ae390e54a0ba627c9e74953081560192b996df4:/utils/v4l2-compliance/v4l2-test-controls.cpp#l

Re: Question about v4l2-compliance: cap->readbuffers

2013-07-30 Thread Hans Verkuil
On Tue 30 July 2013 15:12:57 Ricardo Ribalda Delgado wrote: > Hello > > I am developing a driver for a camera that supports read/write and > mmap access to the buffers. > > When I am running the compliance test, I cannot pass it because of > this test on v4l2-test-formats.cpp > > 904

Re: [PATCH] v4l2_compliance: -EINVAL is expected when ret is not 0

2013-07-30 Thread Hans Verkuil
On Tue 30 July 2013 14:59:23 Ricardo Ribalda Delgado wrote: > Otherwise the driver can never return a register Good catch! I didn't test this as root, which I should have done. Thanks! Hans > > Signed-off-by: Ricardo Ribalda Delgado > --- > utils/v4l2-compliance/v4l2-test-debug.cpp |

Question about v4l2-compliance: cap->readbuffers

2013-07-30 Thread Ricardo Ribalda Delgado
Hello I am developing a driver for a camera that supports read/write and mmap access to the buffers. When I am running the compliance test, I cannot pass it because of this test on v4l2-test-formats.cpp 904 if (!(node->caps & V4L2_CAP_READWRITE)) 905 fail_

Re: [PATCHv2 FINAL 0/6] qv4l2: add OpenGL rendering and window fixes

2013-07-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Jul 2013 10:15:18 +0200 Bård Eirik Winther escreveu: ... > Performance: > All tests are done on an Intel i7-2600S (with Turbo Boost disabled) using the > integrated Intel HD 2000 graphics processor. The mothreboard is an ASUS > P8H77-I > with 2x2GB CL 9-9-9-24 DDR3 RAM. The capture c

[PATCH] v4l2_compliance: -EINVAL is expected when ret is not 0

2013-07-30 Thread Ricardo Ribalda Delgado
Otherwise the driver can never return a register Signed-off-by: Ricardo Ribalda Delgado --- utils/v4l2-compliance/v4l2-test-debug.cpp |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/v4l2-compliance/v4l2-test-debug.cpp b/utils/v4l2-compliance/v4l2-test-debug.cpp inde

Re: [PATCHv2 FINAL 2/6] qv4l2: add hotkeys for common operations

2013-07-30 Thread Mauro Carvalho Chehab
Hi Bård/Hans, Em Tue, 30 Jul 2013 10:15:20 +0200 Bård Eirik Winther escreveu: > CTRL + V : When main window is selected start capture. >This gives an option other than the button to start recording, >as this is a frequent operation when using the utility. > CTRL + W : Whe

[PATCH 2/6] V4L2: mx3_camera: print V4L2_MBUS_FMT_* codes in hexadecimal format

2013-07-30 Thread Guennadi Liakhovetski
V4L2_MBUS_FMT_* codes are defined in v4l2-mediabus.h as hexadecimal constants. Print them in the same form for easier recognition. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/mx3_camera.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 3/6] V4L2: mx3_camera: add support for asynchronous subdevice registration

2013-07-30 Thread Guennadi Liakhovetski
The soc-camera core does all the work on supporting asynchronous subdevice probing, host drivers only have to pass a subdevice list to soc-camera. Typically this list is provided by the platform. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/mx3_camera.c | 16 +

[PATCH 1/6] V4L2: mx3_camera: convert to managed resource allocation

2013-07-30 Thread Guennadi Liakhovetski
Use devm_* resource allocators to simplify the driver's probe and clean up paths. Signed-off-by: Guennadi Liakhovetski --- drivers/media/platform/soc_camera/mx3_camera.c | 47 +--- 1 files changed, 10 insertions(+), 37 deletions(-) diff --git a/drivers/media/platform/soc_c

[PATCH 6/6] V4L2: soc-camera: fix requesting regulators in synchronous case

2013-07-30 Thread Guennadi Liakhovetski
With synchronous subdevice probing regulators should be requested by the soc-camera core in soc_camera_pdrv_probe(). Subdevice drivers, supporting asynchronous probing, call soc_camera_power_init() to request regulators. Erroneously, the same regulator array is used in the latter case as in the for

[PATCH 4/6] V4L2: mt9t031: don't Oops if asynchronous probing is attempted

2013-07-30 Thread Guennadi Liakhovetski
The mt9t031 driver hasn't yet been updated to support asynchronous subdevice probing. If such a probing is attempted, the driver is allowed to fail, but it shouldn't Oops. This patch fixes such a potential NULL pointer dereference. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_c

[PATCH 0/6] V4L2: soc-camera: more asynchronous probing work

2013-07-30 Thread Guennadi Liakhovetski
A bunch of patches to extend asynchronous subdevice probing in soc-camera. They refresh the mx3-camera driver a bit by converting it to managed resource allocation and adding asynchronous probing support. mt9m111 is also ported to support both types of probing. Also regulator handling is fixed in

[PATCH 5/6] V4L2: mt9m111: switch to asynchronous subdevice probing

2013-07-30 Thread Guennadi Liakhovetski
Convert the mt9m111 driver to asynchronous subdevice probing. Synchronous probing is also still possible. Signed-off-by: Guennadi Liakhovetski --- drivers/media/i2c/soc_camera/mt9m111.c | 38 +-- 1 files changed, 26 insertions(+), 12 deletions(-) diff --git a/drive

Re: [RFC v3 3/3] saa7115: Implement i2c_board_info.platform_data

2013-07-30 Thread Jon Arne Jørgensen
Hi Hans, Seems I've had some trouble with my mailserver that caused your message to bounce. I had to download your email from a mailinglist archive. On Wed, Jul 03, 2013 at 10:27:20PM -, hans.verk...@cisco.com wrote: > Hi Jon Arne, > > Patches 1 & 2 look good to me. But I do have a few comm

Re: [PATCH v3 4/5] v4l: Add V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV61M formats

2013-07-30 Thread Sakari Ailus
On Tue, Jul 30, 2013 at 01:16:54PM +0200, Laurent Pinchart wrote: ... > > > + This is a multi-planar, two-plane version of the YUV 4:2:0 > format. > > > +The three components are separated into two sub-images or planes. > > > +V4L2_PIX_FMT_NV16M differs from > > > V4L2_PIX_FMT_NV16 + in that the t

Re: [PATCH v3 4/5] v4l: Add V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV61M formats

2013-07-30 Thread Laurent Pinchart
Hi Sakari, Thank you for the review. On Tuesday 30 July 2013 14:09:34 Sakari Ailus wrote: > On Thu, Jul 25, 2013 at 03:00:12PM +0200, Laurent Pinchart wrote: > > From: Laurent Pinchart > > > > NV16M and NV61M are planar YCbCr 4:2:2 and YCrCb 4:2:2 formats with a > > luma plane followed by an in

Re: [PATCH v3 4/5] v4l: Add V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV61M formats

2013-07-30 Thread Sakari Ailus
On Thu, Jul 25, 2013 at 03:00:12PM +0200, Laurent Pinchart wrote: > From: Laurent Pinchart > > NV16M and NV61M are planar YCbCr 4:2:2 and YCrCb 4:2:2 formats with a > luma plane followed by an interleaved chroma plane. The planes are not > required to be contiguous in memory, and the formats can

Re: [PATCH v3 2/5] v4l: Fix V4L2_MBUS_FMT_YUV10_1X30 media bus pixel code value

2013-07-30 Thread Sakari Ailus
On Thu, Jul 25, 2013 at 03:00:10PM +0200, Laurent Pinchart wrote: > From: Laurent Pinchart > > The V4L2_MBUS_FMT_YUV10_1X30 code is documented as being equal to > 0x2014, while the v4l2-mediabus.h header defines it as 0x2016. Fix the > documentation. > > Signed-off-by: Laurent Pinchart > --- >

CONTACT ME FOR MORE DETAILS

2013-07-30 Thread David FreeMan
Contact Me For More Details-- I am Mr. David S. Freeman, the Principal Partner of Paull & Williamsons Solicitors, Scotland.my late client willied he sum of 7.5 Million Pounds Sterling to you as his next of kin.Please ENSURE TO contact me via email for more info. Thanks, David Freeman N.B: Only Con

[PATCHv2 FINAL 6/6] qv4l2: add OpenGL rendering

2013-07-30 Thread Bård Eirik Winther
Adds OpenGL-accelerated display of video. This allows for using the graphics card to render the video content to screen and to perform color space conversion. Signed-off-by: Bård Eirik Winther --- configure.ac | 8 +- utils/qv4l2/Makefile.am| 8 +- utils/qv4l2/captu

[PATCHv2 FINAL 2/6] qv4l2: add hotkeys for common operations

2013-07-30 Thread Bård Eirik Winther
CTRL + V : When main window is selected start capture. This gives an option other than the button to start recording, as this is a frequent operation when using the utility. CTRL + W : When CaptureWin is selected close capture window It makes it easier to deal with

[PATCHv2 FINAL 0/6] qv4l2: add OpenGL rendering and window fixes

2013-07-30 Thread Bård Eirik Winther
The qv4l2 test utility now supports OpenGL-accelerated display of video. This allows for using the graphics card to render the video content to screen and to perform color space conversion. The OpenGL implementation requires OpenGL and QtOpenGL libraries as well as an OpenGL driver (typically fro

[PATCHv2 FINAL 5/6] qv4l2: new modular capture window design

2013-07-30 Thread Bård Eirik Winther
The display of video has been divided into classes to easier implement other ways to render frames on screen. Signed-off-by: Bård Eirik Winther --- utils/qv4l2/Makefile.am| 4 +- utils/qv4l2/capture-win-qt.cpp | 89 +++ utils/qv4l2/capture-win-qt.h

[PATCHv2 FINAL 3/6] qv4l2: fix minimum size in capture win to frame size

2013-07-30 Thread Bård Eirik Winther
CaptureWin's setMinimumSize() sets the minimum size for the video frame viewport and not for the window itself. If the minimum size is larger than the monitor resolution, it will reduce the minimum size to match this. Signed-off-by: Bård Eirik Winther --- utils/qv4l2/capture-win.cpp | 29 ++

[PATCHv2 FINAL 1/6] qv4l2: move function ctrlEvent

2013-07-30 Thread Bård Eirik Winther
Moved the ctrlEvent() function in qv4l2.cpp to be grouped with GUI function and to group capFrame() and capVbiFrame() together. Signed-off-by: Bård Eirik Winther --- utils/qv4l2/qv4l2.cpp | 94 +-- 1 file changed, 47 insertions(+), 47 deletions(-)

[PATCHv2 FINAL 4/6] qv4l2: add Capture menu

2013-07-30 Thread Bård Eirik Winther
Created a new Capture menu that contains both capture controls and audio/video settings for capture. Signed-off-by: Bård Eirik Winther --- utils/qv4l2/qv4l2.cpp | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/qv4l2/qv4l2.cpp b/utils/qv4l2/qv4l2.cpp index bb1d84f.

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-30 Thread Guennadi Liakhovetski
Hi Matsubara-san, On Tue, 30 Jul 2013, Katsuya MATSUBARA wrote: > > Hi Guennadi, > > From: Guennadi Liakhovetski > Date: Fri, 26 Jul 2013 13:11:52 +0200 (CEST) > > > Hello Matsubara-san > > > > On Thu, 25 Jul 2013, Katsuya MATSUBARA wrote: > > > >> > >> Hi Vladimir, [snip] > >> I tested

Re: [PATCH v8] V4L2: soc_camera: Renesas R-Car VIN driver

2013-07-30 Thread Katsuya MATSUBARA
Hi Guennadi, From: Guennadi Liakhovetski Date: Fri, 26 Jul 2013 13:11:52 +0200 (CEST) > Hello Matsubara-san > > On Thu, 25 Jul 2013, Katsuya MATSUBARA wrote: > >> >> Hi Vladimir, >> >> From: Vladimir Barinov >> Date: Thu, 25 Jul 2013 10:55:51 +0400 >> >> > Hi Matsubara-san, >> > >> > O

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-30 Thread Felipe Balbi
On Sun, Jul 21, 2013 at 08:46:53AM -0700, Greg KH wrote: > On Sun, Jul 21, 2013 at 01:12:07PM +0200, Tomasz Figa wrote: > > On Sunday 21 of July 2013 16:37:33 Kishon Vijay Abraham I wrote: > > > Hi, > > > > > > On Sunday 21 July 2013 04:01 PM, Tomasz Figa wrote: > > > > Hi, > > > > > > > > On Sat