Re: [PATCH v7] media: vb2: Take queue or device lock in mmap-related vb2 ioctl handlers

2013-08-07 Thread Hans Verkuil
On 08/06/2013 10:10 PM, Laurent Pinchart wrote: The vb2_fop_mmap() and vb2_fop_get_unmapped_area() functions are plug-in implementation of the mmap() and get_unmapped_area() file operations that calls vb2_mmap() and vb2_get_unmapped_area() on the queue associated with the video device. Neither

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

2013-08-07 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 | 52 1

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

2013-08-07 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 v4 00/13] Exynos5 IS driver

2013-08-07 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 based on the patch series from

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

2013-08-07 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: Kilyeon Im kilyeon...@samsung.com Signed-off-by: Arun Kumar K arun...@samsung.com --- drivers/media/platform/Kconfig |1 +

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

2013-08-07 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 ---

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

2013-08-07 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 ---

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

2013-08-07 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 v4 03/13] [media] exynos5-fimc-is: Add driver core files

2013-08-07 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 --- drivers/media/platform/exynos5-is/fimc-is-core.c | 413

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

2013-08-07 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 --- drivers/media/i2c/s5k6a3.c | 21 + 1

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

2013-08-07 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 --- drivers/media/platform/exynos5-is/fimc-is-regs.h | 105

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

2013-08-07 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 ---

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

2013-08-07 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 --- .../media/platform/exynos5-is/fimc-is-interface.c |

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

2013-08-07 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

Re: width and height of JPEG compressed images

2013-08-07 Thread Sakari Ailus
Hi Tom, Before replying the rest, let me first ask you a question. Does ExF define the size of the image, or does it define its maximum size? I think that may make a big difference here. -- Cheers, Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk -- To unsubscribe from

[PATCH] V4L: async: Make sure subdevs are stored in a list before being moved

2013-08-07 Thread Laurent Pinchart
Subdevices have an async_list field used to store them in the global list of subdevices or in the notifier done lists. List entries are moved from the former to the latter in v4l2_async_test_notify() using list_move(). However, v4l2_async_test_notify() can be called right away when the subdev is

Re: [PATCH v2] videobuf2-core: Verify planes lengths for output buffers

2013-08-07 Thread Laurent Pinchart
On Monday 12 November 2012 12:35:35 Laurent Pinchart wrote: On Friday 09 November 2012 15:33:22 Pawel Osciak wrote: On Tue, Oct 16, 2012 at 8:37 AM, Laurent Pinchart wrote: For output buffers application provide to the kernel the number of bytes they stored in each plane of the buffer.

[GIT PULL FOR v3.12] Renesas VSP1 driver

2013-08-07 Thread Laurent Pinchart
Hi Mauro, The following changes since commit dfb9f94e8e5e7f73c8e2bcb7d4fb1de57e7c333d: [media] stk1160: Build as a module if SND is m and audio support is selected (2013-08-01 14:55:25 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git vsp1 for you to

[PATCH] [media] exynos-gsc: fix s2r functionality

2013-08-07 Thread Arun Kumar K
From: Prathyush K prathyus...@samsung.com When gsc is in runtime suspended state, there is no need to call m2m_suspend during suspend and similarily, there is no need to call m2m_resume during resume if already in runtime suspended state. This patch adds the necessary conditions to achieve this.

Re: [RFC 0/1] drm/pl111: Initial drm/kms driver for pl111

2013-08-07 Thread Rob Clark
On Wed, Aug 7, 2013 at 12:23 AM, John Stultz john.stu...@linaro.org wrote: On Tue, Aug 6, 2013 at 5:15 AM, Rob Clark robdcl...@gmail.com wrote: well, let's divide things up into two categories: 1) the arrangement and format of pixels.. ie. what userspace would need to know if it mmap's a

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

2013-08-07 Thread Sylwester Nawrocki
Hi Laurent, On 07/26/2013 05:55 PM, Laurent Pinchart wrote: On Friday 26 July 2013 15:36:22 Sylwester Nawrocki wrote: On 07/26/2013 03:15 PM, Laurent Pinchart wrote: On Friday 26 July 2013 15:11:08 Sylwester Nawrocki wrote: On 07/05/2013 12:55 PM, Laurent Pinchart wrote: Configure the device

Re: [PATCH] V4L: Drop meaningless video_is_registered() call in v4l2_open()

2013-08-07 Thread Sylwester Nawrocki
Hi Hans, On 08/02/2013 03:00 PM, Hans Verkuil wrote: Hi Sylwester, The patch is good, but I have some issues with the commit message itself. Thanks a lot for the detailed explanation, I just wrote this a bit longish changelog to possibly get some feedback and to better understand what is

Re: [PATCH] [media] exynos-gsc: fix s2r functionality

2013-08-07 Thread Sylwester Nawrocki
On 08/07/2013 02:53 PM, Arun Kumar K wrote: From: Prathyush K prathyus...@samsung.com When gsc is in runtime suspended state, there is no need to call m2m_suspend during suspend and similarily, there is no need to call s/similarily/similarly. I'll fix that typo when applying. m2m_resume

RE: width and height of JPEG compressed images

2013-08-07 Thread Thomas Vajzovic
It defines the exact size of the physical frame. The JPEG data is padded to this size. The size of the JPEG before it was padded is also written into the last word of the physical frame. From: Sakari Ailus [sakari.ai...@iki.fi] Sent: 07 August 2013

Re: [PATCH] V4L: Drop meaningless video_is_registered() call in v4l2_open()

2013-08-07 Thread Hans Verkuil
On 08/07/2013 06:49 PM, Sylwester Nawrocki wrote: Hi Hans, On 08/02/2013 03:00 PM, Hans Verkuil wrote: Hi Sylwester, The patch is good, but I have some issues with the commit message itself. Thanks a lot for the detailed explanation, I just wrote this a bit longish changelog to

Re: [Linaro-mm-sig] [RFC 0/1] drm/pl111: Initial drm/kms driver for pl111

2013-08-07 Thread Alex Deucher
On Wed, Aug 7, 2013 at 1:33 PM, Tom Cooksey tom.cook...@arm.com wrote: Didn't you say that programmatically describing device placement constraints was an unbounded problem? I guess we would have to accept that it's not possible to describe all possible constraints and instead find a

Re: [RFC 0/1] drm/pl111: Initial drm/kms driver for pl111

2013-08-07 Thread Rob Clark
On Wed, Aug 7, 2013 at 1:33 PM, Tom Cooksey tom.cook...@arm.com wrote: Didn't you say that programmatically describing device placement constraints was an unbounded problem? I guess we would have to accept that it's not possible to describe all possible constraints and instead find a

cron job: media_tree daily build: WARNINGS

2013-08-07 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: Wed Aug 7 19:00:17 CEST 2013 git branch: test git hash: dfb9f94e8e5e7f73c8e2bcb7d4fb1de57e7c333d gcc

Re: dib8000 scanning not working on 3.10.3

2013-08-07 Thread Luis Polasek
Hi again Mauro, reverting both commits: * 59501bb792c66b85fb7fdbd740e788e3afc70bbd * f45f513a9325b52a5f3e26ee8d15471e8b692947 The problem still exists, I am unable to get any result, and also no error logs) :( What shall I do to try to fix this ? Do you need more info on my current setup.

[PATCH 12/16] msi3101: init bits 23:20 on PLL register

2013-08-07 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index a937d00..93168db 100644 ---

[PATCH 13/16] msi3101: fix overflow in freq setting

2013-08-07 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index 93168db..56f9757 100644 ---

[PATCH 01/16] Mirics MSi3101 SDR Dongle driver

2013-08-07 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/Kconfig |2 + drivers/staging/media/Makefile |1 + drivers/staging/media/msi3101/Kconfig |3 + drivers/staging/media/msi3101/Makefile |1 +

[PATCH 15/16] msi3101: changes for tuner PLL freq limits

2013-08-07 Thread Antti Palosaari
I made some tuner freq limit tests against RF signal generator. Adjust some PLL limits according to these test results. Here are the results, taken from two different devices. Numbers are RF limits and calculated and VCO limits. Mirics MSi3101 SDR Dongle: VHF_MODE 52 - 132 1664 - 4224 B3_MODE

[PATCH 00/16 STAGING] Mirics MSi3101 SDR Dongle driver

2013-08-07 Thread Antti Palosaari
It is driver for MSi3101 USB SDR designed by Mirics. I will pull-request that soon for the Kernel 3.12 staging. It is not ready for mainline as there is multiple issues. Biggest issues are; missing API controls and stream format conversions should be implemented by libv4l2. That driver is MSi3101

[PATCH 09/16] msi3101: correct ADC sampling rate calc a little

2013-08-07 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index

[PATCH 05/16] msi3101: enhance sampling results

2013-08-07 Thread Antti Palosaari
It looks like there is some extra data carried to enhance sampling results. When you tune to some some weak/empty channel those bits are always zeroes. When you tune to some channel where is very strong signals those bits are all zeroes. Examining those 32-bits reveals shortly there is 16 pieces

[PATCH 14/16] msi3101: add stream format 336 I+Q pairs per frame

2013-08-07 Thread Antti Palosaari
That one seem to have 12-bit resolution. Use it for streams that has sampling rate 6 = rate (Msps) 8, between 6 and 8Msps. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 95 + 1 file changed, 95 insertions(+) diff --git

[PATCH 11/16] msi3101: add support for stream format 252 I+Q per frame

2013-08-07 Thread Antti Palosaari
That one seems to have 14-bit ADC resolution, wow! It is now used when sampling rate is below 6 Msps. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 139 +--- 1 file changed, 125 insertions(+), 14 deletions(-) diff --git

[PATCH 02/16] msi3101: sample is correct term for sample

2013-08-07 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 32 ++--- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index

[PATCH 16/16] msi3101: a lot of small cleanups

2013-08-07 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 141 1 file changed, 40 insertions(+), 101 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index

[PATCH 06/16] msi3101: fix stream re-start halt

2013-08-07 Thread Antti Palosaari
Restarting stream fails quite often. Small delay is between urb killing and stream stop command - likely to give harware some time to process killed urbs. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 9 ++--- 1 file changed, 6 insertions(+), 3

[PATCH 10/16] msi3101: improve tuner synth calc step size

2013-08-07 Thread Antti Palosaari
Allow stepless synthesizer configuration. With that change we lose precision a little bit, as it is now between +-500Hz from the target. It could be better but on that case calculation algorithm goes more complex and atm there is more important things to do. Two approach to improve which comes to

[PATCH 04/16] msi3101: add sampling mode control

2013-08-07 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index 4de4f50..b6a8939

[PATCH 07/16] msi3101: add 2040:d300 Hauppauge WinTV 133559 LF

2013-08-07 Thread Antti Palosaari
Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/msi3101/sdr-msi3101.c b/drivers/staging/media/msi3101/sdr-msi3101.c index 2180bf8..152415a 100644 ---

[PATCH 08/16] msi3101: add debug dump for unknown stream data

2013-08-07 Thread Antti Palosaari
Dump all unknown 'garbage' data - maybe we will discover someday if there is something rational... Also fix comment in USB frame description. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 15 --- 1 file changed, 12 insertions(+), 3

[PATCH 03/16] msi3101: fix sampling rate calculation

2013-08-07 Thread Antti Palosaari
These calculations seems to give 100% correct results. Calculation formulas could be still a little bit wrong as I have no knowledge what kind of dividers, multipliers and VCO limits there really is. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 58

PROLINK PixelView PlayTV Cinema BX1500 TV card

2013-08-07 Thread Ivan Skeledžija
Hi, I'm copying my post from the Ubuntu Forums: // starts here Hi, I'm running Linux Mint 12 32-bit (the equivalent of Ubuntu 11.10) with the 3.2.49 kernel and I have the TV card from the title. Manufacturer's website:

Mail Back If Interested!

2013-08-07 Thread WilliT
Good Day, RE:INVESTMENT / BUSINESS PARTNERSHIP PROPOSAL. I represent a group of company based in the Gulf Region with access to over 270 Million Euros and we are seeking means of expanding and relocating our business interest abroad in the following sectors: oil/Gas, banking, real estate, stock

Re: Syntek webcams and out-of-tree driver

2013-08-07 Thread Ondrej Zary
On Tuesday 06 August 2013 08:10:38 Hans de Goede wrote: Hi, On 08/05/2013 11:19 PM, Ondrej Zary wrote: Hello, the in-kernel stkwebcam driver (by Jaime Velasco Juan and Nicolas VIVIEN) supports only two webcam types (USB IDs 0x174f:0xa311 and 0x05e1:0x0501). There are many other Syntek

Re: [PATCH] V4L: Drop meaningless video_is_registered() call in v4l2_open()

2013-08-07 Thread Laurent Pinchart
Hi Hans and Sylwester, On Wednesday 07 August 2013 19:49:53 Hans Verkuil wrote: On 08/07/2013 06:49 PM, Sylwester Nawrocki wrote: On 08/02/2013 03:00 PM, Hans Verkuil wrote: Hi Sylwester, The patch is good, but I have some issues with the commit message itself. Thanks a lot for the

[GIT PULL 3.12] e4000 fixes

2013-08-07 Thread Antti Palosaari
The following changes since commit 1c26190a8d492adadac4711fe5762d46204b18b0: [media] exynos4-is: Correct colorspace handling at FIMC-LITE (2013-06-28 15:33:27 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git rtl2832u_e4000 for you to fetch changes

[GIT PULL 3.12] DVB USB v2 get rid of deferred probe

2013-08-07 Thread Antti Palosaari
The following changes since commit 1c26190a8d492adadac4711fe5762d46204b18b0: [media] exynos4-is: Correct colorspace handling at FIMC-LITE (2013-06-28 15:33:27 -0300) are available in the git repository at: git://linuxtv.org/anttip/media_tree.git dvb_usb_v2 for you to fetch changes up to

Re: EM28xx - MSI Digivox Trio - almost working.

2013-08-07 Thread P. van Gaans
On 20-06-13 07:14, P. van Gaans wrote: Hi all, (device: http://linuxtv.org/wiki/index.php/MSI_DigiVox_Trio) Thanks to the message from Philip Pemberton I was able to try loading the em28xx driver myself using: sudo modprobe em28xx card=NUMBER echo eb1a 2885 | sudo tee

Can I put a V4L2 soc camera driver under other subsystem directory?

2013-08-07 Thread Bryan Wu
Hi Guennadi and LMML, I'm working on a camera controller driver for Tegra, which is using soc_camera. But we also need to use Tegra specific host1x interface like syncpt APIs. Since host1x is quite Tegra specific framework which is in drivers/gpu/host1x and has several host1x's client driver

Re: [PATCH] [media] exynos-gsc: fix s2r functionality

2013-08-07 Thread Arun Kumar K
Hi Sylwester, On Wed, Aug 7, 2013 at 10:23 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: On 08/07/2013 02:53 PM, Arun Kumar K wrote: From: Prathyush K prathyus...@samsung.com When gsc is in runtime suspended state, there is no need to call m2m_suspend during suspend and similarily,