[PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-10 Thread Fancy Fang
When user requests V4L2_MEMORY_MMAP type buffers, the videobuf-core will assign the corresponding offset to the 'boff' field of the videobuf_buffer for each requested buffer sequentially. Later, user may call mmap() to map one or all of the buffers with the 'offset' parameter which is equal to its

Re: [PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-10 Thread Hans Verkuil
On 09/10/14 07:28, Fancy Fang wrote: When user requests V4L2_MEMORY_MMAP type buffers, the videobuf-core will assign the corresponding offset to the 'boff' field of the videobuf_buffer for each requested buffer sequentially. Later, user may call mmap() to map one or all of the buffers with the

[PATCH] MAINTAINERS: add HackRF SDR driver

2014-09-10 Thread Antti Palosaari
HackRF SDR driver. Video4Linux USB device. Signed-off-by: Antti Palosaari cr...@iki.fi --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 78b38e9..3e907d3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4146,6 +4146,16 @@ L:

Re: [PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-10 Thread Hans Verkuil
On 09/10/14 09:14, chen.f...@freescale.com wrote: It is not a theoretically issue, it is a real case that the mapping failed issue happens in 3.14.y kernel but not happens in previous 3.10.y kernel. So I need your confirmation on it. With which driver does this happen? On which architecture?

[GIT PULL 3.18] HackRF SDR driver

2014-09-10 Thread Antti Palosaari
The following changes since commit f5281fc81e9a0a3e80b78720c5ae2ed06da3bfae: [media] vpif: Fix compilation with allmodconfig (2014-09-09 18:08:08 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git hackrf for you to fetch changes up to

RE: [PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-10 Thread chen.f...@freescale.com
On the Freescale imx6 platform which belongs to ARM architecture. The driver is our local v4l2 output driver which is not upstream yet unfortunately. Best regards, Fancy Fang -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Wednesday, September 10, 2014 3:21 PM

RE: [PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-10 Thread chen.f...@freescale.com
It is not a theoretically issue, it is a real case that the mapping failed issue happens in 3.14.y kernel but not happens in previous 3.10.y kernel. So I need your confirmation on it. Thanks. Best regards, Fancy Fang -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl]

Re: [PATCHv3 1/3] [media] disable OMAP1 COMPILE_TEST

2014-09-10 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, September 09, 2014 03:54:04 PM Mauro Carvalho Chehab wrote: This driver depends on a legacy OMAP DMA API. So, it won't compile-test on other archs. While we might add stubs to the functions, this is not a good idea, as the hole API should be replaced. This is also not a

Re: [PATCH] V4L2: UVC: allow using larger buffers

2014-09-10 Thread Guennadi Liakhovetski
Hi Laurent, On Wed, 10 Sep 2014, Laurent Pinchart wrote: Hi Guennadi, Thank you for the patch. On Tuesday 09 September 2014 09:42:43 Guennadi Liakhovetski wrote: A test in uvc_video_decode_isoc() checks whether an image has been received from the camera completely. For this the data

[PATCH v4] media: spi: Add support for LMH0395

2014-09-10 Thread Jean-Michel Hautbois
This device is a SPI based device from TI. It is a 3 Gbps HD/SD SDI Dual Output Low Power Extended Reach Adaptive Cable Equalizer. LMH0395 enables the use of up to two outputs. These can be configured using DT. Controls should be accessible from userspace too. This will have to be done later.

[PATCH] Earthsoft PT3 ISDB-S/T driver (PCI, tc90522, mxl301rf, qm1d1c0042)

2014-09-10 Thread Буди Романто, AreMa Inc
From: Bud knightri...@are.ma DVB driver for Earthsoft PT3 (PCIE ISDB-S/T receiver) - Status: stable Behavior: same as PT1 DVB, plus some tuning enhancements 1. in addition to the real frequency: ISDB-S : freq. channel ID ISDB-T

[PATCH v2 0/8] Add of-graph helpers to loop over endpoints and find ports by id

2014-09-10 Thread Philipp Zabel
Hi, this series converts all existing users of of_graph_get_next_endpoint that pass a non-NULL prev argument to the function and decrement its refcount themselves to stop doing that. The of_node_put is moved into of_graph_get_next_endpoint instead. This allows to add a for_each_endpoint_of_node

[PATCH v2 5/8] of: Add of_graph_get_port_by_id function

2014-09-10 Thread Philipp Zabel
This patch adds a function to get a port device tree node by port id, or reg property value. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v1: - Fixed whitespace in comment - Changed id parameter to of_graph_get_port_by_id to u32 - Simplified of_graph_get_port_by_id as

[PATCH v2 8/8] imx-drm: use for_each_endpoint_of_node macro in imx_drm_encoder_parse_of

2014-09-10 Thread Philipp Zabel
Using the for_each_... macro should make the code bit shorter and easier to read. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/staging/imx-drm/imx-drm-core.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git

[PATCH v2 6/8] drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs

2014-09-10 Thread Philipp Zabel
Using the for_each_... macro should make the code a bit shorter and easier to read. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/gpu/drm/drm_of.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff

[PATCH v2 7/8] imx-drm: use for_each_endpoint_of_node macro in imx_drm_encoder_get_mux_id

2014-09-10 Thread Philipp Zabel
Using the for_each_... macro should make the code bit shorter and easier to read. This patch also properly decrements the endpoint node reference count before returning out of the loop. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/staging/imx-drm/imx-drm-core.c | 9 +++--

[PATCH v2 3/8] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint

2014-09-10 Thread Philipp Zabel
Decrementing the reference count of the previous endpoint node allows to use the of_graph_get_next_endpoint function in a for_each_... style macro. Prior to this patch, all current users of this function that actually pass a non-NULL prev parameter should be changed to not decrement the passed

[PATCH v2 4/8] of: Add for_each_endpoint_of_node helper macro

2014-09-10 Thread Philipp Zabel
Note that while of_graph_get_next_endpoint decrements the reference count of the child node passed to it, of_node_put(child) still has to be called manually when breaking out of the loop. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v1: - Added a comment about the child

[PATCH v2 2/8] imx-drm: Do not decrement endpoint node refcount in the loop

2014-09-10 Thread Philipp Zabel
In preparation for the following patch, stop decrementing the endpoint node refcount in the loop. This temporarily leaks a reference to the endpoint node, which will be fixed by having of_graph_get_next_endpoint decrement the refcount of its prev argument instead. Signed-off-by: Philipp Zabel

[PATCH] Earthsoft PT3 ISDB-S/T driver (PCI bridge: FPGA, I2C, DMA handlers)

2014-09-10 Thread Буди Романто, AreMa Inc
From: Bud knightri...@are.ma DVB driver for Earthsoft PT3 (PCIE ISDB-S/T receiver) - Status: stable Features: - tuning enhancements, from PT1 DVB 1. in addition to the real frequency: ISDB-S : freq. channel ID ISDB-T : freq#

[PATCH] Earthsoft PT3 ISDB-S/T driver (tuners: mxl301rf, qm1d1c0042)

2014-09-10 Thread Буди Романто, AreMa Inc
From: Bud knightri...@are.ma DVB driver for Earthsoft PT3 (PCIE ISDB-S/T receiver) - Status: stable Features: - tuning enhancements, from PT1 DVB 1. in addition to the real frequency: ISDB-S : freq. channel ID ISDB-T : freq#

[PATCH] Earthsoft PT3 ISDB-S/T driver (PCI bridge: FPGA, I2C, DMA handlers)

2014-09-10 Thread Буди Романто, AreMa Inc
From: Bud knightri...@are.ma DVB driver for Earthsoft PT3 (PCIE ISDB-S/T receiver) - Status: stable Features: - tuning enhancements, from PT1 DVB 1. in addition to the real frequency: ISDB-S : freq. channel ID ISDB-T : freq#

[PATCH] Earthsoft PT3 ISDB-S/T driver (demodulator: tc90522)

2014-09-10 Thread Буди Романто, AreMa Inc
From: Bud knightri...@are.ma DVB driver for Earthsoft PT3 (PCIE ISDB-S/T receiver) - Status: stable Features: - tuning enhancements, from PT1 DVB 1. in addition to the real frequency: ISDB-S : freq. channel ID ISDB-T : freq#

Re: [PATCH] [media] v4l2-common: fix overflow in v4l_bound_align_image()

2014-09-10 Thread Sakari Ailus
Hi Maciej, Thanks for the patch! On Tue, Sep 09, 2014 at 05:16:41PM +0200, Maciej Matraszek wrote: diff --git a/drivers/media/v4l2-core/v4l2-common.c b/drivers/media/v4l2-core/v4l2-common.c index ccaa38f65cf1..506cf8b7763b 100644 --- a/drivers/media/v4l2-core/v4l2-common.c +++

Re: Framerate is consistently divided by 2.5

2014-09-10 Thread Laurent Pinchart
Hi Isaac, On Saturday 06 September 2014 12:35:25 Isaac Nickaein wrote: Hi, After patching the kernel, the rate that images are captured from the camera reduce by a factor of 2.5. How have you patched the kernel ? If you have both a working and non-working version you could use git-bisect

[PULL patches for 3.18]: 2 more gspca cleanup patches

2014-09-10 Thread Hans de Goede
Hi Mauro, Please pull from my tree for 2 minor gspca cleanup patches: The following changes since commit f5281fc81e9a0a3e80b78720c5ae2ed06da3bfae: [media] vpif: Fix compilation with allmodconfig (2014-09-09 18:08:08 -0300) are available in the git repository at:

Re: [PATCH] [media] mceusb: fix usbdev leak

2014-09-10 Thread Alexey Khoroshilov
On 09.09.2014 14:39, Sean Young wrote: On Tue, Sep 09, 2014 at 02:10:43AM +0400, Alexey Khoroshilov wrote: mceusb_init_rc_dev() does usb_get_dev(), but there is no any usb_put_dev() in the driver. drivers/media/rc/imon.c suffers from the same problem. Thanks Sean Yes, our static analyzers

Re: i.MX6 status for IPU/VPU/GPU

2014-09-10 Thread Jean-Michel Hautbois
2014-09-09 18:28 GMT+02:00 Steve Longerbeam slongerb...@gmail.com: On 09/09/2014 12:49 AM, Jean-Michel Hautbois wrote: 2014-08-27 16:23 GMT+02:00 Steve Longerbeam steve_longerb...@mentor.com: The complete driver I posted to the list does have some minor issues mostly suggested by Hans Verkuil

Re: i.MX6 status for IPU/VPU/GPU

2014-09-10 Thread Steve Longerbeam
On 09/10/2014 09:08 AM, Jean-Michel Hautbois wrote: 2014-09-09 18:28 GMT+02:00 Steve Longerbeam slongerb...@gmail.com: On 09/09/2014 12:49 AM, Jean-Michel Hautbois wrote: 2014-08-27 16:23 GMT+02:00 Steve Longerbeam steve_longerb...@mentor.com: The complete driver I posted to the list does

Re: [PATCH 1/3] omap-dma: Allow compile-testing omap1_camera driver

2014-09-10 Thread Tony Lindgren
* Mauro Carvalho Chehab mche...@infradead.org [140909 17:52]: Em Tue, 09 Sep 2014 12:36:54 -0300 Mauro Carvalho Chehab m.che...@samsung.com escreveu: Em Tue, 9 Sep 2014 15:41:58 +0100 Russell King - ARM Linux li...@arm.linux.org.uk escreveu: On Tue, Sep 09, 2014 at 11:38:17AM -0300,

[PATCH v2] [media] v4l2-common: fix overflow in v4l_bound_align_image()

2014-09-10 Thread Maciej Matraszek
Fix clamp_align() used in v4l_bound_align_image() to prevent overflow when passed large value like UINT32_MAX. In the current implementation: clamp_align(UINT32_MAX, 8, 8192, 3) returns 8, because in line: x = (x + (1 (align - 1))) mask; x overflows to (-1 + 4) 0x7 = 3, while expected

Re: [PATCH v2] [media] v4l2-common: fix overflow in v4l_bound_align_image()

2014-09-10 Thread Greg KH
On Wed, Sep 10, 2014 at 06:51:09PM +0200, Maciej Matraszek wrote: Fix clamp_align() used in v4l_bound_align_image() to prevent overflow when passed large value like UINT32_MAX. In the current implementation: clamp_align(UINT32_MAX, 8, 8192, 3) returns 8, because in line: x = (x + (1

randconfig build error with next-20140910, in drivers/media/usb/dvb-usb

2014-09-10 Thread Jim Davis
Building with the attached random configuration file, warning: (USB_OTG_FSM FSL_USB2_OTG USB_MV_OTG) selects USB_OTG which has unmet direct dependencies (USB_SUPPORT USB PM_RUNTIME) warning: (USB_OTG_FSM FSL_USB2_OTG USB_MV_OTG) selects USB_OTG which has unmet direct dependencies

Re: i.MX6 status for IPU/VPU/GPU

2014-09-10 Thread Steve Longerbeam
On 09/10/2014 09:25 AM, Steve Longerbeam wrote: On 09/10/2014 09:08 AM, Jean-Michel Hautbois wrote: 2014-09-09 18:28 GMT+02:00 Steve Longerbeam slongerb...@gmail.com: On 09/09/2014 12:49 AM, Jean-Michel Hautbois wrote: 2014-08-27 16:23 GMT+02:00 Steve Longerbeam steve_longerb...@mentor.com:

Re: i.MX6 status for IPU/VPU/GPU

2014-09-10 Thread Steve Longerbeam
Hi Phillip, On 09/09/2014 10:40 AM, Philipp Zabel wrote: I've also worked out what I think is a workable video pipeline graph for i.MX, suitable for defining the entities, pads, and links. Unfortunately I haven't been able to spend as much time as I'd like on it. This is very

cron job: media_tree daily build: ERRORS

2014-09-10 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: Thu Sep 11 04:00:14 CEST 2014 git branch: test git hash: f5281fc81e9a0a3e80b78720c5ae2ed06da3bfae gcc