Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-19 Thread Daniel Vetter
On Wed, Jun 18, 2014 at 06:15:56PM -0700, Greg KH wrote: On Wed, Jun 18, 2014 at 12:37:11PM +0200, Maarten Lankhorst wrote: Just to show it's easy. Android syncpoints can be mapped to a timeline. This removes the need to maintain a separate api for synchronization. I've left the android

Re: [PATCH 7/9] soc_camera: add support for dt binding soc_camera drivers

2014-06-19 Thread Guennadi Liakhovetski
Hi Ben, Thanks for an update. On Sun, 15 Jun 2014, Ben Dooks wrote: Add initial support for OF based soc-camera devices that may be used by any of the soc-camera drivers. The driver itself will need converting to use OF. These changes allow the soc-camera driver to do the connecting of

Re: [PATCH 1/2] media: mt9m111: add device-tree suppport

2014-06-19 Thread Guennadi Liakhovetski
Hi Robert, Thanks for the patch. On Sun, 15 Jun 2014, Robert Jarzmik wrote: Add device-tree support for mt9m111 camera sensor. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/media/i2c/soc_camera/mt9m111.c | 21 + 1 file changed, 21 insertions(+)

Re: [PATCH 2/2] media: mt9m111: add device-tree documentation

2014-06-19 Thread Guennadi Liakhovetski
Hi Robert, On Sun, 15 Jun 2014, Robert Jarzmik wrote: Add documentation for the Micron mt9m111 image sensor. A nitpick: this isn't documentation for the sensor:) This is driver DT bindings' documentation. Thanks Guennadi Signed-off-by: Robert Jarzmik robert.jarz...@free.fr ---

Re: [PATCH] Update sync-with-kernel to use installed kernel headers

2014-06-19 Thread Laurent Pinchart
Ping ? On Tuesday 03 June 2014 12:40:19 Laurent Pinchart wrote: Kernel headers exported to userspace can contain kernel-specific statements (such as __user annotations) that are removed when installing the headers with 'make headers_install' in the kernel sources. Only those headers must be

Re: [PATCH 1/2] media: soc_camera: pxa_camera documentation device-tree support

2014-06-19 Thread Guennadi Liakhovetski
On Sun, 15 Jun 2014, Robert Jarzmik wrote: Add documentation for pxa_camera host interface. As mentioned in another comment: this is driver DT bindings description, not interface documentation. Thanks Guennadi Signed-off-by: Robert Jarzmik robert.jarz...@free.fr ---

Re: [PATCH 2/2] media: soc_camera: pxa_camera device-tree support

2014-06-19 Thread Guennadi Liakhovetski
On Sun, 15 Jun 2014, Robert Jarzmik wrote: Add device-tree support to pxa_camera host driver. Signed-off-by: Robert Jarzmik robert.jarz...@free.fr --- drivers/media/platform/soc_camera/pxa_camera.c | 80 ++ 1 file changed, 80 insertions(+) diff --git

[PATCH 0/2] drivers/media/rc/ir-nec-decode : add toggle feature

2014-06-19 Thread Niels Laukens
Hi, The IR NEC protocol decoder does not handle repeated key presses very well. It is regarded the same as a long key press, an thus triggers the auto-repeat functionality, which is not what I expected. The first patch solves the issue; the second patch fixes indentation inside the (new)

[PATCH 1/2] drivers/media/rc/ir-nec-decode : add toggle feature

2014-06-19 Thread Niels Laukens
From 83aa9f9fa0eaf9eb8005af49f5ce93d24a0b9f2e Mon Sep 17 00:00:00 2001 From: Niels Laukens niels.lauk...@vrt.be Date: Thu, 19 Jun 2014 10:05:11 +0200 Subject: [PATCH 1/2] drivers/media/rc/ir-nec-decode : add toggle feature (1/2) Made the distinction between repeated key presses, and a single long

[PATCH 2/2] drivers/media/rc/ir-nec-decode : add toggle feature (2/2)

2014-06-19 Thread Niels Laukens
From a8fca4a8c37cb35ea4527a708a6894745f81c661 Mon Sep 17 00:00:00 2001 From: Niels Laukens niels.lauk...@vrt.be Date: Thu, 19 Jun 2014 10:06:00 +0200 Subject: [PATCH 2/2] drivers/media/rc/ir-nec-decode : add toggle feature (2/2) Fixes indentation. Kept as separate patch to keep patch 1/2 more to

Re: [PATCH RESEND] libv4lconvert: Fix a regression when converting from Y10B

2014-06-19 Thread Hans de Goede
Hi, On 06/18/2014 04:40 PM, Antonio Ospite wrote: On Wed, 18 Jun 2014 15:59:13 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 06/18/2014 03:23 PM, Antonio Ospite wrote: On Wed, 18 Jun 2014 13:46:10 +0200 Hans de Goede hdego...@redhat.com wrote: Hi, On 06/18/2014 01:43 PM, Hans

Re: [PATCH 1/2] drivers/media/rc/ir-nec-decode : add toggle feature

2014-06-19 Thread David Härdeman
On Thu, Jun 19, 2014 at 10:25:29AM +0200, Niels Laukens wrote: Made the distinction between repeated key presses, and a single long press. The NEC-protocol does not have a toggle-bit (cfr RC5/RC6), but has specific repeat-codes. Not all NEC remotes use repeat codes. Some just transmit the full

Re: [RFC PATCH] [media] mt9v032: Add support for mt9v022 and mt9v024

2014-06-19 Thread Guennadi Liakhovetski
Hi Laurent, Philipp, Sorry for a late reply. On Thu, 5 Jun 2014, Laurent Pinchart wrote: Hi Philipp, On Tuesday 03 June 2014 11:30:31 Philipp Zabel wrote: Am Mittwoch, den 28.05.2014, 16:44 +0200 schrieb Laurent Pinchart: If you had submitted an entirely new driver for a sensor already

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-19 Thread Thierry Reding
On Thu, Jun 19, 2014 at 08:37:27AM +0200, Daniel Vetter wrote: On Wed, Jun 18, 2014 at 06:15:56PM -0700, Greg KH wrote: On Wed, Jun 18, 2014 at 12:37:11PM +0200, Maarten Lankhorst wrote: Just to show it's easy. Android syncpoints can be mapped to a timeline. This removes the need

Re: [PATCH 1/2] drivers/media/rc/ir-nec-decode : add toggle feature

2014-06-19 Thread Niels Laukens
On 2014-06-19 11:05, David Härdeman wrote: On Thu, Jun 19, 2014 at 10:25:29AM +0200, Niels Laukens wrote: Made the distinction between repeated key presses, and a single long press. The NEC-protocol does not have a toggle-bit (cfr RC5/RC6), but has specific repeat-codes. Not all NEC remotes

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-19 Thread Daniel Vetter
On Thu, Jun 19, 2014 at 1:48 PM, Thierry Reding thierry.red...@gmail.com wrote: With these changes, can we pull the android sync logic out of drivers/staging/ now? Afaik the google guys never really looked at this and acked it. So I'm not sure whether they'll follow along. The other issue I

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Rob Clark
On Wed, Jun 18, 2014 at 9:13 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: +#define CREATE_TRACE_POINTS +#include trace/events/fence.h + +EXPORT_TRACEPOINT_SYMBOL(fence_annotate_wait_on);

Re: [RFC 1/2] gspca: provide a mechanism to select a specific transfer endpoint

2014-06-19 Thread Hans de Goede
Hi Antonio, Thanks for working on this. On 06/04/2014 10:24 PM, Antonio Ospite wrote: Add a xfer_ep_index field to struct gspca_dev, and change alt_xfer() so that it accepts a parameter which represents a specific endpoint to look for. If a subdriver wants to specify a value for

Re: [RFC 2/2] gspca_kinect: add support for the depth stream

2014-06-19 Thread Hans de Goede
Hi, On 06/04/2014 10:24 PM, Antonio Ospite wrote: Add support for the depth mode at 10bpp, use a command line parameter to switch mode. NOTE: this is just a proof-of-concept, the final implementation will have to expose two v4l2 devices, one for the video stream and one for the depth

[PATCH 1/1 v2] media: dib9000: avoid out of bound access

2014-06-19 Thread Heinrich Schuchardt
This updated patch also fixes out of bound access to b[]. In dib9000_risc_apb_access_write() an out of bound access to mb[]. The current test to avoid out of bound access to mb[] is insufficient. For len = 19 non-existent mb[10] will be accessed. For odd values of len b[] is accessed out of

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-19 Thread Colin Cross
On Wed, Jun 18, 2014 at 11:37 PM, Daniel Vetter dan...@ffwll.ch wrote: On Wed, Jun 18, 2014 at 06:15:56PM -0700, Greg KH wrote: On Wed, Jun 18, 2014 at 12:37:11PM +0200, Maarten Lankhorst wrote: Just to show it's easy. Android syncpoints can be mapped to a timeline. This removes the need

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-19 Thread Colin Cross
On Thu, Jun 19, 2014 at 5:28 AM, Daniel Vetter dan...@ffwll.ch wrote: On Thu, Jun 19, 2014 at 1:48 PM, Thierry Reding thierry.red...@gmail.com wrote: With these changes, can we pull the android sync logic out of drivers/staging/ now? Afaik the google guys never really looked at this and

Re: [REPOST PATCH 4/8] android: convert sync to fence api, v5

2014-06-19 Thread Maarten Lankhorst
op 19-06-14 17:22, Colin Cross schreef: On Wed, Jun 18, 2014 at 11:37 PM, Daniel Vetter dan...@ffwll.ch wrote: On Wed, Jun 18, 2014 at 06:15:56PM -0700, Greg KH wrote: On Wed, Jun 18, 2014 at 12:37:11PM +0200, Maarten Lankhorst wrote: Just to show it's easy. Android syncpoints can be mapped

Re: [PATCH 1/1 v2] media: dib9000: avoid out of bound access

2014-06-19 Thread Kees Cook
On Thu, Jun 19, 2014 at 7:49 AM, Heinrich Schuchardt xypron.g...@gmx.de wrote: This updated patch also fixes out of bound access to b[]. In dib9000_risc_apb_access_write() an out of bound access to mb[]. The current test to avoid out of bound access to mb[] is insufficient. For len = 19

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Greg KH
On Thu, Jun 19, 2014 at 10:00:18AM -0400, Rob Clark wrote: On Wed, Jun 18, 2014 at 9:13 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: +#define CREATE_TRACE_POINTS +#include trace/events/fence.h +

[REVIEW PATCH] media: remove V4L2_FL_USE_FH_PRIO flag and its usage.

2014-06-19 Thread Ramakrishnan Muthukrishnan
Since all the drivers that use `struct v4l2_fh' use the core priority checking, instead of doing it themselves, the flag V4L2_FL_USE_FH_PRIO can be removed. This patch series removes the use of this flag in the v4l2-core and also removes the setting of this flag from the drivers and finally

[REVIEW PATCH 1/4] media: v4l2-core: remove the use of V4L2_FL_USE_FH_PRIO flag.

2014-06-19 Thread Ramakrishnan Muthukrishnan
From: Ramakrishnan Muthukrishnan ramak...@cisco.com Since all the drivers that use `struct v4l2_fh' use the core priority checking instead of doing it themselves, this flag can be removed. This patch removes the usage of the flag from v4l2-core. Signed-off-by: Ramakrishnan Muthukrishnan

[REVIEW PATCH 2/4] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO.

2014-06-19 Thread Ramakrishnan Muthukrishnan
From: Ramakrishnan Muthukrishnan ramak...@cisco.com Since all the drivers that use `struct v4l2_fh' use the core priority checking, the setting of the flag in the drivers can be removed. Signed-off-by: Ramakrishnan Muthukrishnan ramak...@cisco.com --- drivers/media/common/saa7146/saa7146_fops.c

[REVIEW PATCH 4/4] media: Documentation: remove V4L2_FL_USE_FH_PRIO flag.

2014-06-19 Thread Ramakrishnan Muthukrishnan
From: Ramakrishnan Muthukrishnan ramak...@cisco.com Signed-off-by: Ramakrishnan Muthukrishnan ramak...@cisco.com --- Documentation/video4linux/v4l2-framework.txt | 8 +--- Documentation/video4linux/v4l2-pci-skeleton.c | 5 - Documentation/zh_CN/video4linux/v4l2-framework.txt |

[REVIEW PATCH 3/4] media: v4l2-dev.h: remove V4L2_FL_USE_FH_PRIO flag.

2014-06-19 Thread Ramakrishnan Muthukrishnan
From: Ramakrishnan Muthukrishnan ramak...@cisco.com Since none of the drivers are using it, this flag can be removed. Signed-off-by: Ramakrishnan Muthukrishnan ramak...@cisco.com --- include/media/v4l2-dev.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/media/v4l2-dev.h

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Rob Clark
On Thu, Jun 19, 2014 at 1:00 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 10:00:18AM -0400, Rob Clark wrote: On Wed, Jun 18, 2014 at 9:13 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 18, 2014 at 12:36:54PM +0200, Maarten Lankhorst wrote: +#define

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Greg KH
On Thu, Jun 19, 2014 at 01:45:30PM -0400, Rob Clark wrote: On Thu, Jun 19, 2014 at 1:00 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 10:00:18AM -0400, Rob Clark wrote: On Wed, Jun 18, 2014 at 9:13 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 18,

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread James Bottomley
On Thu, 2014-06-19 at 11:19 -0700, Greg KH wrote: On Thu, Jun 19, 2014 at 01:45:30PM -0400, Rob Clark wrote: On Thu, Jun 19, 2014 at 1:00 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 10:00:18AM -0400, Rob Clark wrote: On Wed, Jun 18, 2014 at 9:13 PM, Greg KH

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Rob Clark
On Thu, Jun 19, 2014 at 2:19 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 01:45:30PM -0400, Rob Clark wrote: On Thu, Jun 19, 2014 at 1:00 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 10:00:18AM -0400, Rob Clark wrote: On Wed, Jun 18, 2014 at

Re: [PATCH 2/2] media: soc_camera: pxa_camera device-tree support

2014-06-19 Thread Robert Jarzmik
Guennadi Liakhovetski g.liakhovet...@gmx.de writes: On Sun, 15 Jun 2014, Robert Jarzmik wrote: +static const struct of_device_id pxacamera_dt_ids[] = { +{ .compatible = mrvl,pxa_camera, }, as Documentation/devicetree/bindings/vendor-prefixes.txt defines, it should be marvell. OK, I'll

Re: [PATCH 2/2] media: mt9m111: add device-tree documentation

2014-06-19 Thread Robert Jarzmik
Guennadi Liakhovetski g.liakhovet...@gmx.de writes: Hi Robert, On Sun, 15 Jun 2014, Robert Jarzmik wrote: Add documentation for the Micron mt9m111 image sensor. A nitpick: this isn't documentation for the sensor:) This is driver DT bindings' documentation. OK, for V2 (as its twin in

Re: [PATCH 1/2] media: mt9m111: add device-tree suppport

2014-06-19 Thread Robert Jarzmik
Guennadi Liakhovetski g.liakhovet...@gmx.de writes: Hi Robert, +static int of_get_mt9m111_platform_data(struct device *dev, +struct soc_camera_subdev_desc *desc) +{ +return 0; +} Why do you need this function? I would just drop it. Yeah, drop it

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Daniel Vetter
On Thu, Jun 19, 2014 at 7:00 PM, Greg KH gre...@linuxfoundation.org wrote: + BUG_ON(f1-context != f2-context); Nice, you just crashed the kernel, making it impossible to debug or recover :( agreed, that should probably be 'if (WARN_ON(...)) return NULL;' (but at least I wouldn't

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Daniel Vetter
On Thu, Jun 19, 2014 at 8:19 PM, Greg KH gre...@linuxfoundation.org wrote: EXPORT_SYMBOL_GPL()? Same goes for all of the exports in here. Traditionally all of the driver core exports have been with this marking, any objection to making that change here as well? tbh, I prefer

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Greg KH
On Thu, Jun 19, 2014 at 09:15:36PM +0200, Daniel Vetter wrote: On Thu, Jun 19, 2014 at 7:00 PM, Greg KH gre...@linuxfoundation.org wrote: + BUG_ON(f1-context != f2-context); Nice, you just crashed the kernel, making it impossible to debug or recover :( agreed, that should

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Dave Airlie
On 20 June 2014 04:19, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 01:45:30PM -0400, Rob Clark wrote: On Thu, Jun 19, 2014 at 1:00 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 10:00:18AM -0400, Rob Clark wrote: On Wed, Jun 18, 2014 at 9:13 PM,

[no subject]

2014-06-19 Thread Ray Jender
Is there someone willing to assist me in finding out why my video configuration will not work? I am using a Sony HDR-SR11 as a webcam. Camorama does show video. Other video tools recognize it. Skype does not recognize it. Yahoo messenger shows video once I changed the video preference to

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread H. Peter Anvin
On 06/19/2014 01:01 PM, Greg KH wrote: On Thu, Jun 19, 2014 at 09:15:36PM +0200, Daniel Vetter wrote: On Thu, Jun 19, 2014 at 7:00 PM, Greg KH gre...@linuxfoundation.org wrote: + BUG_ON(f1-context != f2-context); Nice, you just crashed the kernel, making it impossible to debug or recover

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread James Bottomley
On Thu, 2014-06-19 at 15:39 -0700, H. Peter Anvin wrote: On 06/19/2014 01:01 PM, Greg KH wrote: On Thu, Jun 19, 2014 at 09:15:36PM +0200, Daniel Vetter wrote: On Thu, Jun 19, 2014 at 7:00 PM, Greg KH gre...@linuxfoundation.org wrote: + BUG_ON(f1-context != f2-context); Nice, you

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Rob Clark
On Thu, Jun 19, 2014 at 5:50 PM, Dave Airlie airl...@gmail.com wrote: On 20 June 2014 04:19, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at 01:45:30PM -0400, Rob Clark wrote: On Thu, Jun 19, 2014 at 1:00 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jun 19, 2014 at

Re: [REPOST PATCH 1/8] fence: dma-buf cross-device synchronization (v17)

2014-06-19 Thread Greg KH
On Thu, Jun 19, 2014 at 03:39:47PM -0700, H. Peter Anvin wrote: On 06/19/2014 01:01 PM, Greg KH wrote: On Thu, Jun 19, 2014 at 09:15:36PM +0200, Daniel Vetter wrote: On Thu, Jun 19, 2014 at 7:00 PM, Greg KH gre...@linuxfoundation.org wrote: + BUG_ON(f1-context != f2-context);

[PATCH] staging: solo6x10: fix for sparse warning message

2014-06-19 Thread Anthony DeStefano
Define jpeg_dqt as static. Signed-off-by: Anthony DeStefano a...@fastmail.fm --- drivers/staging/media/solo6x10/solo6x10-jpeg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/solo6x10/solo6x10-jpeg.h b/drivers/staging/media/solo6x10/solo6x10-jpeg.h

cron job: media_tree daily build: OK

2014-06-19 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: Fri Jun 20 04:00:34 CEST 2014 git branch: test git hash: 1fe3a8fe494463cfe2556a25ae41a1499725c178 gcc

pvrusb2 has a new device (wintv-hvr-1955)

2014-06-19 Thread Matthew Thode
Just bought a wintv-hvr-1955 (sold as a wintv-hvr-1950) 160111 LF Rev B1|7 It has a slightly new usb id, 2040:7502 vs 2040:7501 I edited the kernel to have the driver as it exists for the 7501 for the 7502 (as you can imagine, it didn't work). It still has the CY7C68013A USB pieces, but I don't