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

2014-05-13 Thread Arun Kumar K
From: Kiran AVND 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 Signed-off-by: Pawel Osciak Signed-off-by: Arun Kumar K --- drive

[PATCH v2 3/4] [media] s5p-mfc: Core support to add v8 decoder

2014-05-13 Thread Arun Kumar K
From: Kiran AVND This patch adds variant data and core support for V8 decoder. This patch also adds the register definition file for new firmware version v8 for MFC. Signed-off-by: Kiran AVND Signed-off-by: Pawel Osciak Signed-off-by: Arun Kumar K --- .../devicetree/bindings/media/s5p-mfc.tx

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

2014-05-13 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 --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h |2 +- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c|2 +- drivers/media/platform/s5p-mfc/s5p_mfc_op

[PATCH v2 0/4] Add MFCv8 support

2014-05-13 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 re

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

2014-05-13 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 --- drivers/media/platform/s5p-mfc/regs-mfc-v6.h |3 +-- 1 file changed, 1 insertion(+), 2 deletion

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

2014-05-13 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 requi

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

2014-05-13 Thread Arun Kumar K
From: Pawel Osciak 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 though. So move the

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

2014-05-13 Thread Arun Kumar K
From: avnd kiran 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 firmware which is a he

cron job: media_tree daily build: ERRORS

2014-05-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: Wed May 14 04:00:20 CEST 2014 git branch: test git hash: 8fae379aa57b5b851437bfadc7cd8890c4b72066 gcc versi

[PATCH] Documentation/dma-buf-sharing.txt: update API descriptions

2014-05-13 Thread Gioh Kim
Update some descriptions for API arguments and descriptions. Signed-off-by: Gioh Kim --- Documentation/dma-buf-sharing.txt | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/dma-buf-sharing.txt b/Documentation/dma-buf-sharing.txt index 505e711..aa

RE: [PATCH] Documentation/dma-buf-sharing.txt: update API descriptions

2014-05-13 Thread Gioh Kim
Thank you for advice. I will send a fixed patch soon. > -Original Message- > From: Thierry Reding [mailto:thierry.red...@gmail.com] > Sent: Tuesday, May 13, 2014 5:45 PM > To: gioh.kim > Cc: Sumit Semwal; Randy Dunlap; linux-media@vger.kernel.org; > dri-de...@lists.freedesktop.org; linux-

Re: [PATCH v6 2/3] ARM: sunxi: Add driver for sunxi IR controller

2014-05-13 Thread James Hogan
Hi Alexander, Just a few probe error handling suggestions... On 13/05/14 19:39, Alexander Bersenev wrote: > +static int sunxi_ir_probe(struct platform_device *pdev) > +{ > + int ret = 0; > + unsigned long tmp = 0; > + > + struct device *dev = &pdev->dev; > + struct device_node *dn

Re: [PATCH v4 05/49] v4l: Add pad-level DV timings subdev operations

2014-05-13 Thread Laurent Pinchart
Hi Mauro, On Tuesday 13 May 2014 13:51:20 Mauro Carvalho Chehab wrote: > Em Thu, 17 Apr 2014 16:12:36 +0200 Laurent Pinchart escreveu: > > Signed-off-by: Laurent Pinchart > > Acked-by: Lad, Prabhakar > > Reviewed-by: Hans Verkuil > > --- > > > > include/media/v4l2-subdev.h| 4 > > i

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

2014-05-13 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 Signed-off-by: Alexsey Shestacov --- arch/arm/boot

[PATCH v6 2/3] ARM: sunxi: Add driver for sunxi IR controller

2014-05-13 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 Signed-off-by: Alexsey Shestacov --- drivers/media/rc/Kconfig| 10 ++ drivers/media/rc/Makefile | 1 + drivers/m

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

2014-05-13 Thread Alexander Bersenev
This patch adds documentation for Device-Tree bindings for sunxi IR controller. Signed-off-by: Alexander Bersenev Signed-off-by: Alexsey Shestacov --- .../devicetree/bindings/media/sunxi-ir.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentati

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

2014-05-13 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 Signed-off-by: Alexsey Shestacov --- Changes since version 1: - Fix timer memory leaks - Fix rac

[GIT PULL FOR v3.16] saa7134 fixes and vb2 conversion (with bisect fix)

2014-05-13 Thread Hans Verkuil
Hi Mauro, Updated and rebased, fixing the embarrassing bisect problem, otherwise unchanged. Regards, Hans The following changes since commit 7ffd58ddab76969019098e97d687711451d32a3d: [media] v4l: Add 12-bit YUV 4:2:2 media bus pixel codes (2014-05-13 13:48:29 -0300) are available

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

2014-05-13 Thread Alexander Shiyan
Tue, 13 May 2014 19:09:30 +0200 от Sylwester Nawrocki : > 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 (PrP). > > > > Signed-off-by: Alexander Shiyan > > --- > > .../dev

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

2014-05-13 Thread Sylwester Nawrocki
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 (PrP). > > Signed-off-by: Alexander Shiyan > --- > .../devicetree/bindings/media/fsl-imx-emmaprp.txt | 19 > +++

Re: [PATCH v4 05/49] v4l: Add pad-level DV timings subdev operations

2014-05-13 Thread Mauro Carvalho Chehab
Em Thu, 17 Apr 2014 16:12:36 +0200 Laurent Pinchart escreveu: > Signed-off-by: Laurent Pinchart > Acked-by: Lad, Prabhakar > Reviewed-by: Hans Verkuil > --- > include/media/v4l2-subdev.h| 4 > include/uapi/linux/videodev2.h | 10 -- > 2 files changed, 12 insertions(+), 2 del

Re: [GIT PULL FOR v3.16] saa7134 fixes and vb2 conversion

2014-05-13 Thread Mauro Carvalho Chehab
Em Wed, 23 Apr 2014 15:50:42 +0200 Hans Verkuil escreveu: > Hi Mauro, > > I have attempted to split up the saa7134 vb2 conversion a bit more, but I > don't > see how I can reduce it further, except by disabling parts of the driver, then > converting each part and enabling it again (i.e., disabl

Re: Hauppauge 950Q TS capture intermittent lock up

2014-05-13 Thread Trevor G
Example app is attached. My build is just "gcc -O2 dvbcapture.c -o dvbcapture". Here's example output and usage of this app - both working and with data lockup. Params mean: DVB adapter 0, frequency 357Mhz, 4 seconds, output to "stuff.ts", QAM256. The app returns exit code 3 if no data is availabl

UBS AG Alarm Ihrer Bank Internet-Banking

2014-05-13 Thread UBS AG
-- Sehr geehrter Kunde, kürzlich zeigten unsere Aufzeichnungen, dass Ihr UBS-Konto durch einen Dritten unbefugten Zutritt hatte. Die Sicherheit Ihres Kontos ist unser wichtigstes Anliegen. Deshalb haben wir beschlossen, den Zugang zu Ihrem Konto vorübergehend zu begrenzen. Für den vollen Z

Re: [PATCH] V4L2: ov7670: fix a wrong index, potentially Oopsing the kernel from user-space

2014-05-13 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 13 May 2014 14:31:25 Guennadi Liakhovetski wrote: > On Tue, 13 May 2014, Laurent Pinchart wrote: > > On Monday 14 April 2014 15:49:34 Guennadi Liakhovetski wrote: > > > Commit 75e2bdad8901a0b599e01a96229be922eef1e488 "ov7670: allow > > > configuration of image size, clock s

Re: [PATCH] V4L2: ov7670: fix a wrong index, potentially Oopsing the kernel from user-space

2014-05-13 Thread Guennadi Liakhovetski
Hi Laurent, On Tue, 13 May 2014, Laurent Pinchart wrote: > Hi Guennadi, > > On Monday 14 April 2014 15:49:34 Guennadi Liakhovetski wrote: > > Commit 75e2bdad8901a0b599e01a96229be922eef1e488 "ov7670: allow > > configuration of image size, clock speed, and I/O method" uses a wrong > > index to ite

Re: [PATCH] V4L2: ov7670: fix a wrong index, potentially Oopsing the kernel from user-space

2014-05-13 Thread Laurent Pinchart
Hi Guennadi, On Monday 14 April 2014 15:49:34 Guennadi Liakhovetski wrote: > Commit 75e2bdad8901a0b599e01a96229be922eef1e488 "ov7670: allow > configuration of image size, clock speed, and I/O method" uses a wrong > index to iterate an array. Apart from being wrong, it also uses an > unchecked valu

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

2014-05-13 Thread Arun Kumar K
Hi Sachin, Thank you for the review. Will address your comments and post updated version. Regards Arun On Thu, May 8, 2014 at 3:09 PM, Sachin Kamat wrote: > Hi Arun, > > Just 2 small nits. > > On 7 May 2014 17:00, Arun Kumar K wrote: >> MFCv6 encoder needs specific minimum number of buffers to

Re: [PATCH 1/3] [media] s5p-mfc: Add variants to access mfc registers

2014-05-13 Thread Arun Kumar K
Hi Kamil, On 05/13/14 16:02, Kamil Debski wrote: > Hi, > > One small comment below, > >> -Original Message- >> From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun >> Kumar K >> Sent: Wednesday, April 23, 2014 2:58 PM >> To: linux-media@vger.kernel.org; linux-samsung-.

Re: [PATCHv2 1/3] phy: Add exynos-simple-phy driver

2014-05-13 Thread Rahul Sharma
On 7 May 2014 21:03, Tomasz Figa wrote: > [CCing more DT-folks :)] > > On 07.05.2014 16:19, Rahul Sharma wrote: >> On 7 May 2014 19:06, Tomasz Stanislawski wrote: >>> On 05/07/2014 12:38 PM, Rahul Sharma wrote: On 5 May 2014 15:14, Kishon Vijay Abraham I wrote: > Hi, > > On We

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

2014-05-13 Thread Arun Kumar K
Hi Hans, Will make the changes you suggested. Thanks & regards Arun On Tue, May 13, 2014 at 1:30 PM, Hans Verkuil wrote: > Hi Arun, > > I've got some more comments w.r.t. the documentation: > > On 05/13/14 07:59, Arun Kumar K wrote: >> This event indicates that the video device has encountered

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

2014-05-13 Thread Arun Kumar K
Hi Hans, On Tue, May 13, 2014 at 1:29 PM, Hans Verkuil wrote: > On 05/13/14 07:59, Arun Kumar K wrote: >> From: Pawel Osciak >> >> 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. >> >> Sig

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

2014-05-13 Thread Arun Kumar K
Hi Kamil, On Tue, May 13, 2014 at 2:49 PM, Kamil Debski wrote: > Hi, > >> From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun >> Kumar K >> Sent: Tuesday, March 11, 2014 10:16 AM >> >> From: avnd kiran >> >> Latest MFC v6 firmware requires tile mode and loop filter setting to

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

2014-05-13 Thread Kamil Debski
Hi, > From: Arun Kumar K [mailto:arunkk.sams...@gmail.com] On Behalf Of Arun > Kumar K > Sent: Tuesday, March 11, 2014 10:16 AM > > From: avnd kiran > > 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 ar

Re: [PATCH] Documentation/dma-buf-sharing.txt: update API descriptions

2014-05-13 Thread Thierry Reding
On Mon, May 12, 2014 at 08:48:12PM +0900, gioh.kim wrote: > From: "gioh.kim" It might be good to fix your setup to make this be the same as the name and email used in the Signed-off-by line below. > update some descriptions for API arguments and descriptions. Nit: "Update" since it's the beginn

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

2014-05-13 Thread Hans Verkuil
Hi Arun, I've got some more comments w.r.t. the documentation: On 05/13/14 07:59, Arun Kumar K wrote: > 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

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

2014-05-13 Thread Hans Verkuil
On 05/13/14 07:59, Arun Kumar K wrote: > From: Pawel Osciak > > 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 > Signed-off-by: Arun Kumar K > --- > drive