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

2011-02-08 Thread Tomasz Stanislawski
. DQBUF(type = OUTPUT) 14. Goto 09 === Patch Summary === 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 s5pc2

[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 Signed-off-by: Kyungmin Park --- drivers/i2c/busses/i2c-s3c2410.c | 36 +++- 1 files changed, 35 insertions(+), 1 deletions(-) diff

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2

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

2011-02-08 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- 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-samsung/Kconfig |5 ++ arch/arm/plat

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

2011-02-08 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park Reviewed-by: Marek Szyprowski --- arch/arm/mach-s5pv310/Kconfig |7 + arch/arm/mach-s5pv310/Makefile |1 + arch/arm/mach-s5pv310/clock.c | 126 +++- arch/arm/mach

[PATCH] v4l: Documentation for the NV12T multiplane format

2011-02-09 Thread Tomasz Stanislawski
From: Kamil Debski Added documentation for V4L2_PIX_FMT_NV12MT format. This is a YUV 4:2:0 format with macro block size of 64x32 and specific order of macro blocks in the memory. Signed-off-by: Kamil Debski Signed-off-by: Kyungmin Park Signed-off-by: Tomasz Stanislawski --- Documentation

[RFC] Cropping problem with V4L2, crop extension

2011-02-09 Thread Tomasz Stanislawski
application 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.o

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

2011-03-01 Thread Tomasz Stanislawski
mane.org/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
PUT, index = 0) 05. MMAP(type = OUTPUT, index = 1) 06. Fill buffer 0 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 0

[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 Signed-off-by: Kyungmin Park CC: ben-li...@fluff.org --- drivers/i2c/busses/i2c-s3c2410.c | 36 +++- 1 files changed, 35 insertions

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

2011-03-04 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- 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-samsung/Kconfig |5 ++ 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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2

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

2011-03-04 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv310/Kconfig |2 + arch/arm/mach-s5pv310/mach-universal_c210.c | 54 +++ 2 files changed, 56 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5pv310/Kconfig

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

2011-03-04 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park Reviewed-by: Marek Szyprowski s5pv310: fix and clean code for TV power s5pv310: tv: fix clock setup s5pv310: tv: integrate with Power Domain driver s5pv310: tv: register fix s5pv310: tv: add port HDMI_EN1 gpio to regulator api

[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 Signed-off-by: Kyungmin Park Reviewed-by: Michal Nazarewicz --- drivers/media

[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 Signed-off-by: Kyungmin Park Reviewed-by: Michal Nazarewicz --- Documentation

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

2011-03-28 Thread Tomasz Stanislawski
ixel processing. The ioctl 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

[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 --- drivers/media/video/v4l2-ioctl.c | 46 - 1 files changed, 39

[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 --- drivers/media/video/v4l2-compat-ioctl32.c |4 ++ drivers/media/video/v4l2-ioctl.c | 56

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 --- drivers/media/video/v4l2-compat-ioctl32.c |4 ++ drivers/media/video/v4l2-ioctl.c | 56

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

2011-04-06 Thread Tomasz Stanislawski
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 extcrop/compose drivers/media/video/v4l2-compat-ioctl32.

[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 --- drivers/media/video/v4l2-ioctl.c | 94 +- 1 files changed, 82

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 of

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2

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

2011-04-11 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- 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..4206e97 100644 --- a/include/media/v4l2-subdev.h

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

2011-04-11 Thread Tomasz Stanislawski
er 0 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 Stanislaw

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 every

[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 --- drivers/media/video/v4l2-ioctl.c | 85 + 1 files changed, 75

[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 --- drivers/media/video/v4l2-compat-ioctl32.c |2 ++ drivers/media/video/v4l2-ioctl.c | 28 include/linux/videodev2.h

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

2011-05-05 Thread Tomasz Stanislawski
MULTISELECTION allows to pass a triple format/crop/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 usin

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 for

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: O

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 and

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: On

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

2011-05-24 Thread Tomasz Stanislawski
BUF(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 callback to V4L2 subdev s5p-tv: add drivers for TV on Samsung S5P platform

[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 Signed-off-by: Kyungmin Park --- include/media/v4l2-subdev.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2

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

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

2011-05-31 Thread Tomasz Stanislawski
sign of the whole driver. Some of extensions could be applied by adding extra layer type to existing layer_vp and layer_grp ones. Best regards Tomasz Stanislawski N떑꿩�r툤y鉉싕b쾊Ф푤v�^�)頻{.n�+돴쪐{콡�bj)�鍊w*jgП�텎쉸듶줷/곴�z받뻿�2듷솳鈺�&�)傘첺뛴��췍쳺�h��j:+v돣둾�明 -- To unsubscribe from this list: send the line &quo

[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 Signed-off-by: Kyungmin Park --- include/media/v4l2-subdev.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include

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

2011-06-08 Thread Tomasz Stanislawski
l 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 callback

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/v4l2

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

Summary of brainstorm about cropping and pipeline configuration

2011-06-24 Thread Tomasz Stanislawski
e driver. I hope you find 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
, index = 0) 05. MMAP(type = OUTPUT, index = 1) 06. Fill buffer 0 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.

[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 Signed-off-by: Kyungmin Park Reviewed-by: Hans Verkuil --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git

[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 Signed-off-by: Kyungmin Park --- include/media/v4l2-subdev.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff

[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 Signed-off-by: Kyungmin Park Reviewed-by: Hans Verkuil --- include/media/v4l2-subdev.h |4 1 files changed, 4 insertions(+), 0

[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 Signed-off-by: Kyungmin Park --- include/media/v4l2-subdev.h |4 1 files changed, 4 insertions(+), 0 deletions

[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 Signed-off-by: Kyungmin Park Reviewed-by: Marek

[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 --- drivers/media/video/v4l2-common.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[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 Signed-off-by: Kyungmin Park

[PATCH] v4l: remove single to multiplane conversion

2011-07-06 Thread Tomasz Stanislawski
This patch removes an implicit conversion between multi and single plane formats from V4L2 framework. The conversion is to be performed by libv4l2. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-ioctl.c | 250

[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 Signed-off-by: Kyungmin Park --- lib/libv4l2/libv4l2.c | 227 lib/libv4lconvert/libv4lsyscall-priv.h |5 +- 2 files changed, 205 insertions

[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 Signed-off-by: Kyungmin Park --- utils/v4l2-ctl

[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
very happy if the driver was merged into 3.1. I think that it would 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. Re

[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 re

[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 Signed-off-by

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-compat-ioctl32.c |2

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-ioctl.c | 86

[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 Signed-off-by: Kyungmin Park --- drivers/media/video

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. The

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 3/4] v4l: emulate old crop API using extended crop/compose API

2011-08-31 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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-ioctl.c | 86

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-compat-ioctl32.c |2

[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 Signed-off-by: Kyungmin Park --- drivers/media/video

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

2011-08-31 Thread Tomasz Stanislawski
a hardware - 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

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 Stanislawski Signed

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

2011-09-23 Thread Tomasz Stanislawski
to compute, even if it will not be accepted by the application. Surprisingly, it may be easier for the constraints to be implemented correctly than to implement the hint. What is your opinion about it? I won't fight too much against a constraint-based approach :-) Not that you convinced

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 documen

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 to

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

2011-09-27 Thread Tomasz Stanislawski
Hi Mauro, 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 05:42, Tomasz Stanislawski escreveu: On 09/24/2011 05:58 AM, Mauro Carvalho Chehab wrote: Em 22-09-2011 12:13

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

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

2011-09-29 Thread Tomasz Stanislawski
duced 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

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-compat-ioctl32.c |2

[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 Signed-off-by: Kyungmin Park --- drivers/media/video

[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 Signed-off-by: Kyungmin Park --- drivers/media/video/v4l2-ioctl.c | 86

[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 Signed-off-by: Kyungmin Park --- Documentation

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

2011-09-30 Thread Tomasz Stanislawski
if (planes[plane].length< q->plane_sizes[plane]) { + ret = EINVAL; You should return -EINVAL, not EINVAL. Returning the positive number is a success. Best regards, Tomasz Stanislawski + goto err; + } +

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
need one. More details are there in the documentation patch. This is based on design suggestions from many people at the mini-summits[1], most notably from Arnd Bergmann, Rob Clark and Daniel Vetter. The implementation is inspired from proof-of-concept patch-set from Tomasz Stanislawski, who d

Re: [PATCH v5 1/4] media: s5p-tv: Replace mxr_ macro by default dev_

2013-09-23 Thread Tomasz Stanislawski
Hello, May I ask what is the rationale for this patch? To reduce a few lines of code? Or to give up possibility of changing message format in just one place? I could see migrating from mxr_* to pr_* could seen as the fix, but not this. Waiting for reply, Tomasz Stanislawski On 09/21/2013 05:00

Re: [PATCH v5 1/4] media: s5p-tv: Replace mxr_ macro by default dev_

2013-09-24 Thread Tomasz Stanislawski
Hi, On 09/23/2013 05:48 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi Tomasz, > > On Monday, September 23, 2013 04:50:01 PM Tomasz Stanislawski wrote: >> Hello, >> May I ask what is the rationale for this patch? >> To reduce a few lines of code? > > This patch

Re: [PATCH v5 1/4] media: s5p-tv: Replace mxr_ macro by default dev_

2013-09-24 Thread Tomasz Stanislawski
On 09/23/2013 07:44 PM, Joe Perches wrote: > On Mon, 2013-09-23 at 17:48 +0200, Bartlomiej Zolnierkiewicz wrote: >> On Monday, September 23, 2013 04:50:01 PM Tomasz Stanislawski wrote: >>> May I ask what is the rationale for this patch? >>> To reduce a few lines of code?

Re: [PATCH v5 2/4] media: s5p-tv: Restore vpll clock rate

2013-09-25 Thread Tomasz Stanislawski
Hi, As you can see sdo, hdmi and mixer are saparate drivers that are parts of s5p-tv drivers set. Could you rename commit name to 'media: s5p-tv: sdo: Restore vpll clock rate after streamoff' On 09/21/2013 05:00 PM, Mateusz Krawczuk wrote: > Restore vpll clock rate if start stream fail or stream

Re: [PATCH v5 3/4] media: s5p-tv: Fix sdo driver to work with CCF

2013-09-25 Thread Tomasz Stanislawski
Rename to 'media: s5p-tv: sdo: integrate with CCF' On 09/21/2013 05:00 PM, Mateusz Krawczuk wrote: > Replace clk_enable by clock_enable_prepare and clk_disable with > clk_disable_unprepare. > Clock prepare is required by Clock Common Framework, and old clock driver > didn`t support it. > Without

Re: [PATCH v5 4/4] media: s5p-tv: Fix mixer driver to work with CCF

2013-09-25 Thread Tomasz Stanislawski
> didn`t support it. > Without it Common Clock Framework prints a warning. > > Signed-off-by: Mateusz Krawczuk > Signed-off-by: Kyungmin Park Acked-by: Tomasz Stanislawski > --- > drivers/media/platform/s5p-tv/mixer_drv.c | 34 > +-- >

Re: [PATCH v5 4/4] media: s5p-tv: Fix mixer driver to work with CCF

2013-09-25 Thread Tomasz Stanislawski
On 09/23/2013 02:44 PM, Sylwester Nawrocki wrote: > On 21/09/13 17:00, Mateusz Krawczuk wrote: >> Replace clk_enable by clock_enable_prepare and clk_disable with >> clk_disable_unprepare. >> Clock prepare is required by Clock Common Framework, and old clock driver >> didn`t support it. >> Without

  1   2   3   4   5   >