[PATCH 1/2] v4l: add subdev pool

2010-08-29 Thread Tomasz Stanislawski
The new functionality to v4l2_subdev API is introduced. The drivers are allowed to register their V4L2 subdevs into the subdev pool. The subdev can be later accessed by its name. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH 2/2] v4l: crossbar: add CrossBar driver

2010-08-29 Thread Tomasz Stanislawski
The CrossBar driver allows to use one sensor by multiple consumers. The CrossBar splits a single sensor V4L2 subdev into multiple subdevs, which are registered into subdev pool. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH v4 0/5] v4l: extended crop/compose api

2011-08-26 Thread Tomasz Stanislawski
that prevents passing configuration to a hardware - added usage examples Tomasz Stanislawski (5): [media] v4l: add support for selection api [media] v4l: add documentation for selection API [media] v4l: simulate old crop API using extended crop/compose API [media] v4l: fix copying ioctl results

[PATCH 4/5] [media] v4l: fix copying ioctl results on failure

2011-08-26 Thread Tomasz Stanislawski
This patch fix the handling of data passed to V4L2 ioctls. The content of the structures is not copied if the ioctl fails. It blocks ability to obtain any information about occurred error other then errno code. This patch fix this issue. Signed-off-by: Tomasz Stanislawski t.stanisl

[PATCH 1/5] [media] v4l: add support for selection api

2011-08-26 Thread Tomasz Stanislawski
This patch introduces new api for a precise control of cropping and composing features for video devices. The new ioctls are VIDIOC_S_SELECTION and VIDIOC_G_SELECTION. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers

[PATCH 3/5] [media] v4l: simulate old crop API using extended crop/compose API

2011-08-26 Thread Tomasz Stanislawski
This patch allows new video drivers to work correctly with applications that use the old-style crop API. The old crop ioctl is simulated by using selection callbacks. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers

[PATCH 5/5] [media] v4l: s5p-tv: mixer: add support for selection API

2011-08-26 Thread Tomasz Stanislawski
This patch add support for V4L2 selection API to s5p-tv driver. Moreover it removes old API for cropping. Old applications would still work because the crop ioctls are emulated using the selection API. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

Re: [PATCH 4/5] [media] v4l: fix copying ioctl results on failure

2011-08-29 Thread Tomasz Stanislawski
On 08/26/2011 05:09 PM, Laurent Pinchart wrote: Hi Laurent, Hi Tomasz, On Friday 26 August 2011 15:06:06 Tomasz Stanislawski wrote: This patch fix the handling of data passed to V4L2 ioctls. The content of the structures is not copied if the ioctl fails. It blocks ability to obtain any

Re: [PATCH 4/5] [media] v4l: fix copying ioctl results on failure

2011-08-29 Thread Tomasz Stanislawski
On 08/29/2011 10:56 AM, Laurent Pinchart wrote: Hi Tomasz, On Monday 29 August 2011 10:01:58 Tomasz Stanislawski wrote: On 08/26/2011 05:09 PM, Laurent Pinchart wrote: On Friday 26 August 2011 15:06:06 Tomasz Stanislawski wrote: This patch fix the handling of data passed to V4L2 ioctls

Re: [PATCH 1/5] [media] v4l: add support for selection api

2011-08-30 Thread Tomasz Stanislawski
On 08/26/2011 05:01 PM, Laurent Pinchart wrote: Hi Tomasz, On Friday 26 August 2011 15:06:03 Tomasz Stanislawski wrote: This patch introduces new api for a precise control of cropping and composing features for video devices. The new ioctls are VIDIOC_S_SELECTION and VIDIOC_G_SELECTION

[PATCH 1/4] v4l: add support for selection api

2011-08-31 Thread Tomasz Stanislawski
This patch introduces new api for a precise control of cropping and composing features for video devices. The new ioctls are VIDIOC_S_SELECTION and VIDIOC_G_SELECTION. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers

[PATCH 4/4] v4l: s5p-tv: mixer: add support for selection API

2011-08-31 Thread Tomasz Stanislawski
This patch add support for V4L2 selection API to s5p-tv driver. Moreover it removes old API for cropping. Old applications would still work because the crop ioctls are emulated using the selection API. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

[PATCHv5 0/4] v4l: extended crop/compose api

2011-08-31 Thread Tomasz Stanislawski
- added usage examples Tomasz Stanislawski (4): v4l: add support for selection api v4l: add documentation for selection API v4l: emulate old crop API using extended crop/compose API v4l: s5p-tv: mixer: add support for selection API Documentation/DocBook/media/constraints.png.b64| 134

Re: [PATCH 2/4] v4l: add documentation for selection API

2011-09-23 Thread Tomasz Stanislawski
August 2011 14:28:21 Tomasz Stanislawski wrote: This patch adds a documentation for VIDIOC_{G/S}_SELECTION ioctl. Moreover, the patch adds the description of modeling of composing, cropping and scaling features in V4L2. Finally, some examples are presented. Signed-off-by: Tomasz Stanislawskit.stanisl

Re: [PATCH 2/4] v4l: add documentation for selection API

2011-09-23 Thread Tomasz Stanislawski
me that constraints are better, but I can live with them. -- Best Regards, Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [GIT PULL] Selection API and fixes for v3.2

2011-09-26 Thread Tomasz Stanislawski
to a single git branch. Please pull them to your media tree. Marek Szyprowski (1): staging: dt3155v4l: fix build break I've applied this one previously, from the patch you sent me. Tomasz Stanislawski (6): v4l: add support for selection api v4l: add documentation

Re: [GIT PULL] Selection API and fixes for v3.2

2011-09-27 Thread Tomasz Stanislawski
Hi Mauro, On 09/26/2011 02:10 PM, Mauro Carvalho Chehab wrote: Em 26-09-2011 05:42, Tomasz Stanislawski escreveu: On 09/24/2011 05:58 AM, Mauro Carvalho Chehab wrote: Hi Mauro Thank you for your comments. Please refer to the answers below. Em 22-09-2011 12:13, Marek Szyprowski escreveu

Re: [PATCH 2/4] v4l: add documentation for selection API

2011-09-27 Thread Tomasz Stanislawski
Hi Hans, Thank you for a quick review :). On 09/27/2011 11:20 AM, Hans Verkuil wrote: On Wednesday, August 31, 2011 14:28:21 Tomasz Stanislawski wrote: This patch adds a documentation for VIDIOC_{G/S}_SELECTION ioctl. Moreover, the patch adds the description of modeling of composing, cropping

Re: [PATCH 2/4] v4l: add documentation for selection API

2011-09-27 Thread Tomasz Stanislawski
Hi Laurent, On 09/27/2011 01:17 PM, Laurent Pinchart wrote: Hi Tomasz, On Friday 23 September 2011 17:22:27 Tomasz Stanislawski wrote: On 09/23/2011 03:13 PM, Laurent Pinchart wrote: [snip] I have to ideas to add subpixels to selection API. 1. Introduce struct v4l2_frect similar

Re: [GIT PULL] Selection API and fixes for v3.2

2011-09-28 Thread Tomasz Stanislawski
Hi Hans, On 09/28/2011 10:01 AM, Hans Verkuil wrote: On Tuesday, September 27, 2011 18:46:10 Tomasz Stanislawski wrote: On 09/27/2011 04:10 PM, Mauro Carvalho Chehab wrote: Em 27-09-2011 10:02, Tomasz Stanislawski escreveu: On 09/26/2011 02:10 PM, Mauro Carvalho Chehab wrote: Em 26-09-2011

Re: [PATCH 3/5] [media] v4l: simulate old crop API using extended crop/compose API

2011-09-28 Thread Tomasz Stanislawski
Hi Hans, On 09/27/2011 11:30 AM, Hans Verkuil wrote: On Friday, August 26, 2011 15:06:05 Tomasz Stanislawski wrote: This patch allows new video drivers to work correctly with applications that use the old-style crop API. The old crop ioctl is simulated by using selection callbacks. Signed

Re: [GIT PULL] Selection API and fixes for v3.2

2011-09-28 Thread Tomasz Stanislawski
Hi Mauro, On 09/28/2011 12:40 PM, Mauro Carvalho Chehab wrote: Em 28-09-2011 06:59, Tomasz Stanislawski escreveu: On 09/28/2011 10:01 AM, Hans Verkuil wrote: On Tuesday, September 27, 2011 18:46:10 Tomasz Stanislawski wrote: On 09/27/2011 04:10 PM, Mauro Carvalho Chehab wrote: Em 27-09-2011

Re: [PATCH 1/4] v4l: add support for selection api

2011-09-29 Thread Tomasz Stanislawski
Hi Hans, On 09/27/2011 10:28 AM, Hans Verkuil wrote: Here is my 'better late than never' review :-) On Wednesday, August 31, 2011 14:28:20 Tomasz Stanislawski wrote: This patch introduces new api for a precise control of cropping and composing features for video devices. The new ioctls

[PATCH v5 0/5] v4l: extended crop/compose api

2011-09-29 Thread Tomasz Stanislawski
crop and compose targets - introduced try flag that prevents passing configuration to a hardware - added usage examples Tomasz Stanislawski (5): v4l: add support for selection api doc: v4l: add binary images for selection API doc: v4l: add documentation for selection API v4l: emulate old crop

[PATCH 1/5] v4l: add support for selection api

2011-09-29 Thread Tomasz Stanislawski
This patch introduces new api for a precise control of cropping and composing features for video devices. The new ioctls are VIDIOC_S_SELECTION and VIDIOC_G_SELECTION. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers

[PATCH 5/5] v4l: s5p-tv: mixer: add support for selection API

2011-09-29 Thread Tomasz Stanislawski
This patch add support for V4L2 selection API to s5p-tv driver. Moreover it removes old API for cropping. Old applications would still work because the crop ioctls are emulated using the selection API. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 4/5] v4l: emulate old crop API using extended crop/compose API

2011-09-29 Thread Tomasz Stanislawski
This patch allows new video drivers to work correctly with applications that use the old-style crop API. The old crop ioctl is emulated by using selection callbacks. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers

[PATCH 3/5] doc: v4l: add documentation for selection API

2011-09-29 Thread Tomasz Stanislawski
This patch adds a documentation for VIDIOC_{G/S}_SELECTION ioctl. Moreover, the patch adds the description of modeling of composing, cropping and scaling features in V4L2. Finally, some examples are presented. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin

Re: [PATCH] media: vb2: add a check if queued userptr buffer is large enough

2011-09-30 Thread Tomasz Stanislawski
= EINVAL; You should return -EINVAL, not EINVAL. Returning the positive number is a success. Best regards, Tomasz Stanislawski + goto err; + } + /* Release previously acquired memory if present */ if (vb-planes[plane

Re: [PATCH 3/5] doc: v4l: add documentation for selection API

2011-10-04 Thread Tomasz Stanislawski
On 09/30/2011 06:52 PM, Mauro Carvalho Chehab wrote: Em 29-09-2011 11:22, Tomasz Stanislawski escreveu: This patch adds a documentation for VIDIOC_{G/S}_SELECTION ioctl. Moreover, the patch adds the description of modeling of composing, cropping and scaling features in V4L2. Finally, some

Re: [PATCH 1/4] v4l: add support for selection api

2011-10-12 Thread Tomasz Stanislawski
On 10/12/2011 01:48 PM, Sakari Ailus wrote: Hi Tomasz, On Wed, Aug 31, 2011 at 02:28:20PM +0200, Tomasz Stanislawski wrote: ... diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index fca24cc..b7471fe 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h

Re: [RFC 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-10-14 Thread Tomasz Stanislawski
) +{ + return; +} +#endif /* CONFIG_DMA_SHARED_BUFFER */ + +#endif /* __DMA_BUF_H__ */ I hope you find my comments useful. Yours sincerely, Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 1/4] v4l: add support for selection api

2011-10-17 Thread Tomasz Stanislawski
Hi Sakari, On 10/14/2011 07:19 PM, Sakari Ailus wrote: On Wed, Oct 12, 2011 at 05:08:20PM +0200, Tomasz Stanislawski wrote: On 10/12/2011 01:48 PM, Sakari Ailus wrote: Hi Tomasz, On Wed, Aug 31, 2011 at 02:28:20PM +0200, Tomasz Stanislawski wrote: ... diff --git a/include/linux/videodev2.h

[PATCH/RFC 0/5] HDMI driver for Samsung S5PV310 platform

2011-02-08 Thread Tomasz Stanislawski
=== Tomasz Stanislawski (5): i2c-s3c2410: fix I2C dedicated for hdmiphy universal: i2c: add I2C controller 8 (HDMIPHY) v4l: add macro for 1080p59_54 preset s5p-tv: add driver for HDMI output on S5PC210 platform s5pc210: add s5p-tv to platform devices arch/arm/mach-s5pv310

[PATCH 1/5] i2c-s3c2410: fix I2C dedicated for hdmiphy

2011-02-08 Thread Tomasz Stanislawski
The I2C HDMIPHY dedicated controller has different timeout handling and reset conditions. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/i2c/busses/i2c-s3c2410.c | 36 +++- 1 files

[PATCH 3/5] v4l: add macro for 1080p59_54 preset

2011-02-08 Thread Tomasz Stanislawski
The 1080p59_94 is supported in latest Samusng SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0

[PATCH 2/5] universal: i2c: add I2C controller 8 (HDMIPHY)

2011-02-08 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s5pv310/clock.c |6 +++ arch/arm/mach-s5pv310/include/mach/irqs.h |4 ++ arch/arm/mach-s5pv310/include/mach/map.h |1 + arch/arm/plat

[PATCH 5/5] s5pc210: add s5p-tv to platform devices

2011-02-08 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Marek Szyprowski m.szyprow...@samsung.com --- arch/arm/mach-s5pv310/Kconfig |7 + arch/arm/mach-s5pv310/Makefile |1 + arch

[RFC] Cropping problem with V4L2, crop extension

2011-02-09 Thread Tomasz Stanislawski
and hardware restriction simultaneously. What it your opinion about proposed solutions? Looking for a reply, Best regards, Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info

Re: V4L2 'brainstorming' meeting in Warsaw, March 2011

2011-03-01 Thread Tomasz Stanislawski
/gmane.linux.drivers.video-input-infrastructure/28885/focus=28890 Best regards Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v2 0/6] HDMI driver for Samsung S5PV310 platform

2011-03-04 Thread Tomasz Stanislawski
=== Tomasz Stanislawski (6): i2c-s3c2410: fix I2C dedicated for hdmiphy universal: i2c: add I2C controller 8 (HDMIPHY) v4l: add macro for 1080p59_54 preset s5p-tv: add driver for HDMI output on S5PC210 platform s5pv310: add s5p-tv to platform devices s5pv310: add s5p-tv to Universal C210 board

[PATCH 1/6] i2c-s3c2410: fix I2C dedicated for hdmiphy

2011-03-04 Thread Tomasz Stanislawski
The I2C HDMIPHY dedicated controller has different timeout handling and reset conditions. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: ben-li...@fluff.org --- drivers/i2c/busses/i2c-s3c2410.c | 36

[PATCH 2/6] universal: i2c: add I2C controller 8 (HDMIPHY)

2011-03-04 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s5pv310/clock.c |6 +++ arch/arm/mach-s5pv310/include/mach/irqs.h |4 ++ arch/arm/mach-s5pv310/include/mach/map.h |1 + arch/arm/plat

[PATCH 3/6] v4l: add macro for 1080p59_54 preset

2011-03-04 Thread Tomasz Stanislawski
The 1080p59_94 is supported in latest Samusng SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0

[PATCH 6/6] s5pv310: add s5p-tv to Universal C210 board

2011-03-04 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/mach-s5pv310/Kconfig |2 + arch/arm/mach-s5pv310/mach-universal_c210.c | 54 +++ 2 files changed, 56 insertions(+), 0

[PATCH 5/6] s5pv310: add s5p-tv to platform devices

2011-03-04 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Marek Szyprowski m.szyprow...@samsung.com s5pv310: fix and clean code for TV power s5pv310: tv: fix clock setup s5pv310: tv: integrate with Power Domain driver s5pv310

[PATCH 0/2] V4L: Extended crop/compose API

2011-03-28 Thread Tomasz Stanislawski
triple S_EXTCROP, S_SCALE, S_COMPOSE can be converted to S_EXTCROP and S_COMPOSE pair if a subpixel resolution is supported What it your opinion about proposed solutions? Looking for a reply, Best regards, Tomasz Stanislawski Tomasz Stanislawski (2): v4l: add support for extended crop

[PATCH 2/2] v4l: simulate old crop API using extcrop/compose

2011-03-28 Thread Tomasz Stanislawski
This patch allows new drivers to work correctly with applications that use old-style crop API. The old crop ioctl is simulated by using extcrop/compose. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/media/video/v4l2-ioctl.c | 46

[PATCH 1/2] v4l: add support for extended crop/compose API

2011-03-28 Thread Tomasz Stanislawski
Four new ioctl for a precise control of cropping and composing: VIDIOC_S_EXTCROP VIDIOC_G_EXTCROP VIDIOC_S_COMPOSE VIDIOC_G_COMPOSE Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/media/video/v4l2-compat-ioctl32.c |4 ++ drivers/media/video/v4l2-ioctl.c

Re: [PATCH 0/2] V4L: Extended crop/compose API

2011-03-29 Thread Tomasz Stanislawski
Hans Verkuil wrote: On Monday, March 28, 2011 17:19:54 Tomasz Stanislawski wrote: Hello everyone, This patch-set introduces new ioctls to V4L2 API. The new method for configuration of cropping and composition is presented. There is some confusion in understanding of a cropping in current

Re: [PATCH 0/2] V4L: Extended crop/compose API

2011-03-29 Thread Tomasz Stanislawski
Hans Verkuil wrote: On Tuesday, March 29, 2011 11:22:17 Tomasz Stanislawski wrote: Hans Verkuil wrote: On Monday, March 28, 2011 17:19:54 Tomasz Stanislawski wrote: Hello everyone, This patch-set introduces new ioctls to V4L2 API. The new method for configuration of cropping and composition

Re: [PATCH 0/2] V4L: Extended crop/compose API

2011-04-05 Thread Tomasz Stanislawski
Laurent Pinchart wrote: Hi Tomasz, On Tuesday 29 March 2011 12:38:50 Tomasz Stanislawski wrote: Hans Verkuil wrote: On Tuesday, March 29, 2011 11:22:17 Tomasz Stanislawski wrote: Hans Verkuil wrote: On Monday, March 28, 2011 17:19:54 Tomasz Stanislawski wrote: Hello everyone, This patch

[PATCH 1/2] v4l: add support for extended crop/compose API

2011-04-06 Thread Tomasz Stanislawski
Four new ioctl for a precise control of cropping and composing: VIDIOC_S_EXTCROP VIDIOC_G_EXTCROP VIDIOC_S_COMPOSE VIDIOC_G_COMPOSE Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/media/video/v4l2-compat-ioctl32.c |4 ++ drivers/media/video/v4l2-ioctl.c

[PATCH 0/2] V4L: Extended crop/compose API, ver2

2011-04-06 Thread Tomasz Stanislawski
regards, Tomasz Stanislawski Tomasz Stanislawski (2): v4l: add support for extended crop/compose API v4l: simulate old crop API using extcrop/compose drivers/media/video/v4l2-compat-ioctl32.c |4 + drivers/media/video/v4l2-ioctl.c | 150 ++--- include

[PATCH 2/2] v4l: simulate old crop API using extcrop/compose

2011-04-06 Thread Tomasz Stanislawski
This patch allows new drivers to work correctly with applications that use old-style crop API. The old crop ioctl is simulated by using extcrop/compose. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/media/video/v4l2-ioctl.c | 94

Re: [PATCH 0/2] V4L: Extended crop/compose API, ver2

2011-04-11 Thread Tomasz Stanislawski
Hans Verkuil wrote: Hi Tomasz! Some comments below... On Wednesday, April 06, 2011 10:44:17 Tomasz Stanislawski wrote: Hello everyone, This patch-set introduces new ioctls to V4L2 API. The new method for configuration of cropping and composition is presented. This is the second version

[PATCH 1/3] v4l: add macro for 1080p59_54 preset

2011-04-11 Thread Tomasz Stanislawski
The 1080p59_94 is supported in latest Samusng SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0

[PATCH 2/3] v4l: add g_tvnorms callback to V4L2 subdev

2011-04-11 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/media/v4l2-subdev.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 1562c4f

[RFC/PATCH v3 0/3] TV driver for Samsung Exynos4 platform (media part)

2011-04-11 Thread Tomasz Stanislawski
) 09. Fill buffer 1 with data 10. QBUF(type = OUTPUT, index = 1) 11. DQBUF(type = OUTPUT) 12. QBUF(type = OUTPUT, index = 0) 13. DQBUF(type = OUTPUT) 14. Goto 09 === Patch Summary === Tomasz Stanislawski (3): v4l: add macro for 1080p59_54 preset v4l: add g_tvnorms

Re: [PATCH 0/2] V4L: Extended crop/compose API, ver2

2011-04-12 Thread Tomasz Stanislawski
Hi Laurent, Thank you for your comments. Hi Hans, Tomasz, On Monday 11 April 2011 12:42:10 Tomasz Stanislawski wrote: Hans Verkuil wrote: On Wednesday, April 06, 2011 10:44:17 Tomasz Stanislawski wrote: Hello everyone, This patch-set introduces new ioctls to V4L2 API. The new method

[PATCH 2/2] v4l: simulate old crop API using extended crop/compose API

2011-05-05 Thread Tomasz Stanislawski
This patch allows new drivers to work correctly with applications that use old-style crop API. The old crop ioctl is simulated by using selection ioctls. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/media/video/v4l2-ioctl.c | 85

[PATCH 1/2] v4l: add support for extended crop/compose API

2011-05-05 Thread Tomasz Stanislawski
New ioctl for a precise control of cropping and composing: VIDIOC_S_SELECTION VIDIOC_G_SELECTION Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/media/video/v4l2-compat-ioctl32.c |2 ++ drivers/media/video/v4l2-ioctl.c | 28

[PATCH 0/2] V4L: Extended crop/compose API

2011-05-05 Thread Tomasz Stanislawski
/compose sizes in a single ioctl What it your opinion about proposed solutions? Looking for a reply, Best regards, Tomasz Stanislawski Tomasz Stanislawski (2): v4l: add support for extended crop/compose API v4l: simulate old crop API using extended crop/compose API drivers/media/video/v4l2

Re: [PATCH 2/2] v4l: simulate old crop API using extended crop/compose API

2011-05-09 Thread Tomasz Stanislawski
Jonghun Han wrote: Hi Tomasz Stanislawski, On Thursday, May 05, 2011 6:40 PM Tomasz Stanislawski wrote: This patch allows new drivers to work correctly with applications that use old-style crop API. The old crop ioctl is simulated by using selection ioctls. Signed-off-by: Tomasz Stanislawski

Re: [PATCH 0/2] V4L: Extended crop/compose API

2011-05-18 Thread Tomasz Stanislawski
Laurent Pinchart wrote: On Saturday 14 May 2011 12:50:32 Hans Verkuil wrote: On Friday, May 13, 2011 14:43:08 Laurent Pinchart wrote: On Saturday 07 May 2011 13:52:25 Hans Verkuil wrote: On Thursday, May 05, 2011 11:39:54 Tomasz Stanislawski wrote: Hi Laurent and Hans, I am very sorry

Re: [PATCH 0/2] V4L: Extended crop/compose API

2011-05-19 Thread Tomasz Stanislawski
Laurent Pinchart wrote: On Wednesday 18 May 2011 15:03:13 Sylwester Nawrocki wrote: On 05/18/2011 02:31 PM, Hans Verkuil wrote: On Wednesday, May 18, 2011 14:06:21 Sylwester Nawrocki wrote: On 05/16/2011 09:21 AM, Laurent Pinchart wrote: On Saturday 14 May 2011 12:50:32 Hans Verkuil wrote:

Re: [PATCH 0/2] V4L: Extended crop/compose API

2011-05-19 Thread Tomasz Stanislawski
Tomasz Stanislawski wrote: Laurent Pinchart wrote: On Saturday 14 May 2011 12:50:32 Hans Verkuil wrote: On Friday, May 13, 2011 14:43:08 Laurent Pinchart wrote: On Saturday 07 May 2011 13:52:25 Hans Verkuil wrote: On Thursday, May 05, 2011 11:39:54 Tomasz Stanislawski wrote: Hi Laurent

Re: [PATCH 0/2] V4L: Extended crop/compose API

2011-05-24 Thread Tomasz Stanislawski
Laurent Pinchart wrote: Hi Tomasz, On Wednesday 18 May 2011 18:55:51 Tomasz Stanislawski wrote: Laurent Pinchart wrote: On Saturday 14 May 2011 12:50:32 Hans Verkuil wrote: On Friday, May 13, 2011 14:43:08 Laurent Pinchart wrote: On Saturday 07 May 2011 13:52:25 Hans Verkuil wrote

[PATCH v4 0/3] TV driver for Samsung S5P platform (media part)

2011-05-24 Thread Tomasz Stanislawski
= OUTPUT) 14. Goto 09 === Patch Summary === Tomasz Stanislawski (3): v4l: add macro for 1080p59_54 preset v4l: add g_tvnorms callback to V4L2 subdev s5p-tv: add drivers for TV on Samsung S5P platform drivers/media/video/Kconfig |8 + drivers

[PATCH 2/3] v4l: add g_tvnorms callback to V4L2 subdev

2011-05-24 Thread Tomasz Stanislawski
Callback is used to acquire TV norms supported by a subdev. It is used to avoid having standards in top-level driver. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/media/v4l2-subdev.h |1 + 1 files changed, 1

[PATCH 1/3] v4l: add macro for 1080p59_54 preset

2011-05-24 Thread Tomasz Stanislawski
The 1080p59_94 is supported in latest Samusng SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0

Re: [PATCH 0/2] V4L: Extended crop/compose API

2011-05-25 Thread Tomasz Stanislawski
Laurent Pinchart wrote: Hi Tomasz, On Tuesday 24 May 2011 14:28:49 Tomasz Stanislawski wrote: Laurent Pinchart wrote: On Wednesday 18 May 2011 18:55:51 Tomasz Stanislawski wrote: Laurent Pinchart wrote: On Saturday 14 May 2011 12:50:32 Hans Verkuil wrote: On Friday, May 13, 2011 14:43:08

[PATCH 2/3] v4l: add g_tvnorms callback to V4L2 subdev

2011-06-08 Thread Tomasz Stanislawski
Callback is used to acquire TV norms supported by a subdev. It is used to avoid having standards in top-level driver. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/media/v4l2-subdev.h |1 + 1 files changed, 1

[PATCH v5 0/3] TV driver for Samsung S5P platform (media part)

2011-06-08 Thread Tomasz Stanislawski
. QBUF(type = OUTPUT, index = 0) 13. DQBUF(type = OUTPUT) 14. Goto 09 === Patch Summary === Tomasz Stanislawski (3): v4l: add macro for 1080p59_54 preset v4l: add g_tvnorms callback to V4L2 subdev s5p-tv: add drivers for TV on Samsung S5P platform drivers/media/video

[PATCH 1/3] v4l: add macro for 1080p59_54 preset

2011-06-08 Thread Tomasz Stanislawski
The 1080p59_94 is supported in latest Samusng SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0

Re: [PATCH 3/3] s5p-tv: add drivers for TV on Samsung S5P platform

2011-06-21 Thread Tomasz Stanislawski
Hi Hans, On Thursday, June 09, 2011 18:18:47 Tomasz Stanislawski wrote: Hans Verkuil wrote: On Wednesday, June 08, 2011 14:03:31 Tomasz Stanislawski wrote: And now the mixer review... I'll separate patches. What is the proposed order of drivers? HDMI+HDMIPHY, SDO

Summary of brainstorm about cropping and pipeline configuration

2011-06-24 Thread Tomasz Stanislawski
this information useful, Regards, Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v6 0/8] TV drivers for Samsung S5P platform (media part)

2011-06-29 Thread Tomasz Stanislawski
with data 07. QBUF(type = OUTPUT, index = 0) 08. STREAM_ON(type = OUTPUT) 09. Fill buffer 1 with data 10. QBUF(type = OUTPUT, index = 1) 11. DQBUF(type = OUTPUT) 12. QBUF(type = OUTPUT, index = 0) 13. DQBUF(type = OUTPUT) 14. Goto 09 === Patch Summary === Tomasz Stanislawski

[PATCH 1/8] v4l: add macro for 1080p59_54 preset

2011-06-29 Thread Tomasz Stanislawski
The 1080p59_94 is supported by latest Samsung SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h

[PATCH 3/8] v4l: add g_dv_preset callback to V4L2 subdev

2011-06-29 Thread Tomasz Stanislawski
Callback is used to acquire current digital video preset from a subdev. It is used to avoid keeping dv preset in top-level driver. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/media/v4l2-subdev.h |4 1

[PATCH 2/8] v4l: add g_tvnorms_output callback to V4L2 subdev

2011-06-29 Thread Tomasz Stanislawski
Callback is used to acquire TV norms supported by a subdev. It is used to avoid having standards in top-level driver. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Hans Verkuil hverk...@xs4all.nl --- include/media

[PATCH 4/8] v4l: add g_std_output callback to V4L2 subdev

2011-06-29 Thread Tomasz Stanislawski
Callback is used to acquire current analog TV standard from a subdev. It is used to avoid keeping current standard in top-level driver. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/media/v4l2-subdev.h |4

[PATCH 7/8] v4l: s5p-tv: add SDO driver for Samsung S5P platform

2011-06-29 Thread Tomasz Stanislawski
Add drivers for Standard Definition output (SDO) on Samsung platforms from S5P family. The driver provides control over streaming analog TV via Composite connector. Driver is using: - v4l2 framework - runtime PM Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin

[PATCH 5/8] v4l: fix v4l_fill_dv_preset_info function

2011-06-29 Thread Tomasz Stanislawski
The function fills struct v4l2_dv_enum_preset with appropriate preset parameters but it forgets to zero field named reserved. This patch fixes this bug. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com --- drivers/media/video/v4l2-common.c |2 ++ 1 files changed, 2 insertions

[PATCH 6/8] v4l: s5p-tv: add drivers for HDMI on Samsung S5P platform

2011-06-29 Thread Tomasz Stanislawski
Add drivers for HDMI outputs on Samsung platforms from S5P family. - HDMIPHY - auxiliary I2C driver need by HDMI driver - HDMI- generation and control of streaming by HDMI output Drivers are using: - v4l2 framework - runtime PM Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com

[PATCH 1/2] libv4l2: add implicit conversion from single- to multi-plane api

2011-07-06 Thread Tomasz Stanislawski
. Function v4l2_fd_open was revised to work correctly with the wrapper. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- lib/libv4l2/libv4l2.c | 227 lib/libv4lconvert/libv4lsyscall

[PATCH 2/2] v4l2-ctl: fix wrapped open/close

2011-07-06 Thread Tomasz Stanislawski
When running in libv4l2 warp mode, the application did not use v4l2_open and v4l2_close in some cases. This patch fixes this issue substituting open/close calls with test_open/test_close which are libv4l2-aware. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin

[GIT PULL FOR 3.1] TV driver for Samsung S5P platform

2011-07-06 Thread Tomasz Stanislawski
-for-mauro-no59_94 Tomasz Stanislawski (7): v4l: add g_tvnorms_output callback to V4L2 subdev v4l: add g_dv_preset callback to V4L2 subdev v4l: add g_std_output callback to V4L2 subdev v4l: fix v4l_fill_dv_preset_info function v4l: s5p-tv: add drivers for HDMI on Samsung

Re: [RFC] DV timings spec fixes at V4L2 API - was: [PATCH 1/8] v4l: add macro for 1080p59_54 preset

2011-07-07 Thread Tomasz Stanislawski
be not possible due to 1080p59_94 issue. The driver did not lose much of its functionality because it still supports 1080p60. Moreover, adding 1080p59_94 is relatively trivial. I hope you find this information useful. Regards, Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe

[GIT PULL FOR 3.3] Selection API and fixes for v3.3

2012-01-09 Thread Tomasz Stanislawski
Hi Mauro, The selection API has been tested for compatibility with compat32. The test was successful. I kindly ask for merging info 3.3. Regards, Tomasz Stanislawski The following changes since commit e9eb0dadba932940f721f9d27544a7818b2fa1c5: [media] V4L menu: add submenu for platform

Re: [RFC 06/17] v4l: Add selections documentation.

2012-01-10 Thread Tomasz Stanislawski
is not supported. It would imply that support for the target is not implemented in the driver. Regards, Tomasz Stanislawski and is + directly affected by the ACTIVE target. The PADDED targets may + be configurable depending on the hardware./para If that's configurable drivers

Re: [RFCv1 2/4] v4l:vb2: add support for shared buffer (dma_buf)

2012-01-20 Thread Tomasz Stanislawski
not posses any device related attributes Best regards, Tomasz Stanislawski -- Best regards, Pawel Osciak -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [RFCv1 2/4] v4l:vb2: add support for shared buffer (dma_buf)

2012-01-20 Thread Tomasz Stanislawski
Hi Laurent, On 01/20/2012 04:12 PM, Laurent Pinchart wrote: Hi Tomasz, On Friday 20 January 2012 11:58:39 Tomasz Stanislawski wrote: On 01/20/2012 11:41 AM, Sumit Semwal wrote: On 20 January 2012 00:37, Pawel Osciakpa...@osciak.com wrote: Hi Sumit, Thank you for your work. Please find my

Re: [RFCv1 2/4] v4l:vb2: add support for shared buffer (dma_buf)

2012-01-20 Thread Tomasz Stanislawski
allocator used by VIVI? Regards, Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] [media] convert drivers/media/* to use module_i2c_driver()

2012-01-23 Thread Tomasz Stanislawski
Hi, For module s5p-tv/hdmiphy Acked-by: Tomasz Stanislawski t.stanisl...@samsung.com -- Regards, Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[PATCH 00/10] Integration of videobuf2 with dmabuf

2012-01-23 Thread Tomasz Stanislawski
: vb2: add prepare/finish callbacks to allocators Tomasz Stanislawski (8): arm: dma: support for dma_get_pages v4l: vb2: fixes for DMABUF support v4l: add buffer exporting via dmabuf v4l: vb2: add buffer exporting via dmabuf v4l: vb2: remove dma-contig allocator v4l: vb2-dma-contig

[PATCH 06/10] v4l: vb2: add buffer exporting via dmabuf

2012-01-23 Thread Tomasz Stanislawski
This patch adds extension to videobuf2-core. It allow to export a mmap buffer as a file descriptor. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-core.c | 60

[PATCH 03/10] media: vb2: add prepare/finish callbacks to allocators

2012-01-23 Thread Tomasz Stanislawski
From: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com --- drivers/media/video/videobuf2-core.c | 11 +++ include/media/videobuf2-core.h |2 ++ 2 files changed, 13 insertions(+), 0 deletions(-) diff --git

[PATCH 07/10] v4l: vb2: remove dma-contig allocator

2012-01-23 Thread Tomasz Stanislawski
This is temporary patch. The dma-contig changes were significant and the difference patch would be very difficult to read. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/videobuf2-dma-contig.c | 308

[PATCH 09/10] v4l: fimc: integrate capture i-face with dmabuf

2012-01-23 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-capture.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b

  1   2   3   4   5   >