Re: [PATCH v4 3/4] media i.MX27 camera: improve discard buffer handling.

2012-02-10 Thread javier Martin
Hi Guennadi, On 9 February 2012 23:36, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Javier On Thu, 9 Feb 2012, javier Martin wrote: Hi Guennadi, I understand you are probably quite busy right now but it would be great if you could ack this patch. The sooner you merge it the sooner

Re: [PATCH v4 3/4] media i.MX27 camera: improve discard buffer handling.

2012-02-10 Thread Guennadi Liakhovetski
Hi Javier On Fri, 10 Feb 2012, javier Martin wrote: [snip] I'd rather you merge this as it is, because it really fixes a driver which is currently buggy. I'll send a clean up series adressing the following issues next week: 1. Eliminate the unwanted goto. 2. Use list_first_entry() macro.

Re: [Q] Interleaved formats on the media bus

2012-02-10 Thread Guennadi Liakhovetski
...thinking about this interleaved data, is there anything else left, that the following scheme would be failing to describe: * The data is sent in repeated blocks (periods) * Each block can be fully described by a list of format specifiers, each containing ** data format code ** number of

Re: [Q] Interleaved formats on the media bus

2012-02-10 Thread Sylwester Nawrocki
On 02/10/2012 09:42 AM, Guennadi Liakhovetski wrote: ...thinking about this interleaved data, is there anything else left, that the following scheme would be failing to describe: * The data is sent in repeated blocks (periods) The data is sent in irregular chunks of varying size (few

Re: [Q] Interleaved formats on the media bus

2012-02-10 Thread Sylwester Nawrocki
On 02/10/2012 11:19 AM, Sylwester Nawrocki wrote: On 02/10/2012 09:42 AM, Guennadi Liakhovetski wrote: Even if we somehow find a way to describe the frame on media bus, using a set of properties, it would be difficult to pass this information to user space. A similar description would have to

Re: [Q] Interleaved formats on the media bus

2012-02-10 Thread Guennadi Liakhovetski
On Fri, 10 Feb 2012, Sylwester Nawrocki wrote: On 02/10/2012 09:42 AM, Guennadi Liakhovetski wrote: ...thinking about this interleaved data, is there anything else left, that the following scheme would be failing to describe: * The data is sent in repeated blocks (periods) The data

Re: [Q] Interleaved formats on the media bus

2012-02-10 Thread Sylwester Nawrocki
On 02/10/2012 11:33 AM, Guennadi Liakhovetski wrote: On Fri, 10 Feb 2012, Sylwester Nawrocki wrote: On 02/10/2012 09:42 AM, Guennadi Liakhovetski wrote: ...thinking about this interleaved data, is there anything else left, that the following scheme would be failing to describe: * The data

Re: [Q] Interleaved formats on the media bus

2012-02-10 Thread Guennadi Liakhovetski
On Fri, 10 Feb 2012, Sylwester Nawrocki wrote: On 02/10/2012 11:33 AM, Guennadi Liakhovetski wrote: On Fri, 10 Feb 2012, Sylwester Nawrocki wrote: On 02/10/2012 09:42 AM, Guennadi Liakhovetski wrote: ...thinking about this interleaved data, is there anything else left, that the

Re: [PATCH 11/15] mm: trigger page reclaim in alloc_contig_range() to stabilize watermarks

2012-02-10 Thread Mel Gorman
On Wed, Feb 08, 2012 at 04:14:46PM +0100, Marek Szyprowski wrote: SNIP +static int __reclaim_pages(struct zone *zone, gfp_t gfp_mask, int count) +{ + enum zone_type high_zoneidx = gfp_zone(gfp_mask); + struct zonelist *zonelist = node_zonelist(0, gfp_mask); + int

Re: [Q] Interleaved formats on the media bus

2012-02-10 Thread Sylwester Nawrocki
On 02/10/2012 12:15 PM, Guennadi Liakhovetski wrote: On 02/10/2012 09:42 AM, Guennadi Liakhovetski wrote: ...thinking about this interleaved data, is there anything else left, that the following scheme would be failing to describe: * The data is sent in repeated blocks (periods) The data

Re: [Q] Interleaved formats on the media bus

2012-02-10 Thread Guennadi Liakhovetski
On Fri, 10 Feb 2012, Sylwester Nawrocki wrote: On 02/10/2012 12:15 PM, Guennadi Liakhovetski wrote: On 02/10/2012 09:42 AM, Guennadi Liakhovetski wrote: ...thinking about this interleaved data, is there anything else left, that the following scheme would be failing to describe: *

[PATCH] s5p-g2d: Added support for clk_prepare

2012-02-10 Thread Kamil Debski
Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/video/s5p-g2d/g2d.c | 22 -- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git

[PATCH] s5p-g2d: Added locking for writing control values to registers

2012-02-10 Thread Kamil Debski
While at it I have removed an unused default case (control fw takes care of that). Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/video/s5p-g2d/g2d.c | 14

[PATCH] s5p-mfc: Added support for clk_prepare

2012-02-10 Thread Kamil Debski
Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/video/s5p-mfc/s5p_mfc_pm.c | 24 ++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff

[PATCH] mt2063: remove mt2063_setTune from header

2012-02-10 Thread Danny Kukawka
Commit 99ac54125490f16f7434f82fcb73bbb88290b38e removed the function mt2063_setTune() from mt2063.c. Remove it also from the header file. Signed-off-by: Danny Kukawka danny.kuka...@bisect.de --- drivers/media/common/tuners/mt2063.h |4 1 files changed, 0 insertions(+), 4 deletions(-)

RE: [PATCH 11/15] mm: trigger page reclaim in alloc_contig_range() to stabilize watermarks

2012-02-10 Thread Marek Szyprowski
Hello, On Friday, February 10, 2012 12:19 PM Mel Gorman wrote: On Wed, Feb 08, 2012 at 04:14:46PM +0100, Marek Szyprowski wrote: SNIP +static int __reclaim_pages(struct zone *zone, gfp_t gfp_mask, int count) +{ + enum zone_type high_zoneidx = gfp_zone(gfp_mask); +

RE: OV2640 and iMX25PDK - help needed

2012-02-10 Thread Fernandez Gonzalo
Hi again, Hi, On 2 February 2012 15:01, Fabio Estevam feste...@gmail.com wrote: On 2/1/12, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hello Gonzalo On Tue, 31 Jan 2012, Fernandez Gonzalo wrote: Hi all, I've been working for a while with an iMX25PDK using the BSP provided by

Re: OV2640 and iMX25PDK - help needed

2012-02-10 Thread Fabio Estevam
Hi Gonzalo, On 2/10/12, Fernandez Gonzalo gfernan...@copreci.es wrote: I've been finally able to attach the ov2640 camera in the i.MX25PDK. I've had some problems with the clocks, but a quick dirty fix looks to solve this issue (I'll work on cleaner solution later). Great to know that you

Re: [PATCH 00/35] Add a driver for Terratec H7

2012-02-10 Thread Jason Krolo
Am 09.02.2012 22:12, schrieb Torfinn Ingolfsen: Update: On Thu, Feb 9, 2012 at 12:04 AM, Torfinn Ingolfsentin...@gmail.com wrote: Never mind. after adding this patch: http://patchwork.linuxtv.org/patch/9691/ and rebuilding the media drivers, the device is now detected: tingo@kg-f4:~$ dmesg |

Re: omap3isp: sequence number in v4l2 buffer not incremented

2012-02-10 Thread Kruno Mrak
Laurent, thank you for the patch. It was a bit tricky to get it work as our kernel is based on 2.6.38, but i succeeded. The frame_number is incremented now. The following changes are not clear to me, are they really necessary to get frame_number incremented? @@ -350,7 +337,6 @@ static void

General question about IR remote signals from USB DVB tuner

2012-02-10 Thread Jan Panteltje
I recently bought a Terratec cinergy S2 USB HD receiver. I got everything working just fine in Linux and get excellent reception. This thing came with a small remote controller, and I notice that the output of this remote appears as ASCII characters on stdin, on any terminal that I open... Wrote

Re: omap3isp: sequence number in v4l2 buffer not incremented

2012-02-10 Thread Laurent Pinchart
Hi Kruno, On Friday 10 February 2012 17:18:22 Kruno Mrak wrote: Laurent, thank you for the patch. It was a bit tricky to get it work as our kernel is based on 2.6.38, but i succeeded. The frame_number is incremented now. Thanks for the confirmation. I'll test the patch with the CCP2 and

[PATCHv21 11/16] mm: extract reclaim code from __alloc_pages_direct_reclaim()

2012-02-10 Thread Marek Szyprowski
This patch extracts common reclaim code from __alloc_pages_direct_reclaim() function to separate function: __perform_reclaim() which can be later used by alloc_contig_range(). Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc:

[PATCHv21 10/16] mm: Serialize access to min_free_kbytes

2012-02-10 Thread Marek Szyprowski
From: Mel Gorman mgor...@suse.de There is a race between the min_free_kbytes sysctl, memory hotplug and transparent hugepage support enablement. Memory hotplug uses a zonelists_mutex to avoid a race when building zonelists. Reuse it to serialise watermark updates. [a.p.zijls...@chello.nl: Older

[PATCHv21 12/16] mm: trigger page reclaim in alloc_contig_range() to stabilise watermarks

2012-02-10 Thread Marek Szyprowski
alloc_contig_range() performs memory allocation so it also should keep track on keeping the correct level of memory watermarks. This commit adds a call to *_slowpath style reclaim to grab enough pages to make sure that the final collection of contiguous pages from freelists will not starve the

[PATCHv21 13/16] drivers: add Contiguous Memory Allocator

2012-02-10 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 MIGRATE_CMA migrate type and gives back to the system. Kernel is allowed to allocate only movable pages

[PATCHv21 16/16] ARM: Samsung: use CMA for 2 memory banks for s5p-mfc device

2012-02-10 Thread Marek Szyprowski
Replace custom memory bank initialization using memblock_reserve and dma_declare_coherent with a single call to CMA's dma_declare_contiguous. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Arnd Bergmann a...@arndb.de ---

[PATCHv21 05/16] mm: compaction: export some of the functions

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.com This commit exports some of the functions from compaction.c file outside of it adding their declaration into internal.h header file so that other mm related code can use them. This forced compaction.c to always be compiled (as opposed to being compiled

[PATCHv21 15/16] ARM: integrate CMA with DMA-mapping subsystem

2012-02-10 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 initialisation). Contiguous

[PATCHv21 08/16] mm: mmzone: MIGRATE_CMA migration type added

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.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 (to some degree) that

[PATCHv21 06/16] mm: page_alloc: introduce alloc_contig_range()

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.com This commit adds the alloc_contig_range() function which tries to allocate 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 the

[PATCHv21 14/16] X86: integrate CMA with DMA-mapping subsystem

2012-02-10 Thread Marek Szyprowski
This patch adds support for CMA to dma-mapping subsystem for x86 architecture that uses common pci-dma/pci-nommu implementation. This allows to test CMA on KVM/QEMU and a lot of common x86 boxes. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park

[PATCHv21 01/16] mm: page_alloc: remove trailing whitespace

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.com Signed-off-by: Michal Nazarewicz min...@mina86.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Mel Gorman m...@csn.ul.ie --- mm/page_alloc.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCHv21 02/16] mm: compaction: introduce isolate_migratepages_range()

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.com This commit introduces isolate_migratepages_range() function which extracts functionality from isolate_migratepages() so that it can be used on arbitrary PFN ranges. isolate_migratepages() function is implemented as a simple wrapper around

[PATCHv21 00/16] Contiguous Memory Allocator

2012-02-10 Thread Marek Szyprowski
Hello, This is yet another quick update on CMA patches (this should be the last one, really). We fixed minor bug which might cause incorrect operation of memory compaction code as well as merged some simple updates to memory reclaim function called by alloc_contig_range. I really hope that this

[PATCHv21 03/16] mm: compaction: introduce map_pages()

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.com This commit creates a map_pages() function which map pages freed using split_free_pages(). This merely moves some code from isolate_freepages() so that it can be reused in other places. Signed-off-by: Michal Nazarewicz min...@mina86.com Signed-off-by:

[PATCHv21 09/16] mm: page_isolation: MIGRATE_CMA isolation functions added

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.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 min...@mina86.com

[PATCHv21 07/16] mm: page_alloc: change fallbacks array handling

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.com This commit adds a row for MIGRATE_ISOLATE type to the fallbacks array which was missing from it. It also, changes the array traversal logic a little making MIGRATE_RESERVE an end marker. The letter change, removes the implicit MIGRATE_UNMOVABLE from

[PATCHv21 04/16] mm: compaction: introduce isolate_freepages_range()

2012-02-10 Thread Marek Szyprowski
From: Michal Nazarewicz min...@mina86.com This commit introduces isolate_freepages_range() function which generalises isolate_freepages_block() so that it can be used on arbitrary PFN ranges. isolate_freepages_block() is left with only minor changes. Signed-off-by: Michal Nazarewicz

RE: [PATCHv19 00/15] Contiguous Memory Allocator

2012-02-10 Thread Marek Szyprowski
Hi Andrew, On Saturday, January 28, 2012 1:26 AM Andrew Morton wrote: These patches don't seem to have as many acked-bys and reviewed-bys as I'd expect. Given the scope and duration of this, it would be useful to gather these up. But please ensure they are real ones - people sometimes like

Re: General question about IR remote signals from USB DVB tuner

2012-02-10 Thread Tony Houghton
On Fri, 10 Feb 2012 08:34:49 -0800 (PST) Jan Panteltje pantel...@yahoo.com wrote: I recently bought a Terratec cinergy S2 USB HD receiver. I got everything working just fine in Linux and get excellent reception. This thing came with a small remote controller, and I notice that the output

cron job: media_tree daily build: WARNINGS

2012-02-10 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 Feb 10 19:00:16 CET 2012 git hash:59b30294e14fa6a370fdd2bc2921cca1f977ef16 gcc version: i686-linux-gcc

Problems with saa7134 card

2012-02-10 Thread Robert Goldner
Hi everyone, a few days ago I got an PCI-DVB-T and Radio Capture card. Is a quite old (and cheap) Medion card with an ssa7134 chipset. Unfortunally the card is not supported by linux (kernel 3.2.5) out-of-the-box. After modprobe ssa7134 the following message comes by dmesg: Linux video

Re: [PATCH v2 27/31] omap3isp: Configure CSI-2 phy based on platform data

2012-02-10 Thread Sakari Ailus
Hi Sergio, Thanks for the review! Aguirre, Sergio wrote: On Thu, Feb 2, 2012 at 5:54 PM, Sakari Ailus sakari.ai...@iki.fi wrote: Configure CSI-2 phy based on platform data in the ISP driver. For that, the new V4L2_CID_IMAGE_SOURCE_PIXEL_RATE control is used. Previously the same was

Announcing v4l-utils-0.8.6

2012-02-10 Thread Gregor Jasny
Hi, I'm happy to announce the release of v4l-utils-0.8.6. It contains mostly backports from the development branch. The most interesting addition is the new upside down table matching algorithm targeted at ASUS notebooks. It will hopefully reduce the upside down table update frequency for those

Re: SDR FM demodulation

2012-02-10 Thread Andy Walls
On Thu, 2012-02-09 at 17:21 +0200, Antti Palosaari wrote: On 09.02.2012 17:11, Patrick Boettcher wrote: On Thursday 09 February 2012 16:01:12 Antti Palosaari wrote: I have taken radio sniffs from FM capable Realtek DVB-T device. Looks like demodulator ADC samples IF frequency and pass all

Re: SDR FM demodulation

2012-02-10 Thread David Hagood
On Fri, 2012-02-10 at 21:08 -0500, Andy Walls wrote: Randomly checking some of the data with GNUplot, if 2.5 Msps is the sampling rate, then the fastest freq I saw was about 50 kHz. How'd you analyze the data - assume it was baseband I/Q and do an FFT? If so, and if this was digitized

Problem with V4L2 IOCTLs since 2.6.39

2012-02-10 Thread Sebastian Kricner
Hello, there must be made some changes to the V4L2 IOCTLs, also the V4L2 API since 2.6.39. Upon starting xawtv, i get following errors: ioctl: VIDIOC_S_CTRL(id=9963785;value=0): Unpassender IOCTL (I/O-Control) für das Gerät ioctl: VIDIOC_S_CTRL(id=9963785;value=1): Unpassender IOCTL

Re: SDR FM demodulation

2012-02-10 Thread Alistair Buxton
On 9 February 2012 15:01, Antti Palosaari cr...@iki.fi wrote: Decode it and listen some Finnish speak ;) Done. grc and output.wav here: http://al.robotfuzz.com/~al/rtl2832/ The trick was realising that the UChar to Float converter does not adjust it's output to the range -1.0,1.0 that the