[PATCH v3] [media] s5p-mfc: add init buffer cmd to MFCV6

2014-05-14 Thread Arun Kumar K
From: avnd kiran avnd.ki...@samsung.com Latest MFC v6 firmware requires tile mode and loop filter setting to be done as part of Init buffer command, in sync with v7. Since there are two versions of v6 firmware with different interfaces, it is differenciated using the version number read back from

[PATCH v2] [media] s5p-mfc: Don't allocate codec buffers on STREAMON.

2014-05-14 Thread Arun Kumar K
From: Pawel Osciak posc...@chromium.org Currently, we allocate private codec buffers on STREAMON, which may fail if we are out of memory. We don't check for failure though, which will make us crash with the codec accessing random memory. We shouldn't be failing STREAMON with out of memory errors

[PATCH v2] [media] s5p-mfc: Dequeue sequence header after STREAMON

2014-05-14 Thread Arun Kumar K
MFCv6 encoder needs specific minimum number of buffers to be queued in the CAPTURE plane. This minimum number will be known only when the sequence header is generated. So we used to allow STREAMON on the CAPTURE plane only after sequence header is generated and checked with the minimum buffer

[PATCH] [media] s5p-mfc: Update scratch buffer size for MPEG4

2014-05-14 Thread Arun Kumar K
Update the MPEG4 decoder scratch buffer size as per the new v6 firmware. This updation is increasing the size and so is backward compatible with older v6 firmwares. Signed-off-by: Arun Kumar K arun...@samsung.com --- drivers/media/platform/s5p-mfc/regs-mfc-v6.h |3 +-- 1 file changed, 1

[PATCH v2 0/4] Add MFCv8 support

2014-05-14 Thread Arun Kumar K
This patchset adds MFCv8 support to the s5p-mfc driver. MFCv8 has the same operation sequence as that of v6+, but there is some shuffling of the registers happened. So to re-use the exisiting code, register access uses context variables instead of macros. The patchset modifies opr_v6 file to use

[PATCH v2 4/4] [media] s5p-mfc: Core support for v8 encoder

2014-05-14 Thread Arun Kumar K
From: Kiran AVND avnd.ki...@samsung.com This patch adds core support for v8 encoder. This patch also adds register definitions and buffer size requirements for H264 VP8 encoding, needed for new firmware version v8 for MFC Signed-off-by: Kiran AVND avnd.ki...@samsung.com Signed-off-by: Pawel

[PATCH v2 2/4] [media] s5p-mfc: Rename IS_MFCV7 macro

2014-05-14 Thread Arun Kumar K
Renaming the IS_MFCV7 macro to IS_MFCV7_PLUS for the addition of MFCv8 support which reuses the v7 code. Signed-off-by: Arun Kumar K arun...@samsung.com --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h |2 +- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c|2 +-

[PATCH v5 0/2] Add resolution change event

2014-05-14 Thread Arun Kumar K
This patchset adds a source_change event to the v4l2-events. This can be used for notifying the userspace about runtime format changes happening on video nodes / pads like resolution change in video decoder. Changes from v4 -- - Addressed comments from Hans

[PATCH v5 1/2] [media] v4l: Add source change event

2014-05-14 Thread Arun Kumar K
This event indicates that the video device has encountered a source parameter change during runtime. This can typically be a resolution change detected by a video decoder OR a format change detected by an input connector. This needs to be nofified to the userspace and the application may be

[PATCH v5 2/2] [media] s5p-mfc: Add support for resolution change event

2014-05-14 Thread Arun Kumar K
From: Pawel Osciak posc...@chromium.org When a resolution change point is reached, queue an event to signal the userspace that a new set of buffers is required before decoding can continue. Signed-off-by: Pawel Osciak posc...@chromium.org Signed-off-by: Arun Kumar K arun...@samsung.com ---

Re: [PATCH v2] [media] s5p-mfc: Dequeue sequence header after STREAMON

2014-05-14 Thread Hans Verkuil
On 05/14/2014 08:29 AM, Arun Kumar K wrote: MFCv6 encoder needs specific minimum number of buffers to be queued in the CAPTURE plane. This minimum number will be known only when the sequence header is generated. So we used to allow STREAMON on the CAPTURE plane only after sequence header is

Re: [PATCH v5 0/2] Add resolution change event

2014-05-14 Thread Hans Verkuil
On 05/14/2014 08:59 AM, Arun Kumar K wrote: This patchset adds a source_change event to the v4l2-events. This can be used for notifying the userspace about runtime format changes happening on video nodes / pads like resolution change in video decoder. Looks good. I'll merge this after the

Re: [PATCH v6 3/3] ARM: sunxi: Add IR controller support in DT on A20

2014-05-14 Thread Maxime Ripard
On Wed, May 14, 2014 at 12:39:02AM +0600, Alexander Bersenev wrote: This patch adds IR controller in A20 Device-Tree: - Two IR devices found in A20 user manual - Pins for two devices - One IR device physically found on Cubieboard 2 - One IR device physically found on Cubietruck

Re: [PATCH v2] [media] s5p-mfc: Dequeue sequence header after STREAMON

2014-05-14 Thread Arun Kumar K
Hi Hans, On 05/14/14 12:39, Hans Verkuil wrote: On 05/14/2014 08:29 AM, Arun Kumar K wrote: MFCv6 encoder needs specific minimum number of buffers to be queued in the CAPTURE plane. This minimum number will be known only when the sequence header is generated. So we used to allow STREAMON on

Re: [PATCH v5 2/2] [media] s5p-mfc: Add support for resolution change event

2014-05-14 Thread Sylwester Nawrocki
On 14/05/14 08:59, Arun Kumar K wrote: From: Pawel Osciak posc...@chromium.org When a resolution change point is reached, queue an event to signal the userspace that a new set of buffers is required before decoding can continue. Signed-off-by: Pawel Osciak posc...@chromium.org

RE: [PATCH v5 2/2] [media] s5p-mfc: Add support for resolution change event

2014-05-14 Thread Kamil Debski
Hi, Thank you for this patch. From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun Kumar K Sent: Wednesday, May 14, 2014 9:00 AM To: linux-media@vger.kernel.org; linux-samsung-...@vger.kernel.org Cc: k.deb...@samsung.com; s.nawro...@samsung.com; hverk...@xs4all.nl;

[linuxtv-media:master 499/499] powercap_sys.c:undefined reference to `__media_device_register'

2014-05-14 Thread Fengguang Wu
Hi Mauro, It's probably a bug fix that unveils the link errors. tree: git://linuxtv.org/media_tree.git master head: ba0d342ecc21fbbe2f6c178f4479944d1fb34f3b commit: ba0d342ecc21fbbe2f6c178f4479944d1fb34f3b [499/499] saa7134-alsa: include vmalloc.h config: make ARCH=arm allmodconfig All

Re: [PATCH 3/3] media: mx2-emmaprp: Add devicetree support

2014-05-14 Thread Sylwester Nawrocki
On 13/05/14 19:23, Alexander Shiyan wrote: Tue, 13 May 2014 19:09:30 +0200 от Sylwester Nawrocki s.nawro...@samsung.com: Hi, On 02/05/14 09:18, Alexander Shiyan wrote: This patch adds devicetree support for the Freescale enhanced Multimedia Accelerator (eMMA) video Pre-processor

regression: firmware loading for dvico dual digital 4

2014-05-14 Thread Vincent McIntyre
Hi, Antti asked me to report this. I built the latest media_build git on Ubuntu 12.04, with 3.8.0 kernel, using './build --main-git'. The attached tarball has the relvant info. Without the media_build modules, firmware loads fine (file dmesg.1) Once I build and install the media_build modules,

Re: regression: firmware loading for dvico dual digital 4

2014-05-14 Thread Antti Palosaari
Mauro, Bug is that: kernel: [ 37.360226] cxusb: i2c wr: len=64 is too big! I suspect that this is coming from your dynamic stack allocation patch set - as there has been very many similar looking bug reports earlier. Didn't analyzed it any deeply. regards Antti On 05/14/2014 02:30 PM,

Re: [PATCH v6 3/3] ARM: sunxi: Add IR controller support in DT on A20

2014-05-14 Thread Hans de Goede
Hi, snip On 05/13/2014 08:39 PM, Alexander Bersenev wrote: diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 0ae2b77..40ded74 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -724,6 +724,19 @@

RE: [PATCH] [media] s5p-mfc: Add a control for IVF format for VP8 encoder

2014-05-14 Thread Kamil Debski
Hi Pawel, Hans, I think we talked some time ago on IRC about this patch. If I remember correctly, the conclusion was that it would be better to use a specific pixel formats for this kind of out codec output. Akin to: V4L2_PIX_FMT_H264 'H264' H264 video elementary stream

[PATCH] v4l: Fix documentation of V4L2_PIX_FMT_H264_MVC and VP8 pixel formats

2014-05-14 Thread Kamil Debski
The 'Code' column in the documentation should provide the real fourcc code that is used. Changed the documentation to provide the fourcc defined in videodev2.h Signed-off-by: Kamil Debski k.deb...@samsung.com --- Documentation/DocBook/media/v4l/pixfmt.xml |4 ++-- 1 file changed, 2

Re: [PATCH] v4l: Fix documentation of V4L2_PIX_FMT_H264_MVC and VP8 pixel formats

2014-05-14 Thread Sylwester Nawrocki
On 14/05/14 16:31, Kamil Debski wrote: The 'Code' column in the documentation should provide the real fourcc code that is used. Changed the documentation to provide the fourcc defined in videodev2.h Signed-off-by: Kamil Debski k.deb...@samsung.com Acked-by: Sylwester Nawrocki

[GIT PULL for 3.16] ti-vpe patches

2014-05-14 Thread Kamil Debski
The following changes since commit ba0d342ecc21fbbe2f6c178f4479944d1fb34f3b: saa7134-alsa: include vmalloc.h (2014-05-13 23:05:15 -0300) are available in the git repository at: git://linuxtv.org/kdebski/media_tree_2.git for-3.16 for you to fetch changes up to

Re: [PATCH 3/3] media: mx2-emmaprp: Add devicetree support

2014-05-14 Thread Alexander Shiyan
Wed, 14 May 2014 12:49:03 +0200 от Sylwester Nawrocki s.nawro...@samsung.com: On 13/05/14 19:23, Alexander Shiyan wrote: Tue, 13 May 2014 19:09:30 +0200 от Sylwester Nawrocki s.nawro...@samsung.com: Hi, On 02/05/14 09:18, Alexander Shiyan wrote: This patch adds devicetree

Re: [PATCH v4 1/2] media: davinci: vpif capture: upgrade the driver with v4l offerings

2014-05-14 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Mon, May 12, 2014 at 3:20 PM, Hans Verkuil hverk...@xs4all.nl wrote: Hi Prabhakar, Thanks for the patch, but I have a few comments... On 05/12/2014 10:58 AM, Lad, Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch upgrades the

Re: [PATCH v4 1/2] media: davinci: vpif capture: upgrade the driver with v4l offerings

2014-05-14 Thread Hans Verkuil
On 05/14/2014 07:28 PM, Prabhakar Lad wrote: Hi Hans, Thanks for the review. On Mon, May 12, 2014 at 3:20 PM, Hans Verkuil hverk...@xs4all.nl wrote: Hi Prabhakar, Thanks for the patch, but I have a few comments... On 05/12/2014 10:58 AM, Lad, Prabhakar wrote: Buffer ioctls:

Re: Bug#746404: dtv-scan-tables: /usr/share/dvb/dvb-t/fr-all file : invalid enum and no DVB-T services found

2014-05-14 Thread Olliver Schinagl
Hey Fred, On 05/14/2014 06:50 PM, fredbob...@free.fr wrote: Thank you guys for your support ! Olliver, thank you for your commit I tested it and the parsing 1) is now good. However problem 2) is still there : no services are found at the end of the scan. I mean when doing : scan

[PATCH v7 3/3] ARM: sunxi: Add IR controller support in DT on A20

2014-05-14 Thread Alexander Bersenev
This patch adds IR controller in A20 Device-Tree: - Two IR devices found in A20 user manual - Pins for two devices - One IR device physically found on Cubieboard 2 - One IR device physically found on Cubietruck Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov

[PATCH v7 0/3] ARM: sunxi: Add support for consumer infrared devices

2014-05-14 Thread Alexander Bersenev
This patch introduces Consumer IR(CIR) support for sunxi boards. This is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- Changes since version

[PATCH v7 1/3] ARM: sunxi: Add documentation for sunxi consumer infrared devices

2014-05-14 Thread Alexander Bersenev
This patch adds documentation for Device-Tree bindings for sunxi IR controller. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- .../devicetree/bindings/media/sunxi-ir.txt | 23 ++ 1 file changed, 23

[PATCH v7 2/3] [media] rc: add sunxi-ir driver

2014-05-14 Thread Alexander Bersenev
This patch adds driver for sunxi IR controller. It is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- drivers/media/rc/Kconfig | 10 ++

Re: [PATCH 3/3] media: mx2-emmaprp: Add devicetree support

2014-05-14 Thread Shawn Guo
On Wed, May 14, 2014 at 08:59:54PM +0400, Alexander Shiyan wrote: Wed, 14 May 2014 12:49:03 +0200 от Sylwester Nawrocki s.nawro...@samsung.com: On 13/05/14 19:23, Alexander Shiyan wrote: Tue, 13 May 2014 19:09:30 +0200 от Sylwester Nawrocki s.nawro...@samsung.com: Hi, On

cron job: media_tree daily build: OK

2014-05-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: Thu May 15 04:00:15 CEST 2014 git branch: test git hash: ba0d342ecc21fbbe2f6c178f4479944d1fb34f3b gcc

Re: [PATCH] hdpvr: fix interrupted recording

2014-05-14 Thread Keith Pyle
On 05/12/14 07:41, Hans Verkuil wrote: Ryley, Keith, can you test this one more time and if it works reply with a 'Tested-by' tag that I can add to the patch? Thanks! Hans This issue was reported by Ryley Angus: quote I record from my satellite set top box using component video