Re: [RFC/PATCH v6 03/12] [alsa-devel] media: Entities, pads and links

2010-11-25 Thread Laurent Pinchart
also have a bunch of stuff in the graph which may not be visible to userspace at all at present and would just have a string based identifier. That could be easily added (provided the string is not too long). -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line

Re: [RFC/PATCH v6 03/12] media: Entities, pads and links

2010-11-25 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 14:36:50 Mark Brown wrote: On Thu, Nov 25, 2010 at 03:28:10AM +0100, Laurent Pinchart wrote: +Links have flags that describe the link capabilities and state. + MEDIA_LINK_FLAG_ACTIVE indicates that the link is active and can be + used

Re: [RFC/PATCH v6 05/12] media: Reference count and power handling

2010-11-25 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 14:49:08 Mark Brown wrote: On Thu, Nov 25, 2010 at 03:28:12AM +0100, Laurent Pinchart wrote: If the entity is of node type, the power change is distributed to all connected entities. For non-nodes it only affects that very node. A mutex

Re: [RFC/PATCH v6 09/12] media: Entity locking and pipeline management

2010-11-25 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 14:53:51 Mark Brown wrote: On Thu, Nov 25, 2010 at 03:28:16AM +0100, Laurent Pinchart wrote: Link states must not be modified while streaming is in progress on a graph they belong or connect to. The entity locking API helps drivers enforcing

Re: [RFC/PATCH v6 02/12] media: Media device

2010-11-25 Thread Laurent Pinchart
compilers would never assume multibyte chars. Not on sane platforms I guess. We would have problems much worse than MC API breakage in that case anyway :-) -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

[RFC/PATCH v6 10/12] v4l: Add a media_device pointer to the v4l2_device structure

2010-11-24 Thread Laurent Pinchart
ownership of the drvdata anymore. To maintain compatibility with drivers that rely on v4l2_device storing a pointer to itself in the device's drvdata, v4l2_device_register() will keep doing so if the drvdata is NULL. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation

[RFC/PATCH v6 11/12] v4l: Make video_device inherit from media_entity

2010-11-24 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/video4linux/v4l2-framework.txt | 38 +++-- drivers/media/video/v4l2-dev.c | 47 +++--- include/media/v4l2-dev.h

[RFC/PATCH v6 01/12] media: Media device node support

2010-11-24 Thread Laurent Pinchart
. The code is based on video/v4l2-dev.c. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/Kconfig | 13 ++ drivers/media/Makefile| 10 +- drivers/media/media-devnode.c | 321 + include/media/media-devnode.h

[RFC/PATCH v6 00/12] Media controller (core and V4L2)

2010-11-24 Thread Laurent Pinchart
on the linux-media list. I'm looking forward to the storm of comments that will start in response to this e-mail. Hopefully it won't hurt (too much) :-). Laurent Pinchart (10): media: Media device node support media: Media device media: Entities, pads and links media: Media device information

[RFC/PATCH v6 06/12] media: Media device information query

2010-11-24 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media-entities.tmpl | 12 ++ Documentation/DocBook/v4l/media-controller.xml | 10 ++ Documentation/DocBook/v4l/media-func-close.xml | 59 + Documentation/DocBook/v4l/media-func-ioctl.xml

[RFC/PATCH v6 02/12] media: Media device

2010-11-24 Thread Laurent Pinchart
The media_device structure abstracts functions common to all kind of media devices (v4l2, dvb, alsa, ...). It manages media entities and offers a userspace API to discover and configure the media device internal topology. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

[RFC/PATCH v6 09/12] media: Entity locking and pipeline management

2010-11-24 Thread Laurent Pinchart
and can then access the pipeline through the media_entity structure. Link configuration will fail with -EBUSY if either end of the link is a locked entity. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/media-framework.txt | 35 drivers

[RFC/PATCH v6 07/12] media: Entities, pads and links enumeration

2010-11-24 Thread Laurent Pinchart
are returned during the enumeration process. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/DocBook/media-entities.tmpl |8 + Documentation/DocBook/v4l/media-controller.xml |2

[RFC/PATCH v6 08/12] media: Links setup

2010-11-24 Thread Laurent Pinchart
can not be activated or deactivated. Activating and deactivating a link has effects on entities' use count. Those changes are automatically propagated through the graph. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off

[RFC/PATCH v6 04/12] media: Entity graph traversal

2010-11-24 Thread Laurent Pinchart
not supported. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Vimarsh Zutshi vimarsh.zut...@nokia.com --- Documentation/media-framework.txt | 42 + drivers/media/media-entity.c

[RFC/PATCH v6 05/12] media: Reference count and power handling

2010-11-24 Thread Laurent Pinchart
are increased/decreased in media_entity_get/put to prevent module unloading when an entity is referenced. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com

[RFC/PATCH v6 03/12] media: Entities, pads and links

2010-11-24 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/DocBook/v4l/media-controller.xml | 20 +++ Documentation/media-framework.txt | 149 drivers/media/Makefile

[RFC/PATCH v6 12/12] v4l: Make v4l2_subdev inherit from media_entity

2010-11-24 Thread Laurent Pinchart
-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/video4linux/v4l2-framework.txt | 23 ++ drivers/media/video/v4l2-device.c| 39 drivers/media/video/v4l2

[RFC/PATCH v3 0/7] OMAP3 ISP driver

2010-11-24 Thread Laurent Pinchart
a lot compared to the previous submission. We still have a couple of private ioctls that will need to change (that's on my loong todo list). Laurent Pinchart (5): v4l: subdev: Generic ioctl support v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions v4l: Add subdev

[RFC/PATCH v3 1/7] v4l: subdev: Generic ioctl support

2010-11-24 Thread Laurent Pinchart
Instead of returning an error when receiving an ioctl call with an unsupported command, forward the call to the subdev core::ioctl handler. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/video4linux/v4l2-framework.txt |5 + drivers/media/video/v4l2

[RFC/PATCH v3 3/7] v4l: Add subdev sensor g_skip_frames operation

2010-11-24 Thread Laurent Pinchart
Some buggy sensors generate corrupt frames when the stream is started. This new operation return the number of corrupt frames to skip when starting the stream. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h |4 1 files changed, 4

[RFC/PATCH v3 4/7] v4l: Include linux/videodev2.h in media/v4l2-ctrls.h

2010-11-24 Thread Laurent Pinchart
The later makes extensive use of structures defined in the former. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-ctrls.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h

[RFC/PATCH v3 5/7] ARM: OMAP3: Update Camera ISP definitions for OMAP3630

2010-11-24 Thread Laurent Pinchart
From: Tuukka Toivonen tuukka.o.toivo...@nokia.com Add new/changed base address definitions and resources for OMAP3630 ISP. The OMAP3430 CSI2PHY block is same as the OMAP3630 CSIPHY2 block. But the later name is chosen as it gives more symmetry to the names. Signed-off-by: Tuukka Toivonen

[RFC/PATCH v3 6/7] omap3: Export omap3isp platform device structure

2010-11-24 Thread Laurent Pinchart
the platform device structure to let board code register/unregister it. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/mach-omap2/devices.c | 18 -- arch/arm/mach-omap2/devices.h | 17

Re: [RFC] tidspbridge: use a parameter to allocate shared memory

2010-10-07 Thread Laurent Pinchart
Hi Russell On Thursday 07 October 2010 10:32:42 Russell King - ARM Linux wrote: On Thu, Oct 07, 2010 at 09:40:12AM +0200, Laurent Pinchart wrote: Hi Omar, On Thursday 07 October 2010 07:45:36 Omar Ramirez Luna wrote: tidspbridge driver uses a block of memory denominated SHared Memory

Re: [RFC 1/8] TILER-DMM: DMM-PAT driver for TI TILER

2010-07-28 Thread Laurent Pinchart
or not, any specific reason behind double _ here? [dhs] Yes -- this comment has been made already. I'm using the same names defined in the TRM. However, it can be changed. If the TRM uses two underscores I'm fine with it. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send

Re: [RFC 1/8] TILER-DMM: DMM-PAT driver for TI TILER

2010-07-28 Thread Laurent Pinchart
on the proposal, as there's no public documentation I'm aware of beside the Documentation/arm/TILER file in the patch set, and that information is far too concise and vague. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

Re: Buffer overrun in the TWL4030 keypad driver with Nokia RX51

2010-07-21 Thread Laurent Pinchart
Hi Dmitry, On Tuesday 20 July 2010 20:07:45 Dmitry Torokhov wrote: On Tuesday, July 20, 2010 04:06:08 am Laurent Pinchart wrote: On Saturday 17 July 2010 23:37:05 Dmitry Torokhov wrote: On Fri, Jul 16, 2010 at 05:28:43PM +0200, Laurent Pinchart wrote: I've spent the day debugging

Re: Buffer overrun in the TWL4030 keypad driver with Nokia RX51

2010-07-20 Thread Laurent Pinchart
Hi Dmitry, On Saturday 17 July 2010 23:37:05 Dmitry Torokhov wrote: On Fri, Jul 16, 2010 at 05:28:43PM +0200, Laurent Pinchart wrote: I've spent the day debugging a kernel crash in the USB networking code to find out the problem was caused by a buffer overrun in the TWL4030 keypad

Buffer overrun in the TWL4030 keypad driver with Nokia RX51

2010-07-16 Thread Laurent Pinchart
a patch, but I'm not familiar enough with the TWL4030 keypad driver and the generic matrix keypad code to know what the best fix would be. Hopefully this should be quite clear for the TWL4030 keypad driver developers. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line

Re: Alternative for defconfig

2010-06-11 Thread Laurent Pinchart
regressions. My understanding is that Linus will remove all ARM defconfigs in 2.6.36, unless someone can convince him not to. Board-specific defconfigs won't be allowed anymore, the number of defconfigs needs to be reduced drastically (ideally to one or two only). -- Regards, Laurent Pinchart

Re: Alternative for defconfig

2010-06-11 Thread Laurent Pinchart
Hi Anand, On Friday 11 June 2010 17:14:19 Gadiyar, Anand wrote: Laurent Pinchart wrote: On Friday 11 June 2010 16:55:07 Aguirre, Sergio wrote: On Fri, Jun 11, 2010 at 3:19 PM, Nagarajan, Rajkumar wrote: 1. What is the alternative way of submitting defconfig changes/files

[PATCH] iovmm: Support non page-aligned buffers in iommu_vmap

2010-06-03 Thread Laurent Pinchart
The IOMMU virtual memory mapping API requires page-aligned buffers. There's no hardware reason behind such a restriction. Remove it by rounding the address of the first page entry down, and adding the offset back to the IOMMU virtual address. Signed-off-by: Laurent Pinchart laurent.pinch

[linux-dali PATCH 1/1] omap3isp: video: Fix isp_video_far_end to return the correct entity

2010-06-03 Thread Laurent Pinchart
If the pipeline is misconfigured, the isp_video_far_end function could return a wrong ISP video device. Fix this by ignoring ISP video devices of the same type as the local end. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/isp/ispvideo.c | 14

Re: [PATCH] musb: Add workqueue for URB giveback

2010-02-26 Thread Laurent Pinchart
, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ng

2008-12-02 Thread Laurent Pinchart
Hi Mauro, On Monday 01 December 2008, Mauro Carvalho Chehab wrote: Hi Hans, On Mon, 1 Dec 2008 15:24:43 +0100 Laurent Pinchart [EMAIL PROTECTED] wrote: [snip] In a few months time (probably even earlier) the v4l2_device structure will be reworked (and possible renamed). Hmm... why

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ng

2008-12-02 Thread Laurent Pinchart
Hi Hans, On Monday 01 December 2008, Hans Verkuil wrote: On Monday 01 December 2008 15:24:43 Laurent Pinchart wrote: [snip] In a few months time (probably even earlier) the v4l2_device structure will be reworked (and possible renamed). I'm fine with it going to linux-next now if we agree

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ng

2008-12-01 Thread Laurent Pinchart
-by: Laurent Pinchart [EMAIL PROTECTED] Reviewed-by: Guennadi Liakhovetski [EMAIL PROTECTED] Reviewed-by: Andy Walls [EMAIL PROTECTED] Reviewed-by: David Brownell [EMAIL PROTECTED] Once this is in I'll start on converting the other i2c drivers. Best regards, Laurent Pinchart -- To unsubscribe from

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ng

2008-12-01 Thread Laurent Pinchart
Hi Hans, On Monday 01 December 2008, Hans Verkuil wrote: On Monday 01 December 2008 13:31:25 Laurent Pinchart wrote: On Monday 01 December 2008, Hans Verkuil wrote: Hi Mauro, Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ng for the following: - v4l2: add

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-ng

2008-12-01 Thread Laurent Pinchart
Hi Hans, On Monday 01 December 2008, Hans Verkuil wrote: On Monday 01 December 2008 14:29:53 Laurent Pinchart wrote: On Monday 01 December 2008, Hans Verkuil wrote: On Monday 01 December 2008 13:31:25 Laurent Pinchart wrote: On Monday 01 December 2008, Hans Verkuil wrote: Hi Mauro

Re: v4l2_device/v4l2_subdev: please review (PATCH 1/3)

2008-11-30 Thread Laurent Pinchart
Hi Hans, On Saturday 29 November 2008, Hans Verkuil wrote: Hi Laurent, Let me start by thanking you for reviewing this! Much appreciated. You're welcome. On Saturday 29 November 2008 00:34:44 Laurent Pinchart wrote: Hi Hans, On Tuesday 25 November 2008, Hans Verkuil wrote

Re: v4l2_device/v4l2_subdev: please review (PATCH 1/3)

2008-11-28 Thread Laurent Pinchart
Hi Hans, On Tuesday 25 November 2008, Hans Verkuil wrote: As requested, the patches as separate posts for review. Hans # HG changeset patch # User Hans Verkuil [EMAIL PROTECTED] # Date 1227560990 -3600 # Node ID d9ec70c0b0c55e18813f91218c6da6212ca9b7e6 # Parent

<    1   2   3   4   5   6