[PATCH] [media] v4l2-mem2mem: clear m2m context from job_queue before ctx streamoff

2013-08-13 Thread Shaik Ameer Basha
When streamoff is called on the context and the context is added to the job_queue, 1] sometimes device_run receives the empty vb2 buffers (as v4l2_m2m_streamoff is dropping the ready queue). 2] sometimes v4l2_m2m_job_finish may not succeed as the m2m_dev-curr_ctx is made NULL in the

Re: [PATCH v4 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-13 Thread Arun Kumar K
Hi Sylwester, On Fri, Aug 9, 2013 at 3:38 AM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: On 08/07/2013 11:03 AM, Arun Kumar K wrote: From: Shaik Ameer Bashashaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media device supports the

Re: [PATCH v2 1/2] libv4lconvert: Support for Y16 pixel format

2013-08-13 Thread Hans de Goede
Hi, On 08/12/2013 09:39 PM, Gregor Jasny wrote: On 8/9/13 6:04 PM, Ricardo Ribalda Delgado wrote: ping? Thank you for your the updated series. Unfortunately I'm still partially busy with moving. I hoped the v4lconvert maintainer Hans (de Goede) will ack these patches. Series looks good

[PATCH 1/2] [RFC PATCH v6] dmabuf-sync: Add a buffer synchronization framework

2013-08-13 Thread Inki Dae
This patch adds a buffer synchronization framework based on DMA BUF[1] and and based on ww-mutexes[2] for lock mechanism. The purpose of this framework is to provide not only buffer access control to CPU and DMA but also easy-to-use interfaces for device drivers and user application. This

[RFC PATCH v6 0/2] Introduce buffer synchronization framework

2013-08-13 Thread Inki Dae
Hi all, This patch set introduces a buffer synchronization framework based on DMA BUF[1] and based on ww-mutexes[2] for lock mechanism, and may be final RFC. The purpose of this framework is to provide not only buffer access control to CPU and CPU, and CPU and DMA, and DMA and DMA

Re: [v2] mt9v032: Use the common clock framework

2013-08-13 Thread Peter A. Bigot
FWIW: I found it necessary to use this along with http://git.linuxtv.org/pinchartl/media.git/shortlog/refs/heads/board/overo/mt9v032 to get the Caspa to work on Gumstix under Linux 3.10. (Without configuring the clock the device won't respond to I2C operations. It still doesn't work right,

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-13 Thread Kishon Vijay Abraham I
Hi, On Wednesday 31 July 2013 11:45 AM, Felipe Balbi wrote: Hi, On Wed, Jul 31, 2013 at 11:14:32AM +0530, Kishon Vijay Abraham I wrote: IMHO we need a lookup method for PHYs, just like for clocks, regulators, PWMs or even i2c busses because there are complex cases when passing just a name

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-13 Thread Tomasz Figa
On Tuesday 13 of August 2013 16:14:44 Kishon Vijay Abraham I wrote: Hi, On Wednesday 31 July 2013 11:45 AM, Felipe Balbi wrote: Hi, On Wed, Jul 31, 2013 at 11:14:32AM +0530, Kishon Vijay Abraham I wrote: IMHO we need a lookup method for PHYs, just like for clocks, regulators, PWMs

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-13 Thread Kishon Vijay Abraham I
On Tuesday 13 August 2013 05:07 PM, Tomasz Figa wrote: On Tuesday 13 of August 2013 16:14:44 Kishon Vijay Abraham I wrote: Hi, On Wednesday 31 July 2013 11:45 AM, Felipe Balbi wrote: Hi, On Wed, Jul 31, 2013 at 11:14:32AM +0530, Kishon Vijay Abraham I wrote: IMHO we need a lookup method

System Administrator

2013-08-13 Thread Michiko Yusa
Your password will expire in 3 Days would you like to change it Click Herehttp://casul.jimdo.com/ to validate your e-mail. Thanks System Administrator -- 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

[Resend][RFC PATCH v6 0/2] Introduce buffer synchronization framework

2013-08-13 Thread Inki Dae
Just adding more detailed descriptions. Hi all, This patch set introduces a buffer synchronization framework based on DMA BUF[1] and based on ww-mutexes[2] for lock mechanism, and may be final RFC. The purpose of this framework is to provide not only buffer access control to CPU

[PATCH] v4l2-dev: Fix race condition on __video_register_device

2013-08-13 Thread Ricardo Ribalda Delgado
When 2 devices are registered at the same time, in Part 2 both will get the same minor number, making Part6 crash, because it cannot create a create a device with a duplicated minor: [7.157648] [ cut here ] [7.157666] WARNING: at fs/sysfs/dir.c:530

Re: [PATCH] v4l2-dev: Fix race condition on __video_register_device

2013-08-13 Thread Sakari Ailus
Hi Ricardo, Nice find. Acked-by: Sakari Ailus sakari.ai...@iki.fi -- Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk -- 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

cron job: media_tree daily build: WARNINGS

2013-08-13 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: Tue Aug 13 19:00:18 CEST 2013 git branch: test git hash: dfb9f94e8e5e7f73c8e2bcb7d4fb1de57e7c333d gcc

Re: [RFC v3 02/13] [media] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation

2013-08-13 Thread Sylwester Nawrocki
W dniu 2013-08-08 22:34, Stephen Warren pisze: On 08/05/2013 04:37 PM, Sylwester Nawrocki wrote: On 08/05/2013 06:53 PM, Stephen Warren wrote: On 08/03/2013 03:41 PM, Sylwester Nawrocki wrote: On 08/02/2013 05:02 PM, Arun Kumar K wrote: The patch adds the DT binding documentation for Samsung

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-13 Thread Sylwester Nawrocki
W dniu 2013-08-13 14:05, Kishon Vijay Abraham I pisze: On Tuesday 13 August 2013 05:07 PM, Tomasz Figa wrote: On Tuesday 13 of August 2013 16:14:44 Kishon Vijay Abraham I wrote: On Wednesday 31 July 2013 11:45 AM, Felipe Balbi wrote: On Wed, Jul 31, 2013 at 11:14:32AM +0530, Kishon Vijay

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-13 Thread Tomasz Figa
On Wednesday 14 of August 2013 00:19:28 Sylwester Nawrocki wrote: W dniu 2013-08-13 14:05, Kishon Vijay Abraham I pisze: On Tuesday 13 August 2013 05:07 PM, Tomasz Figa wrote: On Tuesday 13 of August 2013 16:14:44 Kishon Vijay Abraham I wrote: On Wednesday 31 July 2013 11:45 AM, Felipe

[PATCH v5 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-13 Thread Arun Kumar K
From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media device supports the following ips to connect through the media controller framework. * MIPI-CSIS Support interconnection(subdev interface) between devices * FIMC-LITE

[PATCH v5 07/13] [media] exynos5-fimc-is: Add scaler subdev

2013-08-13 Thread Arun Kumar K
FIMC-IS has two hardware scalers named as scaler-codec and scaler-preview. This patch adds the common code handling the video nodes and subdevs of both the scalers. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by: Kilyeon Im kilyeon...@samsung.com Reviewed-by: Sylwester Nawrocki

[PATCH v5 09/13] [media] exynos5-fimc-is: Add the hardware pipeline control

2013-08-13 Thread Arun Kumar K
This patch adds the crucial hardware pipeline control for the fimc-is driver. All the subdev nodes will call this pipeline interfaces to reach the hardware. Responsibilities of this module involves configuring and maintaining the hardware pipeline involving multiple sub-ips like ISP, DRC, Scalers,

[PATCH v5 06/13] [media] exynos5-fimc-is: Add isp subdev

2013-08-13 Thread Arun Kumar K
fimc-is driver takes video data input from the ISP video node which is added in this patch. This node accepts Bayer input buffers which is given from the IS sensors. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by: Kilyeon Im kilyeon...@samsung.com Reviewed-by: Sylwester Nawrocki

[PATCH v5 05/13] [media] exynos5-fimc-is: Add register definition and context header

2013-08-13 Thread Arun Kumar K
This patch adds the register definition file for the fimc-is driver and also the header file containing the main context for the driver. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by: Kilyeon Im kilyeon...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCH v5 02/13] [media] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation

2013-08-13 Thread Arun Kumar K
The patch adds the DT binding documentation for Samsung Exynos5 SoC series imaging subsystem (FIMC-IS). Signed-off-by: Arun Kumar K arun...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- .../devicetree/bindings/media/exynos5-fimc-is.txt | 47 1

[PATCH v5 00/13] Exynos5 IS driver

2013-08-13 Thread Arun Kumar K
The patch series add support for Exynos5 camera subsystem. It re-uses mipi-csis and fimc-lite from exynos4-is and adds a new media device and fimc-is device drivers for exynos5. The media device supports asynchronos subdev registration for the fimc-is sensors and is tested on top of the patch

[PATCH v5 08/13] [media] exynos5-fimc-is: Add sensor interface

2013-08-13 Thread Arun Kumar K
Some sensors to be used with fimc-is are exclusively controlled by the fimc-is firmware. This minimal sensor driver provides the required info for the firmware to configure the sensors sitting on I2C bus. Signed-off-by: Arun Kumar K arun...@samsung.com Reviewed-by: Sylwester Nawrocki

[PATCH v5 03/13] [media] exynos5-fimc-is: Add driver core files

2013-08-13 Thread Arun Kumar K
This driver is for the FIMC-IS IP available in Samsung Exynos5 SoC onwards. This patch adds the core files for the new driver. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by: Kilyeon Im kilyeon...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCH v5 13/13] V4L: Add driver for s5k4e5 image sensor

2013-08-13 Thread Arun Kumar K
This patch adds subdev driver for Samsung S5K4E5 raw image sensor. Like s5k6a3, it is also another fimc-is firmware controlled sensor. This minimal sensor driver doesn't do any I2C communications as its done by ISP firmware. It can be updated if needed to a regular sensor driver by adding the I2C

[PATCH v5 11/13] [media] exynos5-is: Add Kconfig and Makefile

2013-08-13 Thread Arun Kumar K
Adds Kconfig and Makefile for exynos5-is driver files. Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com Signed-off-by: Arun Kumar K arun...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/platform/Kconfig |1 +

[PATCH v5 10/13] [media] exynos5-fimc-is: Add the hardware interface module

2013-08-13 Thread Arun Kumar K
The hardware interface module finally sends the commands to the FIMC-IS firmware and runs the interrupt handler for getting the responses. Signed-off-by: Arun Kumar K arun...@samsung.com Signed-off-by: Kilyeon Im kilyeon...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCH v5 12/13] V4L: s5k6a3: Change sensor min/max resolutions

2013-08-13 Thread Arun Kumar K
s5k6a3 sensor has actual pixel resolution of 1408x1402 against the active resolution 1392x1392. The real resolution is needed when raw sensor SRGB data is dumped to memory by fimc-lite. Signed-off-by: Arun Kumar K arun...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

Re: [PATCH v5 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-13 Thread Sachin Kamat
Hi Arun, On 14 August 2013 10:16, Arun Kumar K arun...@samsung.com wrote: From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media device supports the following ips to connect through the media controller framework. *

Re: [PATCH v5 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-13 Thread Arun Kumar K
Hi Sachin, On Wed, Aug 14, 2013 at 10:29 AM, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Arun, On 14 August 2013 10:16, Arun Kumar K arun...@samsung.com wrote: From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media