Re: [PATCH 1/3] v4l: Clean up sub-device format documentation

2014-11-14 Thread Hans Verkuil
Two small notes... On 11/09/2014 12:04 AM, Sakari Ailus wrote: The sub-device format documentation documented scaling configuration through formats. Instead the compose selection rectangle is elsewhere documented to be used for the purpose. Remove scaling related part of the documentation.

Re: [PATCH 2/3] v4l: Add V4L2_SEL_TGT_NATIVE_SIZE selection target

2014-11-14 Thread Hans Verkuil
On 11/09/2014 12:04 AM, Sakari Ailus wrote: The V4L2_SEL_TGT_NATIVE_SIZE target is used to denote e.g. the size of a sensor's pixel array. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/selections-common.xml |8

[GIT PULL FOR v3.19] Move mediabus format definition to a more standard place

2014-11-14 Thread Hans Verkuil
The following changes since commit dd0a6fe2bc3055cd61e369f97982c88183b1f0a0: [media] dvb-usb-dvbsky: fix i2c adapter for sp2 device (2014-11-11 12:55:32 -0200) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v3.19h for you to fetch changes up to

[PATCH 2/2] omap24xx/tcm825x: remove deprecated omap2 camera drivers.

2014-11-14 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The omap2 camera driver and the tcm825x sensor driver have been deprecated for a year and are now being removed. They are unmaintained and they use an internal API that has long since been superseded by a much better API. Worse, that internal API has been

[PATCH 1/2] mach-omap2: remove deprecated VIDEO_OMAP2 support

2014-11-14 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The omap2 camera driver has been deprecated for a year and is now going to be removed. It is unmaintained and it uses an internal API that has long since been superseded by a much better API. Worse, that internal API has been abused by out-of-kernel trees

Re: [PATCH 1/2] mach-omap2: remove deprecated VIDEO_OMAP2 support

2014-11-14 Thread Sakari Ailus
On Fri, Nov 14, 2014 at 10:23:13AM +0100, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com The omap2 camera driver has been deprecated for a year and is now going to be removed. It is unmaintained and it uses an internal API that has long since been superseded by a much better

Re: [PATCH/RFC v7 3/3] Documentation: leds: Add description of LED Flash Class extension

2014-11-14 Thread Jacek Anaszewski
Hi Bryan, Thanks for a review. On 11/13/2014 07:58 PM, Bryan Wu wrote: On Wed, Nov 12, 2014 at 8:09 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: The documentation being added contains overall description of the LED Flash Class and the related sysfs attributes. Signed-off-by: Jacek

[GIT PULL FOR v3.19] si4713 improvements and vb2_start_streaming_called() helper

2014-11-14 Thread Hans Verkuil
Hi Mauro, This is the full si4713 patch series (with some small changes to fix compiler warnings), and two patches to use the vb2_start_streaming_called() helper where appropriate. Regards, Hans The following changes since commit dd0a6fe2bc3055cd61e369f97982c88183b1f0a0: [media]

[PATCH] [media] Add RGB444_1X12 and RGB565_1X16 media bus formats

2014-11-14 Thread Boris Brezillon
Add RGB444_1X12 and RGB565_1X16 format definitions and update the documentation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Mauro Carvalho Chehab mche...@osg.samsung.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 40 ++

Re: [RFC] solo6x10 freeze, even with Oct 31's linux-next... any ideas or help?

2014-11-14 Thread Krzysztof Hałasa
Andrey Utkin andrey.ut...@corp.bluecherry.net writes: The problem is the following: after ~1 hour of uptime with working application reading the streams, one card (the same one every time) stops producing interrupts (counter in /proc/interrupts freezes), and all threads reading from that card

Re: [PATCH] solo6x10: just pass frame motion flag from hardware, drop additional handling as complicated and unstable

2014-11-14 Thread Hans Verkuil
Hi Andrew, FYI: I need to test this myself and understand it better, so it will take some time before I get to this. It is in my TODO list, so it won't be forgotten. Regards, Hans On 11/05/2014 09:11 PM, Andrey Utkin wrote: Dropping code (introduced in

[PATCH v2 0/4] VPE improvements

2014-11-14 Thread Nikhil Devshatwar
This patchset adds following improvements for the ti-vpe driver. * Support SEQ_TB format for interlaced buffers Some of the video decoders generate interlaced content in SEQ_TB format Y top, T bottom in one plane and UV top, UV bottom in another * Improve multi instance latency

[PATCH v2 2/4] media: ti-vpe: Use line average de-interlacing for first 2 frames

2014-11-14 Thread Nikhil Devshatwar
From: Archit Taneja arc...@ti.com For n input fields, the VPE de-interlacer creates n - 2 progressive frames. To support this, we use line average mode of de-interlacer for the first 2 input fields to generate 2 progressive frames. We then revert back to the preferred EDI method, and create n -

[PATCH v2 3/4] media: ti-vpe: Do not perform job transaction atomically

2014-11-14 Thread Nikhil Devshatwar
Current VPE driver does not start the job untill all the buffers for a transaction are not queued. When running in multiple context, this might increase the processing latency. Alternate solution would be to try to continue the same context as long as buffers for the transaction are ready; else

[PATCH v2 1/4] media: ti-vpe: Use data offset for getting dma_addr for a plane

2014-11-14 Thread Nikhil Devshatwar
The data_offset in v4l2_planes structure will help us point to the start of data content for that particular plane. This may be useful when a single buffer contains the data for different planes e.g. Y planes of two fields in the same buffer. With this, user space can pass queue top field and

[PATCH v2 4/4] media: ti-vpe: Add support for SEQ_TB buffers

2014-11-14 Thread Nikhil Devshatwar
The video source can generate the data in the SEQ_TB buffer format. In the case of TI SoC, the IVA_HD can generate the interlaced content in the SEQ_TB buffer format. This is the format where the top and bottom field data can be contained in a single buffer. For example, for NV12, interlaced

Re: [RFC] solo6x10 freeze, even with Oct 31's linux-next... any ideas or help?

2014-11-14 Thread Andrey Utkin
2014-11-14 15:00 GMT+04:00 Krzysztof Hałasa khal...@piap.pl: There is a race condition in the IRQ handler, at least in 3.17. I don't know if it's related, will post a patch. Thank you for your interest. Looking forward for your patch. If you don't have time, please just say what races with

SOLO6x10: fix a race in IRQ handler.

2014-11-14 Thread Krzysztof Hałasa
The IRQs have to be acknowledged before they are serviced, otherwise some events may be skipped. Also, acknowledging IRQs just before returning from the handler doesn't leave enough time for the device to deassert the INTx line, and for bridges to propagate this change. This resulted in twice the

Re: [PATCH] [media] Add RGB444_1X12 and RGB565_1X16 media bus formats

2014-11-14 Thread Sakari Ailus
Hi Boris, On Fri, Nov 14, 2014 at 11:36:00AM +0100, Boris Brezillon wrote: Add RGB444_1X12 and RGB565_1X16 format definitions and update the documentation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Mauro Carvalho Chehab mche...@osg.samsung.com ---

Re: [RFC PATCH 03/11] videodev2.h: rename reserved2 to config_store in v4l2_buffer.

2014-11-14 Thread Sakari Ailus
Hi Hans, On Sun, Sep 21, 2014 at 04:48:21PM +0200, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com When queuing buffers allow for passing the configuration store ID that should be associated with this buffer. Use the 'reserved2' field for this. Signed-off-by: Hans Verkuil

Re: SOLO6x10: fix a race in IRQ handler.

2014-11-14 Thread Andrey Utkin
2014-11-14 16:35 GMT+04:00 Krzysztof Hałasa khal...@piap.pl: The IRQs have to be acknowledged before they are serviced, otherwise some events may be skipped. Also, acknowledging IRQs just before returning from the handler doesn't leave enough time for the device to deassert the INTx line,

em28xx: Terratec G1 USB stick doesn't start recording

2014-11-14 Thread Per Weisteen
Hi My Terratec G1 USB Stick seems to be recognized ok but doesn't start recording when I push the recording button on the Terratec. (Recording light doesn't go red either). I'm aware that the device isn't listed in the Validated em28xx boards but I'm quite sure I've seen some info om people

Re: [PATCH] [media] Add RGB444_1X12 and RGB565_1X16 media bus formats

2014-11-14 Thread Boris Brezillon
Hi Sakari, On Fri, 14 Nov 2014 15:58:31 +0200 Sakari Ailus sakari.ai...@iki.fi wrote: Hi Boris, On Fri, Nov 14, 2014 at 11:36:00AM +0100, Boris Brezillon wrote: Add RGB444_1X12 and RGB565_1X16 format definitions and update the documentation. Signed-off-by: Boris Brezillon

Re: [RFC PATCH 03/11] videodev2.h: rename reserved2 to config_store in v4l2_buffer.

2014-11-14 Thread Sakari Ailus
Hi Hans, One more comment... On Sun, Sep 21, 2014 at 04:48:21PM +0200, Hans Verkuil wrote: diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 83ef28a..2ca44ed 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -672,6 +672,7 @@

Re: [RFC PATCH 04/11] v4l2-ctrls: add config store support

2014-11-14 Thread Sakari Ailus
Hi Hans, Some comments below. On Sun, Sep 21, 2014 at 04:48:22PM +0200, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 150 +--

Re: [GIT PULL FOR v3.19] si4713 improvements and vb2_start_streaming_called() helper

2014-11-14 Thread Sebastian Reichel
Hi Hans, On Fri, Nov 14, 2014 at 11:21:27AM +0100, Hans Verkuil wrote: This is the full si4713 patch series (with some small changes to fix compiler warnings), Thanks for taking care of this. -- Sebastian signature.asc Description: Digital signature

Re: [PATCH 1/2] mach-omap2: remove deprecated VIDEO_OMAP2 support

2014-11-14 Thread Tony Lindgren
* Hans Verkuil hverk...@xs4all.nl [141114 01:25]: From: Hans Verkuil hans.verk...@cisco.com The omap2 camera driver has been deprecated for a year and is now going to be removed. It is unmaintained and it uses an internal API that has long since been superseded by a much better API. Worse,

Re: SOLO6x10: fix a race in IRQ handler.

2014-11-14 Thread Andrey Utkin
Also while you're at it, and if this really makes sense, you could merge these two writes (unrecognized bits, then recognized bits) to one write act. -- Andrey Utkin -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 2/8] rtl2832: implement PIP mode

2014-11-14 Thread Mauro Carvalho Chehab
Em Wed, 12 Nov 2014 06:23:04 +0200 Antti Palosaari cr...@iki.fi escreveu: Implement PIP mode to stream from slave demodulator. PIP mode is enabled when .set_frontend is called with RF frequency 0, otherwise normal demod mode is enabled. This would be an API change, so, a DocBook patch is

Re: [PATCH 4/8] rtl28xxu: add support for Panasonic MN88472 slave demod

2014-11-14 Thread Mauro Carvalho Chehab
Em Wed, 12 Nov 2014 06:23:06 +0200 Antti Palosaari cr...@iki.fi escreveu: There is RTL2832P devices having extra MN88472 demodulator. This patch add support for such configuration. Logically MN88472 slave demodulator is connected to RTL2832 master demodulator, both I2C bus and TS input.

Re: [PATCH 5/8] rtl28xxu: add support for Panasonic MN88473 slave demod

2014-11-14 Thread Mauro Carvalho Chehab
Em Wed, 12 Nov 2014 06:23:07 +0200 Antti Palosaari cr...@iki.fi escreveu: There is RTL2832P devices having extra MN88473 demodulator. This patch add support for such configuration. Logically MN88473 slave demodulator is connected to RTL2832 master demodulator, both I2C bus and TS input.

Re: [GIT PULL] Panasonic MN8847 and MN88473

2014-11-14 Thread Mauro Carvalho Chehab
Em Fri, 14 Nov 2014 03:52:13 +0200 Antti Palosaari cr...@iki.fi escreveu: The following changes since commit dd0a6fe2bc3055cd61e369f97982c88183b1f0a0: [media] dvb-usb-dvbsky: fix i2c adapter for sp2 device (2014-11-11 12:55:32 -0200) are available in the git repository at:

Re: [RESUBMIT] [PATCH] Replace mentions of list_struct to list_head

2014-11-14 Thread Mauro Carvalho Chehab
Em Thu, 13 Nov 2014 20:48:41 -0500 Steven Rostedt rost...@goodmis.org escreveu: On Fri, 14 Nov 2014 05:09:55 +0400 Andrey Utkin andrey.krieger.ut...@gmail.com wrote: There's no such thing as list_struct. I guess there isn't. Indeed ;) Signed-off-by: Andrey Utkin

[PATCH 1/3] tuners: si2157: Si2148 support.

2014-11-14 Thread CrazyCat
Si2148-A20 silicon tuner support. Signed-off-by: Evgeny Plehov evgenyple...@ukr.net --- drivers/media/tuners/si2157.c | 10 ++ drivers/media/tuners/si2157.h | 2 +- drivers/media/tuners/si2157_priv.h | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git

[PATCH 3/3] cxusb: Geniatech T230 support.

2014-11-14 Thread CrazyCat
Geniatech Mygica T230 DVB-T/T2/C USB stick support. Signed-off-by: Evgeny Plehov evgenyple...@ukr.net --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb/cxusb.c| 127 +++ 2 files changed, 128 insertions(+) diff --git

[PATCH 2/3] si2168: TS clock inversion control.

2014-11-14 Thread CrazyCat
TS clock polarity control implemented. Signed-off-by: Evgeny Plehov evgenyple...@ukr.net --- drivers/media/dvb-frontends/si2168.c | 7 +-- drivers/media/dvb-frontends/si2168.h | 4 drivers/media/dvb-frontends/si2168_priv.h | 1 + 3 files changed, 10 insertions(+), 2

Re: SOLO6x10: fix a race in IRQ handler.

2014-11-14 Thread Krzysztof Hałasa
Andrey Utkin andrey.krieger.ut...@gmail.com writes: could you please point to some reading which explains this moment? Or you just know this from experience? The solo device specs are very terse about this, so I considered that it should work fine without regard to how fast we write back to

[PATCH] [media] exynos4-is: fix error handling of irq_of_parse_and_map

2014-11-14 Thread Dmitry Torokhov
Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov d...@chromium.org --- Not tested, found by casual code inspection. drivers/media/platform/exynos4-is/fimc-is.c | 4 ++-- 1 file changed,

[GIT PULL FOR v3.19] omap24xx/tcm825x: remove deprecated omap2 camera drivers

2014-11-14 Thread Hans Verkuil
The omap2 camera driver has been deprecated for a year and it is now time to remove it. It is unmaintained and it uses an internal API that has long since been superseded by a much better API. Worse, that internal API has been abused by out-of-kernel trees (i.MX6). In addition, Sakari stated that

RE: [RESUBMIT] [PATCH] Replace mentions of list_struct to list_head

2014-11-14 Thread Deucher, Alexander
-Original Message- From: Andrey Utkin [mailto:andrey.krieger.ut...@gmail.com] Sent: Thursday, November 13, 2014 8:10 PM To: linux-...@vger.kernel.org; linux-kbu...@vger.kernel.org; linux- me...@vger.kernel.org; linux-ker...@vger.kernel.org; dri- de...@lists.freedesktop.org;

Re: [PATCH 2/8] rtl2832: implement PIP mode

2014-11-14 Thread Antti Palosaari
Moikka! On 11/14/2014 09:34 PM, Mauro Carvalho Chehab wrote: Em Wed, 12 Nov 2014 06:23:04 +0200 Antti Palosaari cr...@iki.fi escreveu: Implement PIP mode to stream from slave demodulator. PIP mode is enabled when .set_frontend is called with RF frequency 0, otherwise normal demod mode is

Re: [PATCH 4/8] rtl28xxu: add support for Panasonic MN88472 slave demod

2014-11-14 Thread Antti Palosaari
On 11/14/2014 09:39 PM, Mauro Carvalho Chehab wrote: Em Wed, 12 Nov 2014 06:23:06 +0200 Antti Palosaari cr...@iki.fi escreveu: There is RTL2832P devices having extra MN88472 demodulator. This patch add support for such configuration. Logically MN88472 slave demodulator is connected to

Re: [PATCH 1/3] tuners: si2157: Si2148 support.

2014-11-14 Thread Antti Palosaari
Hello I wonder if we should define own firmware for Si2148-A20 just for sure. Olli? regards Antti On 11/14/2014 11:19 PM, CrazyCat wrote: Si2148-A20 silicon tuner support. Signed-off-by: Evgeny Plehov evgenyple...@ukr.net --- drivers/media/tuners/si2157.c | 10 ++

Re: [PATCH 4/8] rtl28xxu: add support for Panasonic MN88472 slave demod

2014-11-14 Thread Mauro Carvalho Chehab
Em Sat, 15 Nov 2014 01:42:43 +0200 Antti Palosaari cr...@iki.fi escreveu: On 11/14/2014 09:39 PM, Mauro Carvalho Chehab wrote: Em Wed, 12 Nov 2014 06:23:06 +0200 Antti Palosaari cr...@iki.fi escreveu: There is RTL2832P devices having extra MN88472 demodulator. This patch add

Re: [PATCH 1/3] tuners: si2157: Si2148 support.

2014-11-14 Thread CrazyCat
2148 is 2158 without analog support. Same firmware. 15.11.2014, 03:02, Antti Palosaari cr...@iki.fi: I wonder if we should define own firmware for Si2148-A20 just for sure. Olli? -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

Re: [PATCH 1/3] tuners: si2157: Si2148 support.

2014-11-14 Thread Antti Palosaari
On 11/15/2014 03:22 AM, CrazyCat wrote: 2148 is 2158 without analog support. Same firmware. 15.11.2014, 03:02, Antti Palosaari cr...@iki.fi: I wonder if we should define own firmware for Si2148-A20 just for sure. Olli? But still... I have seen one case where even same revision of si2168

Re: [RESUBMIT] [PATCH] Replace mentions of list_struct to list_head

2014-11-14 Thread Paul E. McKenney
On Fri, Nov 14, 2014 at 05:09:55AM +0400, Andrey Utkin wrote: There's no such thing as list_struct. Signed-off-by: Andrey Utkin andrey.krieger.ut...@gmail.com May as well get group rates on the acks... ;-) Acked-by: Paul E. McKenney paul...@linux.vnet.ibm.com ---

cron job: media_tree daily build: ERRORS

2014-11-14 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: Sat Nov 15 04:00:21 CET 2014 git branch: test git hash: c02ef64aab828d80040b5dce934729312e698c33 gcc

Re: SOLO6x10: fix a race in IRQ handler.

2014-11-14 Thread Andrey Utkin
2014-11-15 1:33 GMT+04:00 Krzysztof Hałasa khal...@piap.pl: The SOLO IRQ controller does the common thing, all drivers (for chips using the relatively modern write 1 to clear) have to follow this sequence: first ACK the interrupts sources (so they are deasserted, though they can be asserted