Re: [PATCH] v4l2-compat-ioctl32: replace pr_warn by pr_debug

2015-09-09 Thread Sakari Ailus
On Wed, Sep 09, 2015 at 08:40:39AM +0200, Hans Verkuil wrote: > Every time compat32 encounters an unknown ioctl it will call pr_warn. > However, that's very irritating since it is perfectly normal that this > happens. For example, applications often try to call an ioctl to see if > it exists, and

Re: [PATCH v8 06/55] [media] media: use media_gobj inside pads

2015-09-09 Thread Sakari Ailus
Hi Mauro, On Sun, Aug 30, 2015 at 12:06:17AM -0300, Mauro Carvalho Chehab wrote: > PADs also need unique object IDs that won't conflict with > the entity object IDs. > > The pad objects are currently created via media_entity_init() > and, once created, never change. > > While this will likely

Re: [PATCH v8 18/55] [media] omap3isp: create links after all subdevs have been bound

2015-09-09 Thread Sakari Ailus
Hi Javier and Mauro, On Sun, Aug 30, 2015 at 12:06:29AM -0300, Mauro Carvalho Chehab wrote: > From: Javier Martinez Canillas > > The omap3isp driver parses the graph endpoints to know how many subdevices > needs to be registered async and register notifiers callbacks for

[PATCH] v4l2-compat-ioctl32: replace pr_warn by pr_debug

2015-09-09 Thread Hans Verkuil
Every time compat32 encounters an unknown ioctl it will call pr_warn. However, that's very irritating since it is perfectly normal that this happens. For example, applications often try to call an ioctl to see if it exists, and if that's used with an older kernel where compat32 doesn't support

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Laurent Pinchart
On Wednesday 09 September 2015 10:30:12 Hans de Goede wrote: > On 08-09-15 16:36, Alan Stern wrote: > > On Tue, 8 Sep 2015, Hans de Goede wrote: > >> On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote: > >>> urb completion callback is executed in host controllers interrupt > >>> context. To keep

Cher utilisateur de messagerie Web.

2015-09-09 Thread Lillie Phillips
Cher utilisateur de messagerie Web. Nous avons un problème technique, nous notre base de date pour le moment. vous êtes au CLIQUEZ ICI pour vous reconfirmer web compte de messagerie une fois de plus. Help desk -- To unsubscribe from this list: send the

Videobuf2's vb2_dqbuf return (-EINVAL) error on streamoff

2015-09-09 Thread Chetan Nanda
[Sorry if duplicate, as my last mail rejected because of HTML content] Hi, I am working on a V4L2 based video decoder driver, At user side there are two contexts. One is queuing/dequeuing buffers from driver (in a separate thread) and other is the main context, from where I am calling streamon,

Re: [PATCH v8 04/55] [media] media: add a common struct to be embed on media graph objects

2015-09-09 Thread Sakari Ailus
Hi Mauro, On Sun, Aug 30, 2015 at 12:06:15AM -0300, Mauro Carvalho Chehab wrote: > Due to the MC API proposed changes, we'll need to have an unique > object ID for all graph objects, and have some shared fields > that will be common on all media graph objects. > > Right now, the only common

Re: [PATCH v8 14/55] [media] media: add functions to allow creating interfaces

2015-09-09 Thread Sakari Ailus
Hi Mauro, On Sun, Sep 06, 2015 at 09:02:45AM -0300, Mauro Carvalho Chehab wrote: > Interfaces are different than entities: they represent a > Kernel<->userspace interaction, while entities represent a > piece of hardware/firmware/software that executes a function. > > Let's distinguish them by

Re: [PATCH v8 18/55] [media] omap3isp: create links after all subdevs have been bound

2015-09-09 Thread Javier Martinez Canillas
Hello Sakari, On 09/09/2015 10:03 AM, Sakari Ailus wrote: > Hi Javier and Mauro, > > On Sun, Aug 30, 2015 at 12:06:29AM -0300, Mauro Carvalho Chehab wrote: >> From: Javier Martinez Canillas >> >> The omap3isp driver parses the graph endpoints to know how many subdevices

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Hans de Goede
Hi, On 08-09-15 16:36, Alan Stern wrote: On Tue, 8 Sep 2015, Hans de Goede wrote: Hi, On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote: urb completion callback is executed in host controllers interrupt context. To keep preempt disable time short, add urbs to a list on completion and

Re: [PATCH v8 14/55] [media] media: add functions to allow creating interfaces

2015-09-09 Thread Mauro Carvalho Chehab
Em Wed, 09 Sep 2015 10:34:05 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On Sun, Sep 06, 2015 at 09:02:45AM -0300, Mauro Carvalho Chehab wrote: > > Interfaces are different than entities: they represent a > > Kernel<->userspace interaction, while entities represent a > >

Re: [PATCH 2/2] [media] media-device: use unsigned ints on some places

2015-09-09 Thread Hans Verkuil
On 09/09/15 13:32, Mauro Carvalho Chehab wrote: > The entity->num_pads are defined as u16. So, better to use an > unsigned int, as this prevents additional warnings when W=2 > (or W=1 on some architectures). > > The "i" counter at __media_device_get_topology() is also a > monotonic counter that

Re: Videobuf2's vb2_dqbuf return (-EINVAL) error on streamoff

2015-09-09 Thread Hans Verkuil
On 09/09/15 11:19, Chetan Nanda wrote: > [Sorry if duplicate, as my last mail rejected because of HTML content] > > Hi, > > I am working on a V4L2 based video decoder driver, > > At user side there are two contexts. > One is queuing/dequeuing buffers from driver (in a separate thread) > and

Re: [PATCH v8 04/55] [media] media: add a common struct to be embed on media graph objects

2015-09-09 Thread Mauro Carvalho Chehab
Hi Sakari, Em Wed, 09 Sep 2015 10:01:49 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On Sun, Aug 30, 2015 at 12:06:15AM -0300, Mauro Carvalho Chehab wrote: > > Due to the MC API proposed changes, we'll need to have an unique > > object ID for all graph objects, and have

[PATCH 0/2] MC minor cleanups

2015-09-09 Thread Mauro Carvalho Chehab
This two patch series do some minor cleanups as suggested by Sakari. Mauro Carvalho Chehab (2): [media] media_entity: remove gfp_flags argument [media] media-device: use unsigned ints on some places drivers/media/dvb-core/dvbdev.c| 3 +-- drivers/media/media-device.c | 7 ---

[PATCH 2/2] [media] media-device: use unsigned ints on some places

2015-09-09 Thread Mauro Carvalho Chehab
The entity->num_pads are defined as u16. So, better to use an unsigned int, as this prevents additional warnings when W=2 (or W=1 on some architectures). The "i" counter at __media_device_get_topology() is also a monotonic counter that should never be below zero. So, make it unsigned too.

[PATCH 1/2] [media] media_entity: remove gfp_flags argument

2015-09-09 Thread Mauro Carvalho Chehab
We should not be creating device nodes at IRQ contexts. So, the only flags we'll be using will be GFP_KERNEL. Let's remove the gfp_flags, in order to make the interface simpler. If we ever need it, it would be easy to revert those changes. While here, remove an extra blank line. Suggested-by:

Re: [PATCH 1/2] [media] media_entity: remove gfp_flags argument

2015-09-09 Thread Hans Verkuil
On 09/09/15 13:32, Mauro Carvalho Chehab wrote: > We should not be creating device nodes at IRQ contexts. So, > the only flags we'll be using will be GFP_KERNEL. Let's > remove the gfp_flags, in order to make the interface simpler. > > If we ever need it, it would be easy to revert those changes.

Re: [PATCH v8 18/55] [media] omap3isp: create links after all subdevs have been bound

2015-09-09 Thread Mauro Carvalho Chehab
Hi Sakari, Em Wed, 09 Sep 2015 11:03:33 +0300 Sakari Ailus escreveu: > Hi Javier and Mauro, > > On Sun, Aug 30, 2015 at 12:06:29AM -0300, Mauro Carvalho Chehab wrote: > > From: Javier Martinez Canillas > > > > The omap3isp driver parses the graph

[GIT PULL FOR v4.4] uvcvideo fixes

2015-09-09 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 50ef28a6ac216fd8b796257a3768fef8f57b917d: [media] c8sectpfe: Remove select on undefined LIBELF_32 (2015-09-03 14:10:06 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git uvc/next for you to fetch changes up to

[RFC PATCH v4 6/8] [media] videobuf2: Replace v4l2-specific data with vb2 data.

2015-09-09 Thread Junghak Sung
enum v4l2_memory -> enum vb2_memory VIDEO_MAX_FRAME -> VB2_MAX_FRAME VIDEO_MAX_PLANES -> VB2_MAX_PLANES Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim Acked-by: Inki Dae

[RFC PATCH v4 3/8] [media] videobuf2: Restructure vb2_buffer (2/3)

2015-09-09 Thread Junghak Sung
Modify all device drivers related with previous change that restructures vb2_buffer for common use. Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim Acked-by: Inki Dae

[RFC PATCH v4 5/8] [media] videobuf2: Change queue_setup argument

2015-09-09 Thread Junghak Sung
Replace struct v4l2_format * with void * to make queue_setup() for common use. And then, modify all device drivers related with this change. Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim

[RFC PATCH v4 7/8] [media] videobuf2: Move v4l2-specific stuff to videobuf2-v4l2

2015-09-09 Thread Junghak Sung
Move v4l2-specific stuff from videobu2-core to videobuf2-v4l2 without doing any functional changes. Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim Acked-by: Inki Dae

[RFC PATCH v4 8/8] [media] videobuf2: Remove v4l2-dependencies from videobuf2-core

2015-09-09 Thread Junghak Sung
Move v4l2-stuffs from videobuf2-core to videobuf2-v4l2. And make wrappers that use the vb2_core_* functions. Signed-off-by: Junghak Sung Signed-off-by: Geunyoung Kim Acked-by: Seung-Woo Kim Acked-by: Inki Dae

[RFC PATCH v4 0/8] Refactoring Videobuf2 for common use

2015-09-09 Thread Junghak Sung
Hello everybody, This is the 4th round for refactoring Videobuf2(a.k.a VB2). The purpose of this patch series is to separate existing VB2 framework into core part and V4L2 specific part. So that not only V4L2 but also other frameworks can use them to manage buffer and utilize queue. Why do we

[RFC PATCH v4 1/8] [media] videobuf2: Replace videobuf2-core with videobuf2-v4l2

2015-09-09 Thread Junghak Sung
Make videobuf2-v4l2 as a wrapper of videobuf2-core for v4l2-use. And replace videobuf2-core.h with videobuf2-v4l2.h. This renaming change should be accompanied by the modifications of all device drivers that include videobuf2-core.h. It can be done with just running this shell script. replace() {

[RFC PATCH v4 2/8] [media] videobuf2: Restructure vb2_buffer (1/3)

2015-09-09 Thread Junghak Sung
Remove v4l2 stuff - v4l2_buf, v4l2_plane - from struct vb2_buffer. Add new member variables - bytesused, length, offset, userptr, fd, data_offset - to struct vb2_plane in order to cover all information of v4l2_plane. struct vb2_plane { unsigned intbytesused;

Re: [RFC 00/11] vb2: Handle user cache hints, allow drivers to choose cache coherency

2015-09-09 Thread Laurent Pinchart
+ Sumit, Rob, Laura and Daniel who have discussed cache optimization with me at LPC in the context of dmabuf. The full patch set can be found at https://www.mail-archive.com/linux-media@vger.kernel.org/msg92120.html On Tuesday 08 September 2015 13:33:44 Sakari Ailus wrote: > Hi folks, > >

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Laurent Pinchart wrote: > On Wednesday 09 September 2015 10:30:12 Hans de Goede wrote: > > On 08-09-15 16:36, Alan Stern wrote: > > > On Tue, 8 Sep 2015, Hans de Goede wrote: > > >> On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote: > > >>> urb completion callback is executed

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Laurent Pinchart
Hi Alan, On Wednesday 09 September 2015 11:14:38 Alan Stern wrote: > On Wed, 9 Sep 2015, Laurent Pinchart wrote: > > On Wednesday 09 September 2015 10:30:12 Hans de Goede wrote: > >> On 08-09-15 16:36, Alan Stern wrote: > >>> On Tue, 8 Sep 2015, Hans de Goede wrote: > On 09/07/2015 06:23 PM,

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Laurent Pinchart wrote: > > > Instead of fixing the issue in the uvcvideo driver, would it then make > > > more sense to fix it in the remaining hcd drivers ? > > > > Unfortunately that's not so easy. It involves some subtle changes > > related to the way isochronous

Re: [PATCH v1] media: uvcvideo: handle urb completion in a work queue

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Hans de Goede wrote: > Hi, > > On 08-09-15 16:36, Alan Stern wrote: > > On Tue, 8 Sep 2015, Hans de Goede wrote: > > > >> Hi, > >> > >> On 09/07/2015 06:23 PM, Mian Yousaf Kaukab wrote: > >>> urb completion callback is executed in host controllers interrupt > >>> context. To

Contact Us For Unsecured Guaranteed Loans Today!!!?

2015-09-09 Thread Guaranteed
Do you need a genuine Loan to settle your bills and start up a good business? Kindly contact us now with your details to get a good Loan at a low rate of 3% per Annu, Quick send your details via: guarloa...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the

cron job: media_tree daily build: OK

2015-09-09 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 10 04:00:23 CEST 2015 git branch: test git hash: 50ef28a6ac216fd8b796257a3768fef8f57b917d gcc

Purchasing/Infrared lamp therapy products/Aukewel Co., ltd

2015-09-09 Thread Woody Wu
Dear Client, Have a good day! Glad to learn you're on the market of Infrared Lamp products We are the manufacture at family use electronic health devices since 2000. We keep good quality and reliable cooperation for global valued customers. Main products include infrared lamp. If any product

[PATCH] rc: gpio-ir-recv: allow flush space on idle

2015-09-09 Thread Eric Nelson
Many decoders require a trailing space (period without IR illumination) to be delivered before completing a decode. Since the gpio-ir-recv driver only delivers events on gpio transitions, a single IR symbol (caused by a quick touch on an IR remote) will not be properly decoded without the use of