RE: Introduce a new helper framework for buffer synchronization

2013-05-21 Thread Inki Dae
-Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Tuesday, May 21, 2013 6:31 AM To: Inki Dae Cc: Rob Clark; linux-fbdev; DRI mailing list; Kyungmin Park; myungjoo.ham; YoungJun Cho; linux-arm-ker...@lists.infradead.org; linux-

Re: InstantFM

2013-05-21 Thread Hans de Goede
Hi, On 05/20/2013 08:38 PM, Ted To wrote: snip Actually, playing around with it some more (the version in the stable repository), it appears to be picking something up. radio -s produces the following: $ radio -s q baseline at 1.00 Station 0: 88.10 MHz - 4.00 Station 1: 88.90 MHz -

Re: Introduce a new helper framework for buffer synchronization

2013-05-21 Thread Daniel Vetter
On Tue, May 21, 2013 at 04:03:06PM +0900, Inki Dae wrote: - Integration of fence syncing into dma_buf. Imo we should have a per-attachment mode which decides whether map/unmap (and the new sync) should wait for fences or whether the driver takes care of syncing through the new fence

Re: Warnings related to anonymous unions in s5p-tv driver

2013-05-21 Thread Sachin Kamat
On 17 May 2013 13:54, Sachin Kamat sachin.ka...@linaro.org wrote: Hi Hans, I noticed the following sparse warnings with S5P HDMI driver which I think got introduced due to the following commit: 5efb54b2b7b ([media] s5p-tv: add dv_timings support for hdmi) Warnings:

[PATCH] [media] v4l: vb2-dma-contig: add support for file access mode flags for DMABUF exporting

2013-05-21 Thread Philipp Zabel
Currently it is not possible for userspace to map a DMABUF exported buffer with write permissions. This patch allows to also pass O_RDONLY/O_RDWR when exporting the buffer, so that userspace may map it with write permissions. Signed-off-by: Philipp Zabel p.za...@pengutronix.de ---

[PATCH 1/2] [media] v4l2-mem2mem: add v4l2_m2m_create_bufs helper

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/v4l2-core/v4l2-mem2mem.c | 14 ++ include/media/v4l2-mem2mem.h | 2 ++ 2 files changed, 16 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-mem2mem.c b/drivers/media/v4l2-core/v4l2-mem2mem.c

[PATCH 2/2] [media] coda: v4l2-compliance fix: add VIDIOC_CREATE_BUFS support

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index d64908a..0319114 100644 --- a/drivers/media/platform/coda.c +++

[PATCH] [media] coda: v4l2-compliance fix: add bus_info prefix 'platform'

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 48b8d7a..d64908a 100644 --- a/drivers/media/platform/coda.c +++

[PATCH] [media] coda: use devm_ioremap_resouce

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 0319114..4a50386 100644 --- a/drivers/media/platform/coda.c

[PATCH] [media] coda: enable dmabuf support

2013-05-21 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 1cc4d64..16bef5e 100644 --- a/drivers/media/platform/coda.c

[PATCH] [media] coda: set umask 0644 on debug module param

2013-05-21 Thread Philipp Zabel
Otherwise module/coda/parameters/coda_debug won't show up in sysfs. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index

Re: [RFC 0/2] V4L2 API for exposing flash subdevs as LED class device

2013-05-21 Thread Andrzej Hajda
Hi All, Thanks for comments and sorry for late response. On 12.05.2013 23:12, Sakari Ailus wrote: Hi all, On Wed, May 08, 2013 at 09:32:17AM +0200, Andrzej Hajda wrote: On 07.05.2013 17:07, Laurent Pinchart wrote: On Tuesday 07 May 2013 02:11:27 Kim, Milo wrote: On Monday, May 06, 2013

Re: Can you take a look at these dvb-apps warnings/errors?

2013-05-21 Thread Hans Verkuil
On Mon 20 May 2013 23:22:15 Mauro Carvalho Chehab wrote: Hi Hans, Em Fri, 17 May 2013 10:30:57 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, Can you take a look at these? The daily build is failing because of this. Thanks! Hans test_video.c:322:2:

RE: Introduce a new helper framework for buffer synchronization

2013-05-21 Thread Inki Dae
-Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Tuesday, May 21, 2013 4:45 PM To: Inki Dae Cc: 'Daniel Vetter'; 'Rob Clark'; 'linux-fbdev'; 'DRI mailing list'; 'Kyungmin Park'; 'myungjoo.ham'; 'YoungJun Cho'; linux-arm-

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Hans Verkuil
Hi Sergei, Sorry for the delay, I had planned to work on this during the weekend, but I became ill. On Mon 13 May 2013 21:21:39 Sergei Shtylyov wrote: From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the

Re: Warnings related to anonymous unions in s5p-tv driver

2013-05-21 Thread Hans Verkuil
On Fri 17 May 2013 10:24:50 Sachin Kamat wrote: Hi Hans, I noticed the following sparse warnings with S5P HDMI driver which I think got introduced due to the following commit: 5efb54b2b7b ([media] s5p-tv: add dv_timings support for hdmi) Warnings:

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Hans Verkuil
On Mon 13 May 2013 21:21:39 Sergei Shtylyov wrote: From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the soc-camera drivers. Signed-off-by: Vladimir Barinov vladimir.bari...@cogentembedded.com

Re: [PATCH v4] V4L2: I2C: ML86V7667 video decoder driver

2013-05-21 Thread Hans Verkuil
On Thu 16 May 2013 00:50:23 Sergei Shtylyov wrote: From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add OKI Semiconductor ML86V7667 video decoder driver. Signed-off-by: Vladimir Barinov vladimir.bari...@cogentembedded.com [Sergei: added v4l2_device_unregister_subdev() call to the

Re: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver

2013-05-21 Thread phil . edworthy
Hi Sergei, Vladimir, Subject: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy phil.edwor...@renesas.com. I've seen old patches that

Re: Can you take a look at these dvb-apps warnings/errors?

2013-05-21 Thread Mauro Carvalho Chehab
Em Tue, 21 May 2013 11:20:18 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Mon 20 May 2013 23:22:15 Mauro Carvalho Chehab wrote: Hi Hans, Em Fri, 17 May 2013 10:30:57 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, Can you take a look at these? The daily

Re: [RFC 0/2] V4L2 API for exposing flash subdevs as LED class device

2013-05-21 Thread Sakari Ailus
Hi Andrzej, On Tue, May 21, 2013 at 10:34:53AM +0200, Andrzej Hajda wrote: On 12.05.2013 23:12, Sakari Ailus wrote: On Wed, May 08, 2013 at 09:32:17AM +0200, Andrzej Hajda wrote: On 07.05.2013 17:07, Laurent Pinchart wrote: On Tuesday 07 May 2013 02:11:27 Kim, Milo wrote: On Monday, May

[PATCH] [media] update saa7134 and tuner cardlists

2013-05-21 Thread Mauro Carvalho Chehab
Those are automatically updated using the cardlist script. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- Documentation/video4linux/CARDLIST.saa7134 | 1 + Documentation/video4linux/CARDLIST.tuner | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] staging: strncpy issue, need always let NUL terminated string ended by zero.

2013-05-21 Thread Mauro Carvalho Chehab
Em Tue, 07 May 2013 20:11:08 +0800 Chen Gang gang.c...@asianux.com escreveu: For NUL terminated string, need always let it ended by zero. The 'name' may be copied to user mode ('dvb_fe-ops.info' is 'struct dvb_frontend_info' which is defined in ./include/uapi/...), and its length is also

Re: [PATCH] staging: strncpy issue, need always let NUL terminated string ended by zero.

2013-05-21 Thread Chen Gang
On 05/21/2013 07:47 PM, Mauro Carvalho Chehab wrote: Em Tue, 07 May 2013 20:11:08 +0800 Chen Gang gang.c...@asianux.com escreveu: For NUL terminated string, need always let it ended by zero. The 'name' may be copied to user mode ('dvb_fe-ops.info' is 'struct dvb_frontend_info'

Re: InstantFM

2013-05-21 Thread Ted To
Hi Hans, On 05/21/2013 03:35 AM, Hans de Goede wrote: Hi, On 05/20/2013 08:38 PM, Ted To wrote: snip Actually, playing around with it some more (the version in the stable repository), it appears to be picking something up. radio -s produces the following: $ radio -s q baseline at

Re: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver

2013-05-21 Thread phil . edworthy
Hi Sergei, Vladimir, Subject: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy phil.edwor...@renesas.com. I've seen old

[PATCH stable v3.7] media mantis: fix silly crash case

2013-05-21 Thread Bjørn Mork
Hello, Please apply mainline commit e1d45ae to any maintained stable kernel prior to v3.7. I just hit this bug on a Debian 3.2.41-2+deb7u2 kernel: May 19 06:52:54 canardo kernel: [ 49.013774] BUG: unable to handle kernel NULL pointer dereference at 0308 May 19 06:52:54 canardo

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Sergei Shtylyov
Hello. On 21-05-2013 13:35, Hans Verkuil wrote: From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the soc-camera drivers. Signed-off-by: Vladimir Barinov vladimir.bari...@cogentembedded.com

[PATCH] [media] coda: fix error return value if v4l2_m2m_ctx_init fails

2013-05-21 Thread Philipp Zabel
Use ret from the outer scope, instead of redifining it in the conditional clause. That way the error value reaches the end of the function as intended. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] [media] coda: do not use v4l2_dev in coda_timeout

2013-05-21 Thread Philipp Zabel
The timeout delayed work might be scheduled even after the v4l2 device is released. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/coda.c

[PATCH] [media] saa7115: Don't use a dynamic array

2013-05-21 Thread Mauro Carvalho Chehab
At least on s390, gcc complains about that: drivers/media/i2c/saa7115.c: In function 'saa711x_detect_chip.constprop.2': drivers/media/i2c/saa7115.c:1647:1: warning: 'saa711x_detect_chip.constprop.2' uses dynamic stack allocation [enabled by default] While for me the above report seems

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Hans Verkuil
On Tue 21 May 2013 16:28:08 Sergei Shtylyov wrote: Hello. On 21-05-2013 13:35, Hans Verkuil wrote: From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the soc-camera drivers. Signed-off-by:

Re: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver

2013-05-21 Thread Sergei Shtylyov
Hello. On 21-05-2013 16:13, phil.edwor...@renesas.com wrote: Subject: [PATCH v5] V4L2: soc_camera: Renesas R-Car VIN driver From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add Renesas R-Car VIN (Video In) V4L2 driver. Based on the patch by Phil Edworthy

Re: [PATCH] [media] saa7115: Don't use a dynamic array

2013-05-21 Thread Hans Verkuil
On Tue 21 May 2013 16:41:33 Mauro Carvalho Chehab wrote: At least on s390, gcc complains about that: drivers/media/i2c/saa7115.c: In function 'saa711x_detect_chip.constprop.2': drivers/media/i2c/saa7115.c:1647:1: warning: 'saa711x_detect_chip.constprop.2' uses dynamic stack

Re: [PATCH v3] adv7180: add more subdev video ops

2013-05-21 Thread Sergei Shtylyov
Hello. On 05/21/2013 06:45 PM, Hans Verkuil wrote: From: Vladimir Barinov vladimir.bari...@cogentembedded.com Add subdev video ops for ADV7180 video decoder. This makes decoder usable on the soc-camera drivers. Signed-off-by: Vladimir Barinov vladimir.bari...@cogentembedded.com Signed-off-by:

Re: [RFC] Motion Detection API

2013-05-21 Thread Sakari Ailus
Hi Sylwester, My apologies for the late answer. Sylwester Nawrocki wrote: Hi Sakari :-) On 05/08/2013 06:26 PM, Sakari Ailus wrote: On Tue, May 07, 2013 at 04:04:10PM +0200, Sylwester Nawrocki wrote: On 05/07/2013 02:35 PM, Hans Verkuil wrote: A metadata plane works well if you have

cron job: media_tree daily build: ERRORS

2013-05-21 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 May 21 19:03:03 CEST 2013 git branch: test git hash: 6a084d6b3dc200b855ae8a3c6771abe285a3835d gcc

[PATCH] smscoreapi: memory leak fix

2013-05-21 Thread Roberto Alcântara
Ensure release_firmware is called if kmalloc fails. Signed-off-by:Roberto Alcantara robe...@eletronica.org diff --git a/linux/drivers/media/common/siano/smscoreapi.c b/linux/drivers/media/common/siano/smscoreapi.c index dbe9b4d..f65b4e3 100644 --- a/linux/drivers/media/common/siano/smscoreapi.c

Re: [PATCH RFC v2] media: OF: add sync-on-green endpoint property

2013-05-21 Thread Prabhakar Lad
Hi Laurent/Sylwester, On Thu, May 16, 2013 at 6:48 PM, Lad Prabhakar prabhakar.cse...@gmail.com wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch adds sync-on-green property as part of endpoint properties and also support to parse them in the parser. If you are ok with the

Re: [PATCH 0/4] media: remove duplicate check for EPERM

2013-05-21 Thread Prabhakar Lad
Hi All, On Tue, May 14, 2013 at 11:15 AM, Lad Prabhakar prabhakar.cse...@gmail.com wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series cleanups the check for EPERM in dbg_g/s_register and vidioc_g/s_register. Lad, Prabhakar (4): media: i2c: remove duplicate checks