cron job: media_tree daily build: ERRORS

2016-08-08 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 Aug 9 04:00:27 CEST 2016 git branch: test git hash: b6aa39228966e0d3f0bc3306be1892f87792903a gcc

Re: uvcvideo: Failed to submit URB 0 (-28) with Cam Sync HD VF0770 (041e:4095)

2016-08-08 Thread Piotr Król
On Tue, Aug 09, 2016 at 01:02:31AM +0200, Piotr Król wrote: > On Sat, Aug 06, 2016 at 04:00:22PM +0200, Piotr Król wrote: > > Hi all, > > Hi Hans, Igor, +Igor > I found your discussion about very similar issue here [5]. It looks > like musb driver in host mode doesn't give enough bandwidth for

Re: uvcvideo: Failed to submit URB 0 (-28) with Cam Sync HD VF0770 (041e:4095)

2016-08-08 Thread Piotr Król
On Sat, Aug 06, 2016 at 04:00:22PM +0200, Piotr Król wrote: > Hi all, Hi Hans, Igor, I found your discussion about very similar issue here [5]. It looks like musb driver in host mode doesn't give enough bandwidth for USB camera in my case. We tested USB device and getting not so bad results for

Re: [PATCH v3 00/14] pxa_camera transition to v4l2 standalone device

2016-08-08 Thread Hans Verkuil
On 08/08/2016 09:30 PM, Robert Jarzmik wrote: > Hi Hans, > > We're leaving the domain of the RFC to a proper submission. > > This is very alike to what you reviewed earlier, the code is very close, and : > - the split between patches is done to better isolate cleanups from real code > -

[PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-08 Thread Robert Jarzmik
Convert pxa_camera from videobuf to videobuf2. As the soc_camera was already compatible with videobuf2, the port is quite straightforward. The special case of this code in which the vb2 to prepare is "too big" in terms of size for the new capture format, the pxa_camera will fail. Signed-off-by:

[PATCH v3 11/14] media: platform: pxa_camera: make a standalone v4l2 device

2016-08-08 Thread Robert Jarzmik
This patch removes the soc_camera API dependency from pxa_camera. In the current status : - all previously captures are working the same on pxa270 - the s_crop() call was removed, judged not working (see what happens soc_camera_s_crop() when get_crop() == NULL) - if the pixel clock is

[PATCH v3 13/14] media: platform: pxa_camera: change stop_streaming semantics

2016-08-08 Thread Robert Jarzmik
Instead of the legacy behavior where it was required to wait for all video buffers to be finished by the hardware, use a cancel like strategy : as soon as the stop_streaming() call is done, abort all DMA transfers, report the already buffers as failed and return. This makes stop_streaming() more

[PATCH v3 04/14] media: mt9m111: move mt9m111 out of soc_camera

2016-08-08 Thread Robert Jarzmik
As the mt9m111 is now working as a standalone v4l2 subdevice sensor, move it out of soc_camera directory and severe its dependency on soc_camera. Signed-off-by: Robert Jarzmik --- drivers/media/i2c/Kconfig |7 + drivers/media/i2c/Makefile |

[PATCH v3 00/14] pxa_camera transition to v4l2 standalone device

2016-08-08 Thread Robert Jarzmik
Hi Hans, We're leaving the domain of the RFC to a proper submission. This is very alike to what you reviewed earlier, the code is very close, and : - the split between patches is done to better isolate cleanups from real code - start_streaming() was implemented - your remarks have been taken

[PATCH v3 07/14] media: platform: pxa_camera: introduce sensor_call

2016-08-08 Thread Robert Jarzmik
Introduce sensor_call(), which will be used for all sensor invocations. This is a preparation move to v4l2 device conversion, ie. soc_camera adherence removal. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 27

[PATCH v3 12/14] media: platform: pxa_camera: add debug register access

2016-08-08 Thread Robert Jarzmik
Add pxa_camera registers access through advanced video debugging. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 57 ++ 1 file changed, 57 insertions(+) diff --git

[PATCH v3 08/14] media: platform: pxa_camera: make printk consistent

2016-08-08 Thread Robert Jarzmik
Make all print consistent by always using : - dev_xxx(pcdev_to_dev(pcdev), ) This prepares the soc_camera adherence removal by making these call rely on only pcdev, and not the soc_camera icd structure. Signed-off-by: Robert Jarzmik ---

[PATCH v3 06/14] media: platform: pxa_camera: trivial move of functions

2016-08-08 Thread Robert Jarzmik
Move the functions in the file to be regrouped into meaningful blocks : 1. pxa camera core handling functions, manipulating the herdware 2. videobuf2 functions, dealing with video buffers 3. video ioctl (vidioc) related functions 4. driver probing, removal, suspend and resume This patch

[PATCH v3 01/14] media: mt9m111: make a standalone v4l2 subdevice

2016-08-08 Thread Robert Jarzmik
Remove the soc_camera adherence. Mostly the change removes the power manipulation provided by soc_camera, and instead : - powers on the sensor when the s_power control is activated - powers on the sensor in initial probe - enables and disables the MCLK provided to it in power on/off

[PATCH v3 02/14] media: mt9m111: prevent module removal while in use

2016-08-08 Thread Robert Jarzmik
The mt9m111 can be a removable module : the only case where the module should be kept loaded is while it is used, ie. while an active transation is ongoing on it. The notion of active transaction is mapped on the power state of the module : if powered on the removal is prohibited. Signed-off-by:

[PATCH v3 14/14] media: platform: pxa_camera: move pxa_camera out of soc_camera

2016-08-08 Thread Robert Jarzmik
As the conversion to a v4l2 standalone device is finished, move pxa_camera one directory up and finish severing any dependency to soc_camera. Signed-off-by: Robert Jarzmik --- drivers/media/platform/Kconfig |8 + drivers/media/platform/Makefile

[PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-08 Thread Robert Jarzmik
Add sequence numbers to completed buffers. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/soc_camera/pxa_camera.c

[PATCH v3 10/14] media: platform: pxa_camera: remove set_crop

2016-08-08 Thread Robert Jarzmik
This is to be seen as a regression as the set_crop function is removed. This is a temporary situation in the v4l2 porting, and will have to be added later. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 76 -- 1

[PATCH v3 03/14] media: mt9m111: use only the SRGB colorspace

2016-08-08 Thread Robert Jarzmik
mt9m111 being a camera sensor, its colorspace should always be SRGB, for both RGB based formats or YCbCr based ones. Signed-off-by: Robert Jarzmik --- drivers/media/i2c/soc_camera/mt9m111.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: parts of media docs sphinx re-building every time?

2016-08-08 Thread Mauro Carvalho Chehab
Hi Jani, Em Mon, 8 Aug 2016 18:07:10 +0200 Markus Heiser escreveu: > Hi Jani, > > Am 08.08.2016 um 17:37 schrieb Jani Nikula : > > > > > Hi Mauro & co - > > > > I just noticed running 'make htmldocs' rebuilds parts of media docs > > every

Re: parts of media docs sphinx re-building every time?

2016-08-08 Thread Markus Heiser
Hi Jani, Am 08.08.2016 um 17:37 schrieb Jani Nikula : > > Hi Mauro & co - > > I just noticed running 'make htmldocs' rebuilds parts of media docs > every time on repeated runs. This shouldn't happen. Please investigate. > > I wonder if it's related to

[PATCH 1/3] doc-rst: generic way to build only sphinx sub-folders

2016-08-08 Thread Markus Heiser
From: Markus Heiser Remove the 'DOC_NITPIC_TARGETS' from main $(srctree)/Makefile and add a more generic way to build only a reST sub-folder. * control *sub-folders* by environment SPHINXDIRS * control *build-theme* by environment SPHINX_CONF Folders with a conf.py

[PATCH 2/3] doc-rst: add stand-alone conf.py to media folder

2016-08-08 Thread Markus Heiser
From: Markus Heiser With the media/conf.py, the media folder can be build and distributed stand-alone. BTW fixed python indentation in media/conf_nitpick.py. Python indentation is 4 spaces [1] and Python 3 disallows mixing the use of tabs and spaces for indentation.

[PATCH 0/3] doc-rst: more generic way to build only sphinx sub-folders

2016-08-08 Thread Markus Heiser
From: Markus Heiser Hi Mauro, this is my approach for a more generic way to build only sphinx sub-folders, we discussed in [1]. The last patch adds a minimal conf.py to the gpu folder, if you don't want to patch the gpu folder drop it. [1]

[PATCH 3/3] doc-rst: add stand-alone conf.py to gpu folder

2016-08-08 Thread Markus Heiser
From: Markus Heiser With the gpu/conf.py, the gpu folder can be build and distributed stand-alone. Signed-off-by: Markus Heiser --- Documentation/gpu/conf.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644

Re: [PATCH v8 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-08-08 Thread Wu, Songjun
On 8/8/2016 17:56, Hans Verkuil wrote: On 08/08/2016 11:37 AM, Hans Verkuil wrote: On 08/03/2016 10:08 AM, Songjun Wu wrote: Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a

Re: [PATCH v8 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-08-08 Thread Wu, Songjun
On 8/8/2016 17:37, Hans Verkuil wrote: On 08/03/2016 10:08 AM, Songjun Wu wrote: Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller

Re: [PATCH v8 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-08-08 Thread Hans Verkuil
On 08/08/2016 11:37 AM, Hans Verkuil wrote: > On 08/03/2016 10:08 AM, Songjun Wu wrote: >> Add driver for the Image Sensor Controller. It manages >> incoming data from a parallel based CMOS/CCD sensor. >> It has an internal image processor, also integrates a >> triple channel direct memory access

Re: [PATCH v8 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-08-08 Thread Hans Verkuil
On 08/03/2016 10:08 AM, Songjun Wu wrote: > Add driver for the Image Sensor Controller. It manages > incoming data from a parallel based CMOS/CCD sensor. > It has an internal image processor, also integrates a > triple channel direct memory access controller master > interface. > > Signed-off-by:

Re: [PATCH 0/3] Add a way to build only media docs

2016-08-08 Thread Markus Heiser
Am 07.08.2016 um 14:38 schrieb Mauro Carvalho Chehab : > Em Sun, 7 Aug 2016 11:55:27 +0200 > Markus Heiser escreveu: > >> >> Am 06.08.2016 um 14:00 schrieb Mauro Carvalho Chehab >> : >> >>> Being able to build

Re: [PATCHv6] support for AD5820 camera auto-focus coil

2016-08-08 Thread Sakari Ailus
On Fri, Aug 05, 2016 at 12:26:11PM +0200, Pavel Machek wrote: > > This adds support for AD5820 autofocus coil, found for example in > Nokia N900 smartphone. Thanks, Pavel! Let's use V4L2_CID_FOCUS_ABSOLUTE, as is in the patch. If we get something better in the future, we'll switch to that then.