[PATCH] v4l: Add V4L2_PIX_FMT_NV24 and V4L2_PIX_FMT_NV42 formats

2011-08-19 Thread Laurent Pinchart
NV24 and NV42 are planar YCbCr 4:4:4 and YCrCb 4:4:4 formats with a luma plane followed by an interleaved chroma plane. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/pixfmt-nv24.xml | 128 +++

Re: Record DVB-T from command line

2011-08-19 Thread shacky
One question. What if I need to record two channels in the same multiplex in the same time? Gnutv does not let me it, because the second recording command returns me that the device is busy, but I know this is possible (I know a Windows program - TV Scheduler Pro - that make it. Could you help me

image capturing on i.mx27 with gstreamer

2011-08-19 Thread Jan Pohanka
Hi all, I'm playing with i.mx27 processor by Freescale, namely with ipcam reference design. There is unfortunately no support available for this hw this time so I have adapted a kernel from Pengutronix Oselas distribution (available here

Re: Image and webcam freeze on Ubuntu with Logitech QuickCam Communicate STX

2011-08-19 Thread Jean-Francois Moine
On Thu, 18 Aug 2011 12:31:51 +0200 Damien Cassou damien.cas...@gmail.com wrote: my Logitech QuickCam Communicate STX works perfectly well for a few minutes when I use it. However, after that the image is frozen and I can't make it work again until I reboot the system (before rebooting, the

[PATCH/RFC v2 0/3] fbdev: Add FOURCC-based format configuration API

2011-08-19 Thread Laurent Pinchart
Hi everybody, Here's the second version of the fbdev FOURCC-based format configuration API. Compared to the previous version, I've removed the FB_VMODE_FOURCC bit (FOURCC mode is now selected by a grayscale value 1), reorganized the union in the fb_var_screeninfo structure, and added a

[PATCH/RFC v2 1/3] fbdev: Add FOURCC-based format configuration API

2011-08-19 Thread Laurent Pinchart
This API will be used to support YUV frame buffer formats in a standard way. Last but not least, create a much needed fbdev API documentation and document the format setting APIs. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/fb/api.txt | 299

[PATCH/RFC v2 2/3] v4l: Add V4L2_PIX_FMT_NV24 and V4L2_PIX_FMT_NV42 formats

2011-08-19 Thread Laurent Pinchart
NV24 and NV42 are planar YCbCr 4:4:4 and YCrCb 4:4:4 formats with a luma plane followed by an interleaved chroma plane. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/DocBook/media/v4l/pixfmt-nv24.xml | 128 +++

[PATCH/RFC v2 3/3] fbdev: sh_mobile_lcdc: Support FOURCC-based format API

2011-08-19 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- arch/arm/mach-shmobile/board-ag5evm.c |2 +- arch/arm/mach-shmobile/board-ap4evb.c |4 +- arch/arm/mach-shmobile/board-mackerel.c |4 +- drivers/video/sh_mobile_lcdcfb.c| 342

Re: [beagleboard] Re: [PATCH v7 1/2] Add driver for Aptina (Micron) mt9p031 sensor.

2011-08-19 Thread Laurent Pinchart
Hi, On Friday 19 August 2011 04:13:23 CJ wrote: Hi, I am trying to get the mt9p031 working from nand with a ubifs file system and I am having a few problems. /dev/media0 is not present unless I run: #mknod /dev/media0 c 251 0 #chown root:video /dev/media0 #media-ctl -p Enumerating

RE: RFC: Negotiating frame buffer size between sensor subdevs and bridge devices

2011-08-19 Thread Sylwester Nawrocki
Hi Sakari, On 08/18/2011 10:32 PM, Sakari Ailus wrote: In order to let the host drivers query or configure subdevs with required frame buffer size one of the following changes could be done at V4L2 API: 1. Add a 'sizeimage' field in struct v4l2_mbus_framefmt and make subdev drivers

[PATCHv2] ISP:BUILD:FIX: Move media_entity_init() and

2011-08-19 Thread Deepthy Ravi
From: Vaibhav Hiremath hvaib...@ti.com Fix the build break caused when CONFIG_MEDIA_CONTROLLER option is disabled and if any sensor driver has to be used between MC and non MC framework compatible devices. For example,if tvp514x video decoder driver migrated to MC framework is being built

[PATCH 2/8] mm: alloc_contig_freed_pages() added

2011-08-19 Thread Marek Szyprowski
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com This commit introduces alloc_contig_freed_pages() function which allocates (ie. removes from buddy system) free pages in range. Caller has to guarantee that all pages in range are in buddy system. Along with this function, a

[PATCH 5/8] mm: MIGRATE_CMA isolation functions added

2011-08-19 Thread Marek Szyprowski
From: Michal Nazarewicz m.nazarew...@samsung.com This commit changes various functions that change pages and pageblocks migrate type between MIGRATE_ISOLATE and MIGRATE_MOVABLE in such a way as to allow to work with MIGRATE_CMA migrate type. Signed-off-by: Michal Nazarewicz

[PATCH 3/8] mm: alloc_contig_range() added

2011-08-19 Thread Marek Szyprowski
From: Michal Nazarewicz m.nazarew...@samsung.com This commit adds the alloc_contig_range() function which tries to allecate given range of pages. It tries to migrate all already allocated pages that fall in the range thus freeing them. Once all pages in the range are freed they are removed from

[PATCH 6/8] drivers: add Contiguous Memory Allocator

2011-08-19 Thread Marek Szyprowski
The Contiguous Memory Allocator is a set of helper functions for DMA mapping framework that improves allocations of contiguous memory chunks. CMA grabs memory on system boot, marks it with CMA_MIGRATE_TYPE and gives back to the system. Kernel is allowed to allocate movable pages within CMA's

[PATCH 7/8] ARM: integrate CMA with DMA-mapping subsystem

2011-08-19 Thread Marek Szyprowski
This patch adds support for CMA to dma-mapping subsystem for ARM architecture. By default a global CMA area is used, but specific devices are allowed to have their private memory areas if required (they can be created with dma_declare_contiguous() function during board initialization). Contiguous

[PATCH 8/8] ARM: S5PV210: example of CMA private area for FIMC device on Goni board

2011-08-19 Thread Marek Szyprowski
This patch is an example how device private CMA area can be activated. It creates one CMA region and assigns it to the first s5p-fimc device on Samsung Goni S5PC110 board. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 4/8] mm: MIGRATE_CMA migration type added

2011-08-19 Thread Marek Szyprowski
From: Michal Nazarewicz m.nazarew...@samsung.com The MIGRATE_CMA migration type has two main characteristics: (i) only movable pages can be allocated from MIGRATE_CMA pageblocks and (ii) page allocator will never change migration type of MIGRATE_CMA pageblocks. This guarantees that page in a

[PATCHv15 0/8] Contiguous Memory Allocator

2011-08-19 Thread Marek Szyprowski
Hello again, This is yet another round of Contiguous Memory Allocator patches. Now I implemented all the ideas that has been discussed during Linaro Sprint meeting. This version provides a solution for complete integration of CMA to DMA mapping subsystem on ARM architecture. The issue caused by

[PATCH 1/8] mm: move some functions from memory_hotplug.c to page_isolation.c

2011-08-19 Thread Marek Szyprowski
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com Memory hotplug is a logic for making pages unused in the specified range of pfn. So, some of core logics can be used for other purpose as allocating a very large contigous memory block. This patch moves some functions from

Re: Afatech AF9013

2011-08-19 Thread Josu Lazkano
2011/8/17 Antti Palosaari cr...@iki.fi: On 08/17/2011 10:36 AM, Josu Lazkano wrote: I don't know how wide is the stream, but it could be a USB wide limitation. My board is a little ION based and I have some USB devices: $ lsusb Bus 001 Device 002: ID 1b80:e399 Afatech Bus 001 Device 001: ID

Re: [PATCHv2] adp1653: make -power() method optional

2011-08-19 Thread Sakari Ailus
Sylwester Nawrocki wrote: On 08/18/2011 09:02 PM, Sakari Ailus wrote: He-h, I guess you are not going to apply this one. The patch breaks init logic of the device. If we have no -power(), we still need to bring the device to the known state. I have no good idea how to do this. I don't

Re: [PATCH] [media] vp7045: fix buffer setup

2011-08-19 Thread Florian Mickler
On Wed, 10 Aug 2011 12:05:20 +0200 Florian Mickler flor...@mickler.org wrote: dvb_usb_device_init calls the frontend_attach method of this driver which uses vp7045_usb_ob. In order to have a buffer ready in vp7045_usb_op, it has to be allocated before that happens. Luckily we can use the

Re: image capturing on i.mx27 with gstreamer

2011-08-19 Thread Fabio Estevam
Jan, On Fri, Aug 19, 2011 at 4:05 AM, Jan Pohanka xhpoha...@gmail.com wrote: ... However, there is also an issue with resolution. This works up to 640x480. For example for 800x600 i'm getting this error message WARNING: erroneous pipeline: could not link ffmpegcsp0 to mfwgstvpu_enc0 MX27 can

Re: image capturing on i.mx27 with gstreamer

2011-08-19 Thread Fabio Estevam
On Fri, Aug 19, 2011 at 4:05 AM, Jan Pohanka xhpoha...@gmail.com wrote: Hi all, I'm playing with i.mx27 processor by Freescale, namely with ipcam reference design. There is unfortunately no support available for this hw this time so I have adapted a kernel from Pengutronix Oselas distribution

[cron job] v4l-dvb daily build: WARNINGS

2011-08-19 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Fri Aug 19 19:00:30 CEST 2011 git hash:9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e gcc version: i686-linux-gcc (GCC)

Re: [PATCHv2] adp1653: make -power() method optional

2011-08-19 Thread Sakari Ailus
On Fri, Aug 19, 2011 at 07:16:59PM +0300, Sakari Ailus wrote: [clip] I'm afraid your requirements are too demanding :) Yes, I meant creating a new regulator. In case the ADP1635 voltage regulator is inhibited through a GPIO at a host processor such regulator would in fact be only flipping

Re: [PATCHv2] adp1653: make -power() method optional

2011-08-19 Thread Sylwester Nawrocki
On 08/19/2011 06:16 PM, Sakari Ailus wrote: Sylwester Nawrocki wrote: On 08/18/2011 09:02 PM, Sakari Ailus wrote: He-h, I guess you are not going to apply this one. The patch breaks init logic of the device. If we have no -power(), we still need to bring the device to the known state. I have

Re: [PATCH] v4l: Add V4L2_PIX_FMT_NV24 and V4L2_PIX_FMT_NV42 formats

2011-08-19 Thread Sakari Ailus
Hi Laurent, Thanks for the patch. On Fri, Aug 19, 2011 at 08:14:20AM +0200, Laurent Pinchart wrote: NV24 and NV42 are planar YCbCr 4:4:4 and YCrCb 4:4:4 formats with a luma plane followed by an interleaved chroma plane. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---