[PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-22 Thread Javier Martin
Changes since v1: - Embed queue data in ctx structure to allow multi instance. - Remove redundant job_ready callback. - Adjust format against device capabilities. - Register/unregister video device at the right time. - Other minor coding fixes. Signed-off-by: Javier Martin --- drivers/media/vide

Re: [PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-22 Thread Sylwester Nawrocki
On 11/22/2011 01:01 PM, Javier Martin wrote: > Changes since v1: > - Embed queue data in ctx structure to allow multi instance. > - Remove redundant job_ready callback. > - Adjust format against device capabilities. > - Register/unregister video device at the right time. > - Other minor coding fixe

Re: [PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-22 Thread Sascha Hauer
Hi Javier, On Tue, Nov 22, 2011 at 01:01:56PM +0100, Javier Martin wrote: > Changes since v1: > - Embed queue data in ctx structure to allow multi instance. > - Remove redundant job_ready callback. > - Adjust format against device capabilities. > - Register/unregister video device at the right tim

Re: [PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-23 Thread javier Martin
Hi Sascha and Sylwester, you comments are very appreciated. I will send an v3 version solving all the issues you mentioned. Regards -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com

Re: [PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-23 Thread javier Martin
Hi Sascha, I was just trying to fix the issues you pointed previously and I have a question for you. On 22 November 2011 21:55, Sascha Hauer wrote: > Hi Javier, >> + >> +static int emmaprp_probe(struct platform_device *pdev) >> +{ >> +     struct emmaprp_dev *pcdev; >> +     struct video_device *

Re: [PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-23 Thread Fabio Estevam
On Tue, Nov 22, 2011 at 10:01 AM, Javier Martin wrote: > +/* In bytes, per queue */ > +#define MEM2MEM_VID_MEM_LIMIT  (16 * SZ_1M) You could use SZ_16M instead. Regards, Fabio Estevam -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord..

Re: [PATCH v2 2/2] MEM2MEM: Add support for eMMa-PrP mem2mem operations.

2011-11-23 Thread Sascha Hauer
On Wed, Nov 23, 2011 at 01:32:29PM +0100, javier Martin wrote: > Hi Sascha, > I was just trying to fix the issues you pointed previously and I have > a question for you. > > On 22 November 2011 21:55, Sascha Hauer wrote: > > Hi Javier, > >> + > >> +static int emmaprp_probe(struct platform_device