[RFC PATCH 2/2] v4l2-utils: extend set-dv-timings to support reduced fps

2015-06-23 Thread Prashant Laddha
Extended command line option for set-dv-timings to support timings calculations for reduced fps. This will allow supporting NTSC frame rates like 29.97 or 59.94. Cc: Hans Verkuil Signed-off-by: Prashant Laddha --- utils/v4l2-ctl/v4l2-ctl-stds.cpp | 14 -- 1 file changed, 12 insertio

[RFC PATCH 1/2] v4l2-utils: add support for reduced fps in cvt modeline

2015-06-23 Thread Prashant Laddha
Added reduced fps option in cvt timings calculation. In this case, pixel clock is slowed down by a factor of 1000 / 1001 and all other timing parameters are unchanged. With reduced fps option one could generate timings for refresh rates like 29.97 or 59.94. Pixel clock in this case needs better pre

[RFC PATCH 0/2] Support for reduced fps in v4l2-utils

2015-06-23 Thread Prashant Laddha
Hi, These patches add support for reduced fps option in cvt timings. Please review and share your comments. Regards, Prashant Prashant Laddha (2): v4l2-utils: add support for reduced fps in cvt modeline v4l2-utils: extend set-dv-timings to support reduced fps utils/v4l2-ctl/v4l2-ctl-modes

Re: [PATCH 6/6] [media] s5c73m3: Remove redundant spi driver bus initialization

2015-06-23 Thread Andrzej Hajda
On 06/23/2015 04:53 PM, Antonio Borneo wrote: > In ancient times it was necessary to manually initialize the bus > field of an spi_driver to spi_bus_type. These days this is done in > spi_register_driver(), so we can drop the manual assignment. > > Signed-off-by: Antonio Borneo > To: Mauro Carvalh

Re: userspace media util repository

2015-06-23 Thread Guennadi Liakhovetski
Do you mean this? http://git.linuxtv.org/cgit.cgi/v4l-utils.git/ Regards Guennadi On Wed, 24 Jun 2015, Kim, Heung Jun wrote: > Hi all, > > I’m looking for official repository for user space media utils. For testing > media device status on target I was about to use it, but I couldn’t find

Compiler warning from drivers/media/usb/au0828/au0828-video.c: In function ‘queue_setup’

2015-06-23 Thread Shuah Khan
Hi Mauro, I am seeing the following warning from au0828 - linux_media media_controller branch: drivers/media/usb/au0828/au0828-video.c: In function ‘queue_setup’: drivers/media/usb/au0828/au0828-video.c:679:6: warning: ‘entity’ may be used uninitialized in this function [-Wmaybe-uninitialized]

cron job: media_tree daily build: OK

2015-06-23 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: Wed Jun 24 04:00:19 CEST 2015 git branch: test git hash: 77a3c6fd90c94f635edb00d4a65f485687538791 gcc versi

Re: [PATCH] [media] rcar_vin: Remove obsolete r8a779x-vin platform_device_id entries

2015-06-23 Thread Simon Horman
On Tue, Jun 23, 2015 at 02:59:43PM +0200, Geert Uytterhoeven wrote: > Since commit a483dcbfa21f919c ("ARM: shmobile: lager: Remove legacy > board support"), R-Car Gen2 SoCs are only supported in generic DT-only > ARM multi-platform builds. The driver doesn't need to match platform > devices by nam

Re: [URGENT FOR v4.1] [PATCH v2] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-23 Thread Laurent Pinchart
Hi Kamil, On Tuesday 23 June 2015 13:51:37 Kamil Debski wrote: > Hi, > > Just to let you know - the patch that is applied to media_tree/master > [1] and media_tree/fixes [2] is v1 and not v2. I think it should be > v2. Thank you for noticing that. Mauro, is rebasing an option ? Otherwise I can

Re: [PATCH v3 1/7] rc: rc-ir-raw: Add scancode encoder callback

2015-06-23 Thread David Härdeman
On 2015-06-18 23:23, Mauro Carvalho Chehab wrote: Em Sun, 14 Jun 2015 01:44:54 +0200 David Härdeman escreveu: If you've followed the development of rc-core during the last few years it should be pretty clear that Mauro has little to no long-term plan, understanding of the current issues or wil

Re: [Patch 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-06-23 Thread Benoit Parrot
Hans, Thanks for the feedback. Hans Verkuil wrote on Mon [2015-Jun-22 10:09:00 +0200]: > Hi Benoit, > > Thanks for the patch! I do have a few comments, though. See below. > > On 06/16/2015 07:29 PM, Benoit Parrot wrote: > > The Camera Adaptation Layer (CAL) is a block which consists of a dual

Re: [Patch 0/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-06-23 Thread Benoit Parrot
Hans Verkuil wrote on Mon [2015-Jun-22 09:31:21 +0200]: > On 06/16/2015 07:29 PM, Benoit Parrot wrote: > > The Camera Adaptation Layer (CAL) is a block which consists of a dual > > port CSI2/MIPI camera capture engine. > > This camera engine is currently found on DRA72xx family of devices. > > >

randconfig build error with next-20150623, in drivers/media/i2c/adv7604.c

2015-06-23 Thread Jim Davis
Building with the attached random configuration file, warning: (VIDEO_COBALT) selects VIDEO_ADV7604 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && GPIOLIB) drivers/media/i2c/adv7604.c: In function ‘adv76xx_get_format’: drivers/media/i2c/adv760

[PATCH 6/6] [media] s5c73m3: Remove redundant spi driver bus initialization

2015-06-23 Thread Antonio Borneo
In ancient times it was necessary to manually initialize the bus field of an spi_driver to spi_bus_type. These days this is done in spi_register_driver(), so we can drop the manual assignment. Signed-off-by: Antonio Borneo To: Mauro Carvalho Chehab To: Kyungmin Park To: Andrzej Hajda To: linux

[PATCH 0/6] Remove redundant spi driver bus initialization

2015-06-23 Thread Antonio Borneo
This cleanup was already completed between end 2011 and early 2012 with a patch series from Lars-Peter Clausen: https://lkml.org/lkml/2011/11/24/190 Later on new redundant initialization re-appeared here and there. Time to cleanup again. And, yes, I'm lazy! I copy-paste the exact same commit mess

[PATCH] [media] rcar_vin: Remove obsolete r8a779x-vin platform_device_id entries

2015-06-23 Thread Geert Uytterhoeven
Since commit a483dcbfa21f919c ("ARM: shmobile: lager: Remove legacy board support"), R-Car Gen2 SoCs are only supported in generic DT-only ARM multi-platform builds. The driver doesn't need to match platform devices by name anymore, hence remove the corresponding platform_device_id entry. Signed-

Re: [URGENT FOR v4.1] [PATCH v2] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-06-23 Thread Kamil Debski
Hi, Just to let you know - the patch that is applied to media_tree/master [1] and media_tree/fixes [2] is v1 and not v2. I think it should be v2. Best wishes, Kamil Debski [1] http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=77a3c6fd90c94f635edb00d4a65f485687538791 [2] http://git.linu

Request for help: HDLCD Controller

2015-06-23 Thread Joao Pinto
Hi! I am developing a system in which the video support is made through two ARM' HDLCD Controller and two TDA998x HDMI PHYs. When I try to load ARM' HDLCD driver (hdlcd), it fails when it tries to bind with the drm subsystem: root@genericarmv8:~# modprobe hdlcd [drm] found ARM HDLCD version r0p0

i.MX6 video capture support in mainline

2015-06-23 Thread Javier Martin
Hello, we have an BD-SL-i.MX6 platform (compatible with the Nitrogen6X) where we are currently running the BSP from Freescale, which is based on kernel 3.10 if I recall properly. We are aware that those drivers have some issues, specially when it comes to compliance with the V4L2 frameworks l

Re: [PATCH] [media] gscpa_m5602: use msecs_to_jiffies for conversions

2015-06-23 Thread Hans de Goede
Hi, On 07-06-15 16:34, Nicholas Mc Guire wrote: API compliance scanning with coccinelle flagged: ./drivers/media/usb/gspca/m5602/m5602_s5k83a.c:180:9-25: WARNING: timeout (100) seems HZ dependent Numeric constants passed to schedule_timeout() make the effective timeout HZ dependent whi

[PULL fixes for 4.3]: gspca minor fixes

2015-06-23 Thread Hans de Goede
Hi Mauro, Here are 2 minor fixes for gspca for 4.3. The following changes since commit 77a3c6fd90c94f635edb00d4a65f485687538791: [media] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers (2015-06-22 09:52:58 -0300) are available in the git repository at: git://linux

[PATCH] v4l2-event: v4l2_event_queue: do nothing if vdev == NULL

2015-06-23 Thread Hans Verkuil
If the vdev pointer == NULL, then just return. This makes it easier for subdev drivers to use this function without having to check if the sd->devnode pointer is NULL or not. Signed-off-by: Hans Verkuil diff --git a/drivers/media/v4l2-core/v4l2-event.c b/drivers/media/v4l2-core/v4l2-event.c in

Re: [PATCH 1/2] x86/mm/pat, drivers/infiniband/ipath: replace WARN() with pr_warn()

2015-06-23 Thread Luis R. Rodriguez
On Tue, Jun 23, 2015 at 12:39 AM, Ingo Molnar wrote: > Same observation as for the other patch: please only warn if the hardware is > present and the driver tries to activate. No need to annoy others. Will fix, and respin. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: Build regressions/improvements in v4.1

2015-06-23 Thread Geert Uytterhoeven
Hi Russell, On Mon, Jun 22, 2015 at 11:18 PM, Russell King - ARM Linux wrote: > On Mon, Jun 22, 2015 at 10:52:13PM +0200, Geert Uytterhoeven wrote: >> On Mon, Jun 22, 2015 at 10:48 PM, Geert Uytterhoeven >> wrote: >> > JFYI, when comparing v4.1[1] to v4.1-rc8[3], the summaries are: >> > - buil

Re: [PATCH 1/2] x86/mm/pat, drivers/infiniband/ipath: replace WARN() with pr_warn()

2015-06-23 Thread Ingo Molnar
* Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > On built-in kernels this will always splat. Fix that. > > Reported-by: Fengguang Wu [0-day test robot] > Signed-off-by: Luis R. Rodriguez > --- > drivers/infiniband/hw/ipath/ipath_driver.c | 6 -- > 1 file changed, 4 insertions

Re: [PATCH 2/2] x86/mm/pat, drivers/media/ivtv: replace WARN() with pr_warn()

2015-06-23 Thread Ingo Molnar
* Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > On built-in kernels this will always splat. Fix that. > > Reported-by: Fengguang Wu [0-day test robot] > Signed-off-by: Luis R. Rodriguez > --- > drivers/media/pci/ivtv/ivtvfb.c | 6 -- > 1 file changed, 4 insertions(+), 2 dele