[PATCH] DVB-S2 multistream support

2012-07-13 Thread CrazyCat
Now present DTV_DVBT2_PLP_ID property for DVB-T2, so i add alias DTV_DVBS2_MIS_ID (same feature for advanced DVB-S2). Now DVB-S2 multistream filtration supported for current STV090x demod cut 3.0, so i implement support for stv090x demod driver. Additional fe-caps FE_CAN_MULTISTREAM also added.

[PATCH]DVB-S2 multistream support

2012-07-13 Thread CrazyCat
Now present DTV_DVBT2_PLP_ID property for DVB-T2, so i add alias DTV_DVBS2_MIS_ID (same feature for advanced DVB-S2). Now DVB-S2 multistream filtration supported for current STV090x demod cut 3.0, so i implement support for stv090x demod driver. Additional fe-caps FE_CAN_MULTISTREAM also added.

Re: [RFC] dma-fence: dma-buf synchronization (v2)

2012-07-13 Thread Rob Clark
On Fri, Jul 13, 2012 at 4:44 PM, Maarten Lankhorst wrote: > Hey, > > Op 13-07-12 20:52, Rob Clark schreef: >> On Fri, Jul 13, 2012 at 12:35 PM, Tom Cooksey wrote: >>> My other thought is around atomicity. Could this be extended to >>> (safely) allow for hardware devices which might want to access

Re: [RFC] dma-fence: dma-buf synchronization (v2)

2012-07-13 Thread Maarten Lankhorst
Hey, Op 13-07-12 20:52, Rob Clark schreef: > On Fri, Jul 13, 2012 at 12:35 PM, Tom Cooksey wrote: >> My other thought is around atomicity. Could this be extended to >> (safely) allow for hardware devices which might want to access >> multiple buffers simultaneously? I think it probably can with >

Re: [media] drivers:media:radio: wl128x: FM Driver Common sources

2012-07-13 Thread halli manjunatha
On Fri, Jul 13, 2012 at 3:36 PM, Dan Carpenter wrote: > On Fri, Jul 13, 2012 at 01:17:11PM -0500, halli manjunatha wrote: >> On Fri, Jul 13, 2012 at 6:51 AM, Dan Carpenter >> wrote: >> > >> > Hello Manjunatha Halli, >> > >> > The patch e8454ff7b9a4: "[media] drivers:media:radio: wl128x: FM >> >

Re: [media] drivers:media:radio: wl128x: FM Driver Common sources

2012-07-13 Thread Dan Carpenter
On Fri, Jul 13, 2012 at 01:17:11PM -0500, halli manjunatha wrote: > On Fri, Jul 13, 2012 at 6:51 AM, Dan Carpenter > wrote: > > > > Hello Manjunatha Halli, > > > > The patch e8454ff7b9a4: "[media] drivers:media:radio: wl128x: FM > > Driver Common sources" from Jan 11, 2011, leads to the following

cron job: media_tree daily build: ERRORS

2012-07-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:Fri Jul 13 19:00:20 CEST 2012 git hash:b7e386360922a15f943b2fbe8d77a19bb86f2e6f gcc version: i686-linux-gcc (GC

Re: [RFC] dma-fence: dma-buf synchronization (v2)

2012-07-13 Thread Rob Clark
On Fri, Jul 13, 2012 at 12:35 PM, Tom Cooksey wrote: > My other thought is around atomicity. Could this be extended to > (safely) allow for hardware devices which might want to access > multiple buffers simultaneously? I think it probably can with > some tweaks to the interface? An atomic function

Re: [media] drivers:media:radio: wl128x: FM Driver Common sources

2012-07-13 Thread halli manjunatha
On Fri, Jul 13, 2012 at 6:51 AM, Dan Carpenter wrote: > > Hello Manjunatha Halli, > > The patch e8454ff7b9a4: "[media] drivers:media:radio: wl128x: FM > Driver Common sources" from Jan 11, 2011, leads to the following > warning: > drivers/media/radio/wl128x/fmdrv_common.c:596 > fm_irq_handle_flag_

[RFC] dma-fence: dma-buf synchronization (v2)

2012-07-13 Thread Rob Clark
From: Rob Clark A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU

Re: calculate maximum packet size of endpoint

2012-07-13 Thread Laurent Pinchart
Hi Tony, On Friday 13 July 2012 16:41:13 Tony. Nie wrote: > Hi ALL, > > I just found that Realtek's USB3.0 camera RTS5825 cannot work on usb3.0 > mode, and find a issue in UVC driver. > > USB group had changed the means of wMaxPacketSize of endpoint descriptor > from USB2.0 to USB3.0, Please ref

Re: [RFC] media DT bindings

2012-07-13 Thread Sylwester Nawrocki
Hi, Cc: devicetree-dissc...@lists.ozlabs.org On 07/11/2012 04:27 PM, Guennadi Liakhovetski wrote: > Hi all > > Background > == > > With ARM adoption of flat Device Trees a need arises to move platform > device descriptions and their data from platform files to DT. This has > also to be

Re: GPIO interface between DVB sub-drivers (bridge, demod, tuner)

2012-07-13 Thread Steven Toth
> There is set_property() and get_property() callbacks defined for FE already. > But those are not used. My opinion is that those callbacks should be changed > to deliver data for demodulator and for tuner too instead of current method > - which is common huge properties cache structure shared betw

Re: [PATCH v3 0/6] omap3isp: preview: Add support for non-GRBG Bayer patterns

2012-07-13 Thread Sakari Ailus
Laurent Pinchart wrote: > Hi everybody, > > Here's the third version of the non-GRBG Bayer patterns support for the OMAP3 > ISP preview engine. Compared to v2, the OMAP3ISP_PREV_GAMMABYPASS has been > removed and the CFA table is now stored in a multi-dimensional array. > > Laurent Pinchart (6):

Re: [PATCH] omap3isp: preview: Fix output size computation depending on input format

2012-07-13 Thread Sakari Ailus
Laurent Pinchart wrote: > The preview engine crops 4 columns and 4 lines when CFA is enabled. > Commit b2da46e52fe7871cba36e1a435844502c0eccf39 ("omap3isp: preview: Add > support for greyscale input") inverted the condition by mistake, fix > this. > > Reported-by: Florian Neuhaus > Signed-off-by:

re: [media] drivers:media:radio: wl128x: FM Driver Common sources

2012-07-13 Thread Dan Carpenter
Hello Manjunatha Halli, The patch e8454ff7b9a4: "[media] drivers:media:radio: wl128x: FM Driver Common sources" from Jan 11, 2011, leads to the following warning: drivers/media/radio/wl128x/fmdrv_common.c:596 fm_irq_handle_flag_getcmd_resp() error: untrusted 'fm_evt_hdr->dlen' is not capp

[PATCH v3 5/6] omap3isp: preview: Merge gamma correction and gamma bypass

2012-07-13 Thread Laurent Pinchart
Enabling gamma bypass disables gamma correction and vice versa. Merge the two parameters. Signed-off-by: Laurent Pinchart --- drivers/media/video/omap3isp/isppreview.c | 44 ++-- include/linux/omap3isp.h |2 +- 2 files changed, 23 insertions(+), 23

[PATCH v3 6/6] omap3isp: preview: Add support for non-GRBG Bayer patterns

2012-07-13 Thread Laurent Pinchart
Rearrange the CFA interpolation coefficients table based on the Bayer pattern. Support for non-Bayer CFA patterns is dropped as they were not correctly supported, and have never been tested. Signed-off-by: Laurent Pinchart --- drivers/media/video/omap3isp/cfa_coef_table.h | 16 ++-- drivers/me

[PATCH v3 4/6] omap3isp: preview: Reorder configuration functions

2012-07-13 Thread Laurent Pinchart
Reorder the configuration and enable functions to match the parameters order. Signed-off-by: Laurent Pinchart --- drivers/media/video/omap3isp/isppreview.c | 452 ++-- 1 files changed, 226 insertions(+), 226 deletions(-) diff --git a/drivers/media/video/omap3isp/ispprev

[PATCH v3 2/6] omap3isp: preview: Remove lens shading compensation support

2012-07-13 Thread Laurent Pinchart
The feature isn't fully implemented and doesn't work, remove it. Signed-off-by: Laurent Pinchart --- drivers/media/video/omap3isp/isppreview.c | 18 +- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/drivers/media/video/omap3isp/isppreview.c b/drivers/media/vid

[PATCH v3 3/6] omap3isp: preview: Pass a prev_params pointer to configuration functions

2012-07-13 Thread Laurent Pinchart
Instead of using void pointers and offset arithmetics to compute a pointer to configuration parameters in a generic way, pass the complete parameters structure to configuration functions and let them access the parameters they need. Also modify the enable functions to use a bool enable parameter i

[PATCH v3 1/6] omap3isp: preview: Fix contrast and brightness handling

2012-07-13 Thread Laurent Pinchart
Commit bac387efbb88cf0e8df6f46a38387897cea464ee ("omap3isp: preview: Simplify configuration parameters access") added three fields to the preview_update structure, but failed to properly update the related initializers. Fix this. Signed-off-by: Laurent Pinchart --- drivers/media/video/omap3isp/i

[PATCH v3 0/6] omap3isp: preview: Add support for non-GRBG Bayer patterns

2012-07-13 Thread Laurent Pinchart
Hi everybody, Here's the third version of the non-GRBG Bayer patterns support for the OMAP3 ISP preview engine. Compared to v2, the OMAP3ISP_PREV_GAMMABYPASS has been removed and the CFA table is now stored in a multi-dimensional array. Laurent Pinchart (6): omap3isp: preview: Fix contrast and

Re: OMAP4 support

2012-07-13 Thread Gary Thomas
On 2012-07-13 04:24, Gary Thomas wrote: On 2012-07-12 20:30, Sergio Aguirre wrote: Hi Gary, On Tue, Jul 10, 2012 at 2:31 PM, Gary Thomas wrote: On 2012-07-10 11:05, Chris Lalancette wrote: On Tue, Jul 10, 2012 at 9:41 AM, Gary Thomas wrote: I'm looking for video support on OMAP4 platform

Re: [PATCH v2 6/6] omap3isp: preview: Add support for non-GRBG Bayer patterns

2012-07-13 Thread Laurent Pinchart
Hi Sakari, Thanks for the review. On Friday 13 July 2012 13:12:27 Sakari Ailus wrote: > Laurent Pinchart wrote: > > Rearrange the CFA interpolation coefficients table based on the Bayer > > pattern. Support for non-Bayer CFA patterns is dropped as they were not > > correctly supported, and have n

Re: OMAP4 support

2012-07-13 Thread Gary Thomas
On 2012-07-12 20:30, Sergio Aguirre wrote: Hi Gary, On Tue, Jul 10, 2012 at 2:31 PM, Gary Thomas wrote: On 2012-07-10 11:05, Chris Lalancette wrote: On Tue, Jul 10, 2012 at 9:41 AM, Gary Thomas wrote: I'm looking for video support on OMAP4 platforms. I've found the PandaBoard camera proj

Re: [PATCH v2 6/6] omap3isp: preview: Add support for non-GRBG Bayer patterns

2012-07-13 Thread Sakari Ailus
Hi Laurent, Thanks for the patch. Laurent Pinchart wrote: > Rearrange the CFA interpolation coefficients table based on the Bayer > pattern. Support for non-Bayer CFA patterns is dropped as they were not > correctly supported, and have never been tested. > > Signed-off-by: Laurent Pinchart > --

Re: [Ksummit-2012-discuss] Device-tree cross-subsystem binding workshop [was Media system Summit]

2012-07-13 Thread Mark Brown
On Thu, Jul 12, 2012 at 09:55:07PM -0500, Rob Herring wrote: > Perhaps part of the issue is we're trying to put too much into DT? I think this is definitely part of it, at times it feels like people have a shiny new toy so we're jumping into device tree really quickly for things that perhaps don'

Re: [Ksummit-2012-discuss] Device-tree cross-subsystem binding workshop [was Media system Summit]

2012-07-13 Thread Mark Brown
On Thu, Jul 12, 2012 at 06:20:27PM -0700, Olof Johansson wrote: > On Thu, Jul 12, 2012 at 12:03 PM, Hans Verkuil wrote: > > I'm not so sure: I think that most decisions that need to be made are > > quite subsystem specific. Trying to figure out how to implement DT for > > multiple subsystems in o

Re: [PATCH v2 5/6] omap3isp: preview: Merge gamma correction and gamma bypass

2012-07-13 Thread Laurent Pinchart
Hi Sakari, On Friday 13 July 2012 12:51:36 Sakari Ailus wrote: > Laurent Pinchart wrote: > ... > > > @@ -817,7 +817,7 @@ static const struct preview_update update_attrs[] = { > > offsetof(struct omap3isp_prev_update_config, dcor), > > }, /* OMAP3ISP_PREV_GAMMABYPASS */ { > >

Re: [PATCH v2 5/6] omap3isp: preview: Merge gamma correction and gamma bypass

2012-07-13 Thread Sakari Ailus
Hi Laurent, Thanks for the patches. Laurent Pinchart wrote: ... > @@ -817,7 +817,7 @@ static const struct preview_update update_attrs[] = { > offsetof(struct omap3isp_prev_update_config, dcor), > }, /* OMAP3ISP_PREV_GAMMABYPASS */ { > NULL, > - previe