Re: [RFC] media DT bindings

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 14:39:07 Guennadi Liakhovetski wrote: > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > > On Tuesday 31 July 2012 11:26:27 Guennadi Liakhovetski wrote: > > > > On Fri, 27 Jul 2012, Laurent Pinchart wrote: >

Re: Update VIP to videobuf2 and control framework

2012-07-31 Thread Hans Verkuil
On Tue July 31 2012 22:17:06 Federico Vaga wrote: > As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the > videobuf2. This patch series is an RFC. Thank you very much for working on this! Much appreciated! > The first patch is just an update to the adv7180 because the VIP

Query regarding the support and testing of MJPEG frame type in the UVC webcam gadget

2012-07-31 Thread Bhupesh SHARMA
Hi Laurent, I have a query for you regarding the support and testing of MJPEG frame type in the UVC webcam gadget. I see that in the webcam.c gadget, the 720p and VGA MJPEG uvc formats are supported. I was trying the same out and got confused because the data arriving from a real video capture

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-31 Thread Hans Verkuil
On Tue July 24 2012 19:40:27 Michael Krufky wrote: > Apologies for my late reply -- I plan to attend the conference!!! I > am looking to book everything today... I think I'm going to Barcelona > as well -- will you guys go to both conferences? I plan on going to Barcelona as well. Regards,

[no subject]

2012-07-31 Thread Bhupesh SHARMA
Hi Laurent, I have a query for you regarding the support and testing of MJPEG frame type in the UVC webcam gadget. I see that in the webcam.c gadget, the 720p and VGA MJPEG uvc formats are supported. I was trying the same out and got confused because the data arriving from a real video capture

Re: "[PULL] video_visstrim for 3.6"

2012-07-31 Thread javier Martin
On 31 July 2012 15:05, Sascha Hauer wrote: > On Tue, Jul 31, 2012 at 08:13:59AM +0200, javier Martin wrote: >> On 31 July 2012 00:42, Mauro Carvalho Chehab wrote: >> > Em 26-07-2012 06:36, Javier Martin escreveu: >> >> Hi Mauro, >> >> this pull request is composed of two series that provide suppo

Re: [RFC] media DT bindings

2012-07-31 Thread Laurent Pinchart
Hi Stephen, On Tuesday 31 July 2012 17:29:24 Stephen Warren wrote: > On 07/31/2012 03:22 PM, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 14:39:07 Guennadi Liakhovetski wrote: > ... > > >> Ok, then, how about > >> > >>#address-cells = <1>; > >>#size-cells = <0>; >

[PATCH] media: soc_camera: don't clear pix->sizeimage in JPEG mode when try_fmt

2012-07-31 Thread Albert Wang
In JPEG mode, the size of image is variable due to different JPEG compress rate We only can get the pix->sizeimage from user in USERPTR mode If we clear pix->sizeimage in soc_camera_try_fmt() then we will get it from: ret = soc_mbus_image_size(xlate->host_fmt, pix->bytesperline,

Re: [PATCH v4 4/5] media: gscaler: Add m2m functionality for the G-Scaler driver

2012-07-31 Thread Shaik Ameer Basha
Hi Hans, On Tue, Jul 31, 2012 at 5:48 PM, Hans Verkuil wrote: > On Tue 31 July 2012 14:12:32 Shaik Ameer Basha wrote: >> From: Sungchun Kang >> >> This patch adds the memory to memory (m2m) interface functionality >> for the G-Scaler driver. >> >> Signed-off-by: Hynwoong Kim >> Signed-off-by: S

3.5 kernel options for Hauppauge_WinTV-HVR-1250

2012-07-31 Thread James
I got the latest kernel from git and I can't find the kernel options for my tv card. I have: http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-1250 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo in

Re: [RFC] media DT bindings

2012-07-31 Thread Stephen Warren
On 07/31/2012 03:22 PM, Laurent Pinchart wrote: > On Tuesday 31 July 2012 14:39:07 Guennadi Liakhovetski wrote: ... >> Ok, then, how about >> >> #address-cells = <1>; >> #size-cells = <0>; >> ... >> ov772x-1 = { >> reg = <1>;

Re: [GIT PULL for 3.6-rc1] media updates part 2

2012-07-31 Thread Mauro Carvalho Chehab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Em 31-07-2012 12:15, Mauro Carvalho Chehab escreveu: > Hi Linus, > > Please pull from: > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media > v4l_for_linus > > For the second part of media patches: > - radio API: add suppo

[PATCH, RFC] Fix DVB ioctls failing if frontend open/closed too fast

2012-07-31 Thread Juergen Lock
That likely fxes this MythTV ticket: http://code.mythtv.org/trac/ticket/10830 (which btw affects all usb tuners I tested as well, pctv452e, dib0700, af9015) pctv452e is still possibly broken with MythTV even after this fix; it does work with VDR here tho despite I2C errors. Reduced test

Re: Reporting signal overload condition for tuners?

2012-07-31 Thread Antti Palosaari
On 07/31/2012 10:56 PM, Devin Heitmueller wrote: Quick question: we don't currently have any way to report to userland that a tuning is failing due to signal overload, right? right I assume you speak issue where signal is too strong and tuner (or demod too?) makes it broken / too noisy for d

Re: [RESEND,media] v4l2: define V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV24M pixel formats

2012-07-31 Thread Ilyes Gouta
Hi Mauro, >> Define the two new V4L2_PIX_FMT_NV16M (4:2:2 two-buffers) and >> V4L2_PIX_FMT_NV24M (4:4:4 two-buffers) >> pixel formats, the non-contiguous variants of the existing V4L2_PIX_FMT_NV16 >> and V4L2_PIX_FMT_NV24 formats. >> >> Existing h/w IPs, such as decoders, operate on such separat

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Laurent Pinchart
Hi Rémi, On Tuesday 31 July 2012 21:39:40 Rémi Denis-Courmont wrote: > Le mardi 31 juillet 2012 19:28:12 Laurent Pinchart, vous avez écrit : > > On Tuesday 31 July 2012 16:39:00 Rémi Denis-Courmont wrote: > > > Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : > > > > > For tha

Re: [media-ctl PATCH 1/1] libv4l2subdev: Add v4l2_subdev_enum_mbus_code()

2012-07-31 Thread Laurent Pinchart
Hi Sakari, On Tuesday 31 July 2012 15:17:04 Sakari Ailus wrote: > On Tue, Jul 31, 2012 at 01:38:41PM +0200, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 01:16:00 Sakari Ailus wrote: > > > v4l2_subdev_enum_mbus_code() enumerates over supported media bus formats > > > on a pad. > > > > > > S

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Laurent Pinchart
Hi Sylwester, On Tuesday 31 July 2012 15:28:52 Sylwester Nawrocki wrote: > On 07/31/2012 02:59 PM, Guennadi Liakhovetski wrote: > > On Tue, 31 Jul 2012, Sylwester Nawrocki wrote: > >> On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: > >> But should we allow host probe() to succeed if the s

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Laurent Pinchart
Hi Sylwester, On Tuesday 31 July 2012 14:38:35 Sylwester Nawrocki wrote: > On 07/31/2012 01:05 PM, Laurent Pinchart wrote: > > What about CSI receivers that can reroute the lanes internally ? We > > would need to specify lane indices for each lane then, maybe with > > something like >

Re: [RFC] media DT bindings

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 14:39:07 Guennadi Liakhovetski wrote: > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 11:26:27 Guennadi Liakhovetski wrote: > > > On Fri, 27 Jul 2012, Laurent Pinchart wrote: > > > > On Wednesday 18 July 2012 19:00:15 Sylwester Nawroc

Re: Update VIP to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
I use git send-email command to send patches but I think I made a mistake. If something is wrong or confused please tell me and I try to resend all the patches hopefully without mistake. Sorry again. 2012/7/31 Federico Vaga : > As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board

Re: [PATCH 1/3] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
I'm sorry for the email duplication, I press the wrong key on git-send email. Ignore these emails. Sorry -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/

Re: linux-next: Tree for July 31 (media/radio-tea5777)

2012-07-31 Thread Randy Dunlap
On 07/31/2012 12:56 PM, Mauro Carvalho Chehab wrote: > Em 31-07-2012 14:22, Randy Dunlap escreveu: >> drivers/built-in.o: In function `radio_tea5777_set_freq': >> radio-tea5777.c:(.text+0x4d8704): undefined reference to `__udivdi3' >> > The patch below should fix it. > > Thanks for reporting it!

[PATCH 3/3] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/video/sta2x11_vip.c | 1134 ++--- 1 file modificato, 410 inserzioni(+), 724 rimozioni(-) diff --git a/drivers/media/video/sta2x11_vip.c b/drivers/media/video/sta2x11_vip.c index 4c10205..

[PATCH 2/3] [media] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/Kconfig | 6 +- drivers/media/video/Makefile | 1 + drivers/media/video/videobuf2-dma-streaming.c | 187 ++ include/media/videobuf2-dma-streaming.h | 24 4 file modifica

[PATCH 1/3] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 3 --- 1 file modificato, 3 rimozioni(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 07bb550..bcc7d60 100644 --- a/drivers/media/video/adv7180.c +++ b/drivers/media/video/adv7180.c @@ -402,9 +40

Update VIP to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the videobuf2. This patch series is an RFC. The first patch is just an update to the adv7180 because the VIP (the only user) now use the control framework so query{g_|s_|ctrl} are not necessery. The second patch adds a new

Update STA2X11 to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the videobuf2. This patch series is an RFC. The first patch is just an update to the adv7180 because the VIP (the only user) now use the control framework so query{g_|s_|ctrl} are not necessery. The second patch adds a new

[PATCH 1/3 RFC] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 3 --- 1 file modificato, 3 rimozioni(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 07bb550..bcc7d60 100644 --- a/drivers/media/video/adv7180.c +++ b/drivers/media/video/adv7180.c @@ -402,9 +40

Re: [RESEND,media] v4l2: define V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV24M pixel formats

2012-07-31 Thread Mauro Carvalho Chehab
Hi Ilyes, Em 31-07-2012 16:40, Ilyes Gouta escreveu: > Define the two new V4L2_PIX_FMT_NV16M (4:2:2 two-buffers) and > V4L2_PIX_FMT_NV24M (4:4:4 two-buffers) > pixel formats, the non-contiguous variants of the existing V4L2_PIX_FMT_NV16 > and V4L2_PIX_FMT_NV24 formats. > > Existing h/w IPs, suc

Re: linux-next: Tree for July 31 (media/radio-tea5777)

2012-07-31 Thread Mauro Carvalho Chehab
Em 31-07-2012 14:22, Randy Dunlap escreveu: > drivers/built-in.o: In function `radio_tea5777_set_freq': > radio-tea5777.c:(.text+0x4d8704): undefined reference to `__udivdi3' > The patch below should fix it. Thanks for reporting it! Regards, Mauro [media] radio-tea5777: use library for 64bits d

Reporting signal overload condition for tuners?

2012-07-31 Thread Devin Heitmueller
Hi there, Quick question: we don't currently have any way to report to userland that a tuning is failing due to signal overload, right? There are some tuner chips out there which can detect this condition, and being able to report it back to userland would make it much easier to inform the user

[Q] stk1160 on arm raspberrypi (but with issues)

2012-07-31 Thread Ezequiel Garcia
Hi, I received some reports of stk1160 working on the world famous ARM raspberrypi devices; with some changes to current code: https://github.com/ezequielgarcia/stk1160-standalone/issues/5 This gently user did some changes on my suggestion and then could capture a png with mplayer. However the i

[PATCH 2/2 RESEND] [media] ngene: add support for Terratec Cynergy 2400i, Dual DVB-T

2012-07-31 Thread Patrice Chotard
[media] ngene: add support for Terratec Cynergy 2400i Dual DVB-T This code is based on ngene initial check-in (dae52d009fc950b5c209260d50fcc000f5becd3c) Signed-off-by: Patrice Chotard --- drivers/media/dvb/ngene/ngene-cards.c | 263 + 1 files changed, 263 inser

[RESEND,media] v4l2: define V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV24M pixel formats

2012-07-31 Thread Ilyes Gouta
Define the two new V4L2_PIX_FMT_NV16M (4:2:2 two-buffers) and V4L2_PIX_FMT_NV24M (4:4:4 two-buffers) pixel formats, the non-contiguous variants of the existing V4L2_PIX_FMT_NV16 and V4L2_PIX_FMT_NV24 formats. Existing h/w IPs, such as decoders, operate on such separate luma and chroma buffers.

[RESEND,media] v4l2: define V4L2_PIX_FMT_NV16M and V4L2_PIX_FMT_NV24M pixel formats

2012-07-31 Thread Ilyes Gouta
Define the two new V4L2_PIX_FMT_NV16M (4:2:2 two-buffers) and V4L2_PIX_FMT_NV24M (4:4:4 two-buffers) pixel formats, the non-contiguous variants of the existing V4L2_PIX_FMT_NV16 and V4L2_PIX_FMT_NV24 formats. Existing h/w IPs, such as decoders, operate on such separate luma and chroma buffers.

[PATCH 1/2 RESEND] [media] dvb: add support for Thomson DTT7520X

2012-07-31 Thread Patrice Chotard
[media] dvb: add support for Thomson DTT7520X Add support for Thomson DTT7520X pll needed by ngene card Terratec Cynergy 2400i DT Signed-off-by: Patrice Chotard --- drivers/media/dvb/frontends/dvb-pll.c | 26 ++ drivers/media/dvb/frontends/dvb-pll.h |1 + 2 files c

Re: [Workshop-2011] Media summit/KS-2012 proposals

2012-07-31 Thread Laurent Pinchart
Hi Mauro, On Tuesday 31 July 2012 14:58:23 Mauro Carvalho Chehab wrote: > In order to sum-up the discussions around the media summit, > this is what we've got so far: > > Proposals > proposed by > ===

RE: [PATCH] media: mx3_camera: buf_init() add buffer state check

2012-07-31 Thread Alex Gershgorin
> Hi Guennadi, > > > On Mon, 30 Jul 2012, Alex Gershgorin wrote: > > > This patch check the state of the buffer when calling buf_init() method. > > The thread > > http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/48587 > > also includes report witch can show the problem. Th

cron job: media_tree daily build: ERRORS

2012-07-31 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 Jul 31 19:00:24 CEST 2012 git hash:24ed693da0cefede7382d498dd5e9a83f0a21c38 gcc version: i686-linux-gcc (GC

RE: Media summit/KS-2012 proposals

2012-07-31 Thread Sri Deevi
Hi I would like to participate in the workshop. Can you please add me to the list ? Thanks Sri Mensagem original Assunto: Media summit/KS-2012 proposals Data: Tue, 31 Jul 2012 14:58:23 -0300 De: Mauro Carvalho Chehab Para: workshop-2...@linuxtv.org, Linux Media Mailing Lis

RE: [Workshop-2011] Media summit/KS-2012 proposals

2012-07-31 Thread Palash Bandyopadhyay
Mauro, Can you add Sri Deevi to the list too? Thanks, Palash -Original Message- From: workshop-2011-boun...@linuxtv.org [mailto:workshop-2011-boun...@linuxtv.org] On Behalf Of Mauro Carvalho Chehab Sent: Tuesday, July 31, 2012 10:58 AM To: workshop-2...@linuxtv.org; Linux Media Mailin

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-31 Thread Mauro Carvalho Chehab
Em 24-07-2012 21:17, Naveen KRISHNAMURTHY escreveu: > Hello Mauro, > > We would like to participate in the media summit at San Diego. Can you please > reserve 2 seats for us. Who are you planning to send to the media summit? > If possible we would like to reserve a session to present how we ha

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Rémi Denis-Courmont
Le mardi 31 juillet 2012 19:28:12 Laurent Pinchart, vous avez écrit : > Hi Rémi, > > On Tuesday 31 July 2012 16:39:00 Rémi Denis-Courmont wrote: > > Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : > > > > For that matter, wouldn't it be useful to support exporting a userptr >

Re: Media summit/KS-2012 proposals

2012-07-31 Thread Mauro Carvalho Chehab
Em 31-07-2012 14:58, Mauro Carvalho Chehab escreveu: > In order to sum-up the discussions around the media summit, > this is what we've got so far: > > Proposals > proposed by > ===

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-31 Thread Mauro Carvalho Chehab
Em 24-07-2012 14:40, Michael Krufky escreveu: > Apologies for my late reply -- I plan to attend the conference!!! Great! > I am looking to book everything today... I think I'm going to Barcelona > as well -- will you guys go to both conferences? Didn't planned yet to be in Barcelona. Regard

Media summit/KS-2012 proposals

2012-07-31 Thread Mauro Carvalho Chehab
In order to sum-up the discussions around the media summit, this is what we've got so far: Proposals proposed by =|

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-31 Thread Mauro Carvalho Chehab
Em 21-07-2012 02:06, Guennadi Liakhovetski escreveu: > Hi Mauro > > On Tue, 17 Jul 2012, Guennadi Liakhovetski wrote: > >> Hi Mauro >> >> On Tue, 17 Jul 2012, Mauro Carvalho Chehab wrote: >> >>> As we did in 2012, we're planning to do a media summit again at KS/2012. >>> >>> The KS/2012 will happ

Re: [Workshop-2011] Media summit at the Kernel Summit - was: Fwd: Re: [Ksummit-2012-discuss] Organising Mini Summits within the Kernel Summit

2012-07-31 Thread Mauro Carvalho Chehab
Em 17-07-2012 19:46, Laurent Pinchart escreveu: > Hi Mauro, > > On Tuesday 17 July 2012 14:30:53 Mauro Carvalho Chehab wrote: >> As we did in 2012, we're planning to do a media summit again at KS/2012. > > Great news! > >> The KS/2012 will happen in San Diego, CA, US, between Aug 26-28, just bef

Re: set default protocol for TerraTec Cinergy XXS to "nec"

2012-07-31 Thread Toralf Förster
On 07/30/2012 06:13 PM, Mauro Carvalho Chehab wrote: > Em 16-07-2012 17:22, Toralf Förster escreveu: >> For a TerraTec Cinergy XXS USB stick (Bus 001 Device 008: ID 0ccd:00ab >> TerraTec Electronic GmbH ) >> I've to switch the protocol every time after plugin to get (at least few) >> keys working

Re: [PATCH 4/4] media: mx2_camera: Fix clock handling for i.MX27.

2012-07-31 Thread Sascha Hauer
Hi Guennadi, On Tue, Jul 31, 2012 at 05:14:25PM +0200, Guennadi Liakhovetski wrote: > Hi Javier > > > @@ -436,7 +436,8 @@ static void mx2_camera_deactivate(struct mx2_camera_dev > > *pcdev) > > { > > unsigned long flags; > > > > - clk_disable(pcdev->clk_csi); > > + if (cpu_is_mx27())

Re: linux-next: Tree for July 31 (media/radio-tea5777)

2012-07-31 Thread Randy Dunlap
On 07/30/2012 10:26 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20120730: > on i386: drivers/built-in.o: In function `radio_tea5777_set_freq': radio-tea5777.c:(.text+0x4d8704): undefined reference to `__udivdi3' -- ~Randy -- To unsubscribe from this list: send the line "unsubs

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Laurent Pinchart
Hi Rémi, On Tuesday 31 July 2012 16:39:00 Rémi Denis-Courmont wrote: > Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : > > > For that matter, wouldn't it be useful to support exporting a userptr > > > buffer at some point in the future? > > > > Shouldn't USERPTR usage be dis

[GIT PULL for 3.6-rc1] media updates part 2

2012-07-31 Thread Mauro Carvalho Chehab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For the second part of media patches: - radio API: add support to work with radio frequency bands; - new AM/FM radio

Re: [PATCH 4/4] media: mx2_camera: Fix clock handling for i.MX27.

2012-07-31 Thread Guennadi Liakhovetski
Hi Javier Thanks for the patch. Let me try to understand what it is doing, please, correct any my mistakes. On Thu, 26 Jul 2012, Javier Martin wrote: > This driver wasn't converted to the new clock framework > (e038ed50a4a767add205094c035b6943e7b30140). > > Signed-off-by: Javier Martin > ---

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Rémi Denis-Courmont
Le mardi 31 juillet 2012 17:03:52 Rob Clark, vous avez écrit : > On Tue, Jul 31, 2012 at 8:39 AM, Rémi Denis-Courmont wrote: > > Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : > >> > For that matter, wouldn't it be useful to support exporting a userptr > >> > buffer at some

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Rob Clark
On Tue, Jul 31, 2012 at 8:39 AM, Rémi Denis-Courmont wrote: > Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : >> > For that matter, wouldn't it be useful to support exporting a userptr >> > buffer at some point in the future? >> >> Shouldn't USERPTR usage be discouraged once

Re: [PATCH v5 0/5] Add new driver for generic scaler

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 03:44 PM, Shaik Ameer Basha wrote: > This patch adds support for the gscaler device which is a new device > for scaling and color space conversion on EXYNOS5 SoCs. > > This device supports the followings as key feature. > 1) Input image format >- RGB888/565, YUV422 1P/2P, YUV420

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Rémi Denis-Courmont
Le mardi 31 juillet 2012 14:56:14 Laurent Pinchart, vous avez écrit : > > For that matter, wouldn't it be useful to support exporting a userptr > > buffer at some point in the future? > > Shouldn't USERPTR usage be discouraged once we get dma-buf support ? USERPTR, where available, is currently t

[PATCH v5 2/5] media: gscaler: Add new driver for generic scaler

2012-07-31 Thread Shaik Ameer Basha
From: Sungchun Kang This patch adds support for G-Scaler (Generic Scaler) device which is a new device for scaling and color space conversion on EXYNOS5 SoCs. This patch adds the code for register definitions and register operations. This device supports the followings as key feature. 1) Input

[PATCH v5 1/5] v4l: Add new YVU420 multi planar fourcc definition

2012-07-31 Thread Shaik Ameer Basha
This patch adds the following new fourcc definition. For multiplanar YCrCb - V4L2_PIX_FMT_YVU420M - 'YM21' Signed-off-by: Shaik Ameer Basha --- Documentation/DocBook/media/v4l/pixfmt-yvu420m.xml | 154 Documentation/DocBook/media/v4l/pixfmt.xml |1 + inc

[PATCH v5 4/5] media: gscaler: Add m2m functionality for the G-Scaler driver

2012-07-31 Thread Shaik Ameer Basha
From: Sungchun Kang This patch adds the memory to memory (m2m) interface functionality for the G-Scaler driver. Signed-off-by: Hynwoong Kim Signed-off-by: Sungchun Kang Signed-off-by: Shaik Ameer Basha Reviewed-by: Sylwester Nawrocki --- drivers/media/video/exynos-gsc/gsc-m2m.c | 771 +

[PATCH v5 0/5] Add new driver for generic scaler

2012-07-31 Thread Shaik Ameer Basha
This patch adds support for the gscaler device which is a new device for scaling and color space conversion on EXYNOS5 SoCs. This device supports the followings as key feature. 1) Input image format - RGB888/565, YUV422 1P/2P, YUV420 2P/3P, TILE 2) Output image format - RGB888/565, YUV422

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 02:59 PM, Guennadi Liakhovetski wrote: > On Tue, 31 Jul 2012, Sylwester Nawrocki wrote: >> On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: >> But should we allow host probe() to succeed if the sensor isn't present ? > > I think we should, yes. The host hardware is the

[PATCH v5 5/5] media: gscaler: Add Makefile for G-Scaler Driver

2012-07-31 Thread Shaik Ameer Basha
This patch adds the Makefile for G-Scaler driver. Signed-off-by: Shaik Ameer Basha Reviewed-by: Sylwester Nawrocki --- drivers/media/video/Kconfig |8 drivers/media/video/Makefile|2 ++ drivers/media/video/exynos-gsc/Makefile |3 +++ 3 files changed,

[PATCH v5 3/5] media: gscaler: Add core functionality for the G-Scaler driver

2012-07-31 Thread Shaik Ameer Basha
From: Sungchun Kang This patch adds the core functionality for the G-Scaler driver. Signed-off-by: Hynwoong Kim Signed-off-by: Sungchun Kang Signed-off-by: Shaik Ameer Basha Reviewed-by: Sylwester Nawrocki --- drivers/media/video/exynos-gsc/gsc-core.c | 1254 + d

Re: "[PULL] video_visstrim for 3.6"

2012-07-31 Thread Sascha Hauer
On Tue, Jul 31, 2012 at 08:13:59AM +0200, javier Martin wrote: > On 31 July 2012 00:42, Mauro Carvalho Chehab wrote: > > Em 26-07-2012 06:36, Javier Martin escreveu: > >> Hi Mauro, > >> this pull request is composed of two series that provide support for two > >> mem2mem devices: > >> - 'm2m-dein

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Sylwester Nawrocki wrote: > On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: > But should we allow host probe() to succeed if the sensor isn't present ? > >>> > >>> I think we should, yes. The host hardware is there and functional - > >>> whether or not all or some of

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Rob Clark
On Tue, Jul 31, 2012 at 7:11 AM, Hans Verkuil wrote: >> > For that matter, wouldn't it be useful to support exporting a userptr >> > buffer >> > at some point in the future? >> >> Shouldn't USERPTR usage be discouraged once we get dma-buf support ? > > Why? It's perfectly fine to use it and it's

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 02:26 PM, Guennadi Liakhovetski wrote: But should we allow host probe() to succeed if the sensor isn't present ? >>> >>> I think we should, yes. The host hardware is there and functional - >>> whether or not all or some of the clients are failing. Theoretically >>> clients can al

Re: [RFC] media DT bindings

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 11:26:27 Guennadi Liakhovetski wrote: > > On Fri, 27 Jul 2012, Laurent Pinchart wrote: > > > Hi Sylwester, > > > > > > On Wednesday 18 July 2012 19:00:15 Sylwester Nawrocki wrote: > > > > On 07/16/2012 01:41

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Sylwester Nawrocki
On 07/31/2012 01:05 PM, Laurent Pinchart wrote: > What about CSI receivers that can reroute the lanes internally ? We > would > need to specify lane indices for each lane then, maybe with something > like > > clock-lane =<0>; > data-lanes =<2 3 1>; Sounds good

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 13:29:55 Guennadi Liakhovetski wrote: > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > > On Tuesday 31 July 2012 13:14:13 Guennadi Liakhovetski wrote: > > > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: >

Re: [PATCH v4 4/5] media: gscaler: Add m2m functionality for the G-Scaler driver

2012-07-31 Thread Hans Verkuil
On Tue 31 July 2012 14:12:32 Shaik Ameer Basha wrote: > From: Sungchun Kang > > This patch adds the memory to memory (m2m) interface functionality > for the G-Scaler driver. > > Signed-off-by: Hynwoong Kim > Signed-off-by: Sungchun Kang > Signed-off-by: Shaik Ameer Basha > Reviewed-by: Sylwes

Re: [media-ctl PATCH 1/1] libv4l2subdev: Add v4l2_subdev_enum_mbus_code()

2012-07-31 Thread Sakari Ailus
Hi Laurent, On Tue, Jul 31, 2012 at 01:38:41PM +0200, Laurent Pinchart wrote: > Thanks for the patch. Thanks for the comments! > On Tuesday 31 July 2012 01:16:00 Sakari Ailus wrote: > > v4l2_subdev_enum_mbus_code() enumerates over supported media bus formats on > > a pad. > > > > Signed-off-by:

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Hans Verkuil
On Tue 31 July 2012 13:56:14 Laurent Pinchart wrote: > Hi Hans, > > On Tuesday 31 July 2012 08:33:56 Hans Verkuil wrote: > > On Thu June 14 2012 16:32:23 Tomasz Stanislawski wrote: > > > +/** > > > + * struct v4l2_exportbuffer - export of video buffer as DMABUF file > > > descriptor + * > > > + *

Re: [RFC] media DT bindings

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 11:26:27 Guennadi Liakhovetski wrote: > On Fri, 27 Jul 2012, Laurent Pinchart wrote: > > Hi Sylwester, > > > > On Wednesday 18 July 2012 19:00:15 Sylwester Nawrocki wrote: > > > On 07/16/2012 01:41 PM, Guennadi Liakhovetski wrote: > [snip] > > > > >>> An sh-m

[PATCH v4 5/5] media: gscaler: Add Makefile for G-Scaler Driver

2012-07-31 Thread Shaik Ameer Basha
This patch adds the Makefile for G-Scaler driver. Signed-off-by: Shaik Ameer Basha Reviewed-by: Sylwester Nawrocki --- drivers/media/video/Kconfig |8 drivers/media/video/Makefile|2 ++ drivers/media/video/exynos-gsc/Makefile |3 +++ 3 files changed,

[PATCH v4 4/5] media: gscaler: Add m2m functionality for the G-Scaler driver

2012-07-31 Thread Shaik Ameer Basha
From: Sungchun Kang This patch adds the memory to memory (m2m) interface functionality for the G-Scaler driver. Signed-off-by: Hynwoong Kim Signed-off-by: Sungchun Kang Signed-off-by: Shaik Ameer Basha Reviewed-by: Sylwester Nawrocki --- drivers/media/video/exynos-gsc/gsc-m2m.c | 772 +

[PATCH v4 3/5] media: gscaler: Add core functionality for the G-Scaler driver

2012-07-31 Thread Shaik Ameer Basha
From: Sungchun Kang This patch adds the core functionality for the G-Scaler driver. Signed-off-by: Hynwoong Kim Signed-off-by: Sungchun Kang Signed-off-by: Shaik Ameer Basha Reviewed-by: Sylwester Nawrocki --- drivers/media/video/exynos-gsc/gsc-core.c | 1263 + d

[PATCH v4 2/5] media: gscaler: Add new driver for generic scaler

2012-07-31 Thread Shaik Ameer Basha
From: Sungchun Kang This patch adds support for G-Scaler (Generic Scaler) device which is a new device for scaling and color space conversion on EXYNOS5 SoCs. This patch adds the code for register definitions and register operations. This device supports the followings as key feature. 1) Input

[PATCH v4 1/5] v4l: Add new YVU420 multi planar fourcc definition

2012-07-31 Thread Shaik Ameer Basha
This patch adds the following new fourcc definition. For multiplanar YCrCb - V4L2_PIX_FMT_YVU420M - 'YM21' Signed-off-by: Shaik Ameer Basha --- Documentation/DocBook/media/v4l/pixfmt-yvu420m.xml | 154 Documentation/DocBook/media/v4l/pixfmt.xml |1 + inc

[PATCH v4 0/5] Add new driver for generic scaler

2012-07-31 Thread Shaik Ameer Basha
This patch adds support for the gscaler device which is a new device for scaling and color space conversion on EXYNOS5 SoCs. This device supports the followings as key feature. 1) Input image format - RGB888/565, YUV422 1P/2P, YUV420 2P/3P, TILE 2) Output image format - RGB888/565, YUV422

Re: [PATCHv2 3/9] v4l: add buffer exporting via dmabuf

2012-07-31 Thread Laurent Pinchart
Hi Hans, On Tuesday 31 July 2012 08:33:56 Hans Verkuil wrote: > On Thu June 14 2012 16:32:23 Tomasz Stanislawski wrote: > > This patch adds extension to V4L2 api. It allow to export a mmap buffer as > > file descriptor. New ioctl VIDIOC_EXPBUF is added. It takes a buffer > > offset used by mmap an

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 13:29:55 Guennadi Liakhovetski wrote: > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 13:14:13 Guennadi Liakhovetski wrote: > > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > > > On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovet

Re: [PATCH v7 1/2] media: add new mediabus format enums for dm365

2012-07-31 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: > On Tue 31 July 2012 13:17:50 Sakari Ailus wrote: >> Hi Hans and Laurent, >> >> On Mon, Jul 30, 2012 at 09:19:13PM +0200, Hans Verkuil wrote: ... >>> And make a new pixel format if you have hardware that doesn't use zero? I >>> think >>> it's overkill IMHO. >> >> Cou

Re: [media-ctl PATCH 1/1] libv4l2subdev: Add v4l2_subdev_enum_mbus_code()

2012-07-31 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Tuesday 31 July 2012 01:16:00 Sakari Ailus wrote: > v4l2_subdev_enum_mbus_code() enumerates over supported media bus formats on > a pad. > > Signed-off-by: Sakari Ailus > --- > src/v4l2subdev.c | 23 +++ > src/v4l2subdev.h | 14 ++

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 13:14:13 Guennadi Liakhovetski wrote: > > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > > On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovetski wrote: > > > > On Thu, 26 Jul 2012, Laurent Pinchart wrote: >

Re: [PATCH v7 1/2] media: add new mediabus format enums for dm365

2012-07-31 Thread Hans Verkuil
On Tue 31 July 2012 13:17:50 Sakari Ailus wrote: > Hi Hans and Laurent, > > On Mon, Jul 30, 2012 at 09:19:13PM +0200, Hans Verkuil wrote: > > On Mon July 30 2012 21:06:33 Laurent Pinchart wrote: > > > Hi Hans, > > > > > > On Monday 30 July 2012 20:36:36 Hans Verkuil wrote: > > > > On Sat July 28

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 13:14:13 Guennadi Liakhovetski wrote: > On Tue, 31 Jul 2012, Laurent Pinchart wrote: > > On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovetski wrote: > > > On Thu, 26 Jul 2012, Laurent Pinchart wrote: > > > > On Wednesday 18 July 2012 11:18:33 Sylwester Nawroc

Re: [PATCH v7 1/2] media: add new mediabus format enums for dm365

2012-07-31 Thread Sakari Ailus
Hi Hans and Laurent, On Mon, Jul 30, 2012 at 09:19:13PM +0200, Hans Verkuil wrote: > On Mon July 30 2012 21:06:33 Laurent Pinchart wrote: > > Hi Hans, > > > > On Monday 30 July 2012 20:36:36 Hans Verkuil wrote: > > > On Sat July 28 2012 00:01:24 Sakari Ailus wrote: > > > > On Fri, Jul 27, 2012 at

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Laurent Pinchart wrote: > Hi Guennadi, > > On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovetski wrote: > > On Thu, 26 Jul 2012, Laurent Pinchart wrote: > > > On Wednesday 18 July 2012 11:18:33 Sylwester Nawrocki wrote: > > > > On 07/16/2012 11:42 AM, Guennadi Liakhovetski w

Re: "[PULL] video_visstrim for 3.6"

2012-07-31 Thread javier Martin
Hi Mauro, just in case Sascha's ACK doesn't make it on time. Could you just merge the following patches and drop the rest? . media: coda: Add driver for Coda video codec. media: Add mem2mem deinterlacing driver. We did a great effort to push Coda driver for 3.6 and it would be a pity

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 12:58:50 Guennadi Liakhovetski wrote: > On Fri, 27 Jul 2012, Laurent Pinchart wrote: > > On Thursday 26 July 2012 21:51:30 Sylwester Nawrocki wrote: > > > On 07/26/2012 04:38 PM, Laurent Pinchart wrote: > > > --- /dev/null > > > +++ b/Documentation/de

Re: [RFC/PATCH 02/13] media: s5p-csis: Add device tree support

2012-07-31 Thread Guennadi Liakhovetski
On Fri, 27 Jul 2012, Laurent Pinchart wrote: > Hi Sylwester, > > On Thursday 26 July 2012 21:51:30 Sylwester Nawrocki wrote: > > On 07/26/2012 04:38 PM, Laurent Pinchart wrote: > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/video/mipi.txt > > @@ -0,0 +1,5 @@ > >

Re: [RFC/PATCH 09/13] media: s5k6aa: Add support for device tree based instantiation

2012-07-31 Thread Laurent Pinchart
Hi Guennadi, On Tuesday 31 July 2012 11:56:44 Guennadi Liakhovetski wrote: > On Thu, 26 Jul 2012, Laurent Pinchart wrote: > > On Wednesday 18 July 2012 11:18:33 Sylwester Nawrocki wrote: > > > On 07/16/2012 11:42 AM, Guennadi Liakhovetski wrote: > > > > On Fri, 25 May 2012, Sylwester Nawrocki wrot

RE: [PATCH] media: mx3_camera: buf_init() add buffer state check

2012-07-31 Thread Guennadi Liakhovetski
On Tue, 31 Jul 2012, Alex Gershgorin wrote: > Hi Guennadi, > > > On Mon, 30 Jul 2012, Alex Gershgorin wrote: > > > This patch check the state of the buffer when calling buf_init() method. > > The thread > > http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/48587 > > also in

[PATCH] [media] iguanair: various fixes

2012-07-31 Thread Sean Young
This fixes: - rx_overflow while holding down any down button on a nec remote - suspend/resume - stop receiver on rmmod - advertise rx_resolution and timeout properly - code simplify - ignore unsupported firmware versions Signed-off-by: Sean Young --- drivers/media/rc/Kconfig| 8 +- d

[PATCH] [media] winbond-cir: Fix initialization

2012-07-31 Thread Sean Young
The serial driver will detect the winbond cir device as a serial port, since it looks exactly like a serial port unless you know what it is from the PNP ID. Winbond CIR 00:04: Region 0x2f8-0x2ff already in use! Winbond CIR 00:04: disabled Winbond CIR: probe of 00:04 failed with error -16 Signed-o

[PATCH] [media] nec-decoder: fix NEC decoding for Pioneer Laserdisc CU-700 remote

2012-07-31 Thread Sean Young
This remote sends a header pulse of 8150us followed by a space of 4000us. Signed-off-by: Sean Young --- drivers/media/rc/ir-nec-decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/rc/ir-nec-decoder.c b/drivers/media/rc/ir-nec-decoder.c index 3c9431a..

  1   2   >