Re: [RFC PATCH v1 6/7] media: video: introduce face detection driver module

2011-12-12 Thread Ming Lei
Hi, On Mon, Dec 12, 2011 at 1:43 AM, Sylwester Nawrocki snj...@gmail.com For OMAP4 FD, it is not needed to include FD into MC framework since a intermediate buffer is always required. If your HW doesn't belong to this case, what is the output of your HW FD in the link? Also sounds FD results

RE: [RFC] Resolution change support in video codecs in v4l2

2011-12-12 Thread Kamil Debski
-Original Message- From: 'Sakari Ailus' [mailto:sakari.ai...@iki.fi] Sent: 09 December 2011 20:55 To: Kamil Debski Cc: 'Mauro Carvalho Chehab'; linux-media@vger.kernel.org; 'Laurent Pinchart'; 'Sebastian Dröge'; Sylwester Nawrocki; Marek Szyprowski Subject: Re: [RFC] Resolution

Re: [RFC] Resolution change support in video codecs in v4l2

2011-12-12 Thread Laurent Pinchart
Hi Kamil, On Tuesday 06 December 2011 16:03:33 Kamil Debski wrote: On 06 December 2011 15:36 Sakari Ailus wrote: On Fri, Dec 02, 2011 at 02:50:17PM -0200, Mauro Carvalho Chehab wrote: On 02-12-2011 11:57, Sakari Ailus wrote: Some codecs need to be able to access buffers which have

RE: [RFC] Resolution change support in video codecs in v4l2

2011-12-12 Thread Kamil Debski
Hi, From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: 12 December 2011 11:59 Hi Kamil, On Tuesday 06 December 2011 16:03:33 Kamil Debski wrote: On 06 December 2011 15:36 Sakari Ailus wrote: On Fri, Dec 02, 2011 at 02:50:17PM -0200, Mauro Carvalho Chehab wrote:

Re: [RFC] Resolution change support in video codecs in v4l2

2011-12-12 Thread Laurent Pinchart
Hi Mauro, On Tuesday 06 December 2011 16:40:11 Mauro Carvalho Chehab wrote: On 06-12-2011 13:19, Kamil Debski wrote: On 06 December 2011 15:42 Mauro Carvalho Chehab wrote: On 06-12-2011 12:28, 'Sakari Ailus' wrote: On Tue, Dec 06, 2011 at 01:00:59PM +0100, Laurent Pinchart wrote: ...

Re: Mantis CAM not SMP safe / Activating CAM on Technisat Skystar HD2 (DVB-S2)

2011-12-12 Thread Marko Ristola
On 12/10/2011 01:57 AM, Ninja wrote: Hi, has anyone an idea how the SMP problems could be fixed? You could turn on Mantis Kernel module's debug messages. It could tell you the emitted interrupts. One risky thing with the Interrupt handler code is that MANTIS_GPIF_STATUS is cleared, even

[PATCH v4 0/2] Add support form eMMa-PrP in i.MX2 chips as a mem2mem device.

2011-12-12 Thread Javier Martin
Changes since v3: Patch order inverted as requested by Mauro. Now adjusting of the image dimensions is made using v4l_bound_align_image(). Some coding style fixes. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org

[PATCH v4 2/2] MX2: Add platform definitions for eMMa-PrP device.

2011-12-12 Thread Javier Martin
eMMa-PrP device included in Freescale i.MX2 chips can also be used separately to process memory buffers. This patch provides arch glue code for the driver which provides this functionality. Acked-by: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Javier Martin javier.mar...@vista-silicon.com

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

2011-12-12 Thread Javier Martin
i.MX2x SoCs have a PrP which is capable of resizing and format conversion of video frames. This driver provides support for resizing and format conversion from YUYV to YUV420. This operation is of the utmost importance since some of these SoCs like i.MX27 include an H.264 video codec which only

RE: [RFC PATCH v1 6/7] media: video: introduce face detection driver module

2011-12-12 Thread HeungJun, Kim
Hi Ming, It's maybe late, but I want to suggest one thing about FD API. This OMAP FD block looks detection ability of just face. But, It's possible to occur another device which can detect specific object or patterns. Moreover, this API can expand object recognition area. So, I think it's good

Re: I2C and mt9p031 on Overo

2011-12-12 Thread Gary Thomas
On 2011-12-11 13:25, Robert Åkerblom-Andersson wrote: Hi, I trying to get the mt9p031 to work on the Overo board. So far I have it working in the Beagleboard xM, and now I have sort of ported/used the same files to get it to work with Overo. My problem now is that when I probe the camera board

Re: cx231xx kernel oops

2011-12-12 Thread Andy Walls
Yan Seiner y...@seiner.com wrote: I'm resurrecting an older thread. I have a Hauppage USB Live2 connected to a MIPS box running openWRT. I tried this earlier on a older hardware running the 3.0.3 kernel. This is with newer hardware running 2.6.39.4. The driver attempts to allocate 800MB

Re: v4 [PATCH 09/10] CXD2820r: Query DVB frontend delivery capabilities

2011-12-12 Thread Andreas Oberritter
On 12.12.2011 05:28, Manu Abraham wrote: On Sat, Dec 10, 2011 at 5:17 PM, Antti Palosaari cr...@iki.fi wrote: On 12/10/2011 06:44 AM, Manu Abraham wrote: static int cxd2820r_set_frontend(struct dvb_frontend *fe, [...] + switch (c-delivery_system) { + case SYS_DVBT: +

Re: cx231xx kernel oops

2011-12-12 Thread Yan Seiner
Andy Walls wrote: 800 MB for 320x420 frames? It sounds like your app has gooned its requested buffer size. That's an understatement. :-) wild speculation This might be due to endianess differences between MIPS abd x86 and your app only being written and tested on x86. /wild speculation

Re: v4 [PATCH 09/10] CXD2820r: Query DVB frontend delivery capabilities

2011-12-12 Thread Manu Abraham
On Mon, Dec 12, 2011 at 6:13 PM, Andreas Oberritter o...@linuxtv.org wrote: On 12.12.2011 05:28, Manu Abraham wrote: On Sat, Dec 10, 2011 at 5:17 PM, Antti Palosaari cr...@iki.fi wrote: On 12/10/2011 06:44 AM, Manu Abraham wrote:  static int cxd2820r_set_frontend(struct dvb_frontend *fe,

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-12 Thread Mauro Carvalho Chehab
On 12-12-2011 01:59, Manu Abraham wrote: On Sat, Dec 10, 2011 at 5:59 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: On 10-12-2011 02:43, Manu Abraham wrote: From 92a79a1e0a1b5403f06f60661f00ede365b10108 Mon Sep 17 00:00:00 2001 From: Manu Abrahamabraham.m...@gmail.com Date: Thu, 24

Re: v4 [PATCH 08/10] TDA18271c2dd: Allow frontend to set DELSYS

2011-12-12 Thread Mauro Carvalho Chehab
On 12-12-2011 03:01, Manu Abraham wrote: On Sat, Dec 10, 2011 at 6:20 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: On 10-12-2011 02:44, Manu Abraham wrote: From 707877f5a61b3259704d42e7dd5e647e9196e9a4 Mon Sep 17 00:00:00 2001 From: Manu Abrahamabraham.m...@gmail.com Date: Thu, 24

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-12 Thread Manu Abraham
On Mon, Dec 12, 2011 at 6:49 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: On 12-12-2011 01:59, Manu Abraham wrote: On Sat, Dec 10, 2011 at 5:59 PM, Mauro Carvalho Chehab mche...@redhat.com  wrote: On 10-12-2011 02:43, Manu Abraham wrote:  From

Re: v4 [PATCH 09/10] CXD2820r: Query DVB frontend delivery capabilities

2011-12-12 Thread Antti Palosaari
On 12/12/2011 02:55 PM, Manu Abraham wrote: On Mon, Dec 12, 2011 at 6:13 PM, Andreas Oberrittero...@linuxtv.org wrote: On 12.12.2011 05:28, Manu Abraham wrote: On Sat, Dec 10, 2011 at 5:17 PM, Antti Palosaaricr...@iki.fi wrote: On 12/10/2011 06:44 AM, Manu Abraham wrote: static int

Re: v4 [PATCH 00/10] Query DVB frontend delivery capabilities

2011-12-12 Thread Mauro Carvalho Chehab
On 12-12-2011 04:35, Manu Abraham wrote: On Sat, Dec 10, 2011 at 6:38 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: On 10-12-2011 02:41, Manu Abraham wrote: Hi, As discussed prior, the following changes help to advertise a frontend's delivery system capabilities. Sending out

Re: [PATCH 01/11] mm: page_alloc: handle MIGRATE_ISOLATE in free_pcppages_bulk()

2011-12-12 Thread Mel Gorman
On Fri, Nov 18, 2011 at 05:43:08PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com If page is on PCP list while pageblock it belongs to gets isolated, the page's private still holds the old migrate type. This means that free_pcppages_bulk() will put the page on a

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-12 Thread Mauro Carvalho Chehab
On 12-12-2011 11:40, Manu Abraham wrote: On Mon, Dec 12, 2011 at 6:49 PM, Mauro Carvalho Chehab This also means that just doing an alias from FE_QAM and SYS_DVBC_ANNEX_AC to SYS_DVBC_ANNEX_A may break something, as, for most devices, SYS_DVBC_ANNEX_AC really means both Annex A and C. With

Re: v4 [PATCH 09/10] CXD2820r: Query DVB frontend delivery capabilities

2011-12-12 Thread Manu Abraham
On Mon, Dec 12, 2011 at 7:11 PM, Antti Palosaari cr...@iki.fi wrote: On 12/12/2011 02:55 PM, Manu Abraham wrote: On Mon, Dec 12, 2011 at 6:13 PM, Andreas Oberrittero...@linuxtv.org  wrote: On 12.12.2011 05:28, Manu Abraham wrote: On Sat, Dec 10, 2011 at 5:17 PM, Antti Palosaaricr...@iki.fi

Re: [PATCH 02/11] mm: compaction: introduce isolate_{free,migrate}pages_range().

2011-12-12 Thread Mel Gorman
On Fri, Nov 18, 2011 at 05:43:09PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com This commit introduces isolate_freepages_range() and isolate_migratepages_range() functions. The first one replaces isolate_freepages_block() and the second one extracts functionality

Re: [PATCH 01/11] mm: page_alloc: handle MIGRATE_ISOLATE in free_pcppages_bulk()

2011-12-12 Thread Michal Nazarewicz
On Fri, Nov 18, 2011 at 05:43:08PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 9dd443d..58d1a2e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -628,6 +628,18 @@ static void free_pcppages_bulk(struct zone

Re: [PATCH 03/11] mm: mmzone: introduce zone_pfn_same_memmap()

2011-12-12 Thread Michal Nazarewicz
On Fri, Nov 18, 2011 at 05:43:10PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com diff --git a/mm/compaction.c b/mm/compaction.c index 6afae0e..09c9702 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -111,7 +111,10 @@ skip: next: pfn += isolated;

Re: [PATCH/RFC v3 4/4] v4l: Update subdev drivers to handle framesamples parameter

2011-12-12 Thread Sylwester Nawrocki
Hi Laurent, On 12/12/2011 01:31 AM, Laurent Pinchart wrote: On Friday 09 December 2011 18:59:52 Sylwester Nawrocki wrote: Update the sub-device drivers having a devnode enabled so they properly handle the new framesamples field of struct v4l2_mbus_framefmt. These drivers don't support

Re: [PATCH 03/11] mm: mmzone: introduce zone_pfn_same_memmap()

2011-12-12 Thread Mel Gorman
On Mon, Dec 12, 2011 at 03:35:03PM +0100, Michal Nazarewicz wrote: On Fri, Nov 18, 2011 at 05:43:10PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com diff --git a/mm/compaction.c b/mm/compaction.c index 6afae0e..09c9702 100644 --- a/mm/compaction.c +++

Re: [PATCH 04/11] mm: compaction: export some of the functions

2011-12-12 Thread Michal Nazarewicz
On Mon, 12 Dec 2011 15:29:07 +0100, Mel Gorman m...@csn.ul.ie wrote: On Fri, Nov 18, 2011 at 05:43:11PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com This commit exports some of the functions from compaction.c file outside of it adding their declaration into

Re: [PATCH 01/11] mm: page_alloc: handle MIGRATE_ISOLATE in free_pcppages_bulk()

2011-12-12 Thread Mel Gorman
On Mon, Dec 12, 2011 at 03:23:02PM +0100, Michal Nazarewicz wrote: On Fri, Nov 18, 2011 at 05:43:08PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 9dd443d..58d1a2e 100644 --- a/mm/page_alloc.c +++

Re: [PATCH 03/11] mm: mmzone: introduce zone_pfn_same_memmap()

2011-12-12 Thread Michal Nazarewicz
On Fri, Nov 18, 2011 at 05:43:10PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com diff --git a/mm/compaction.c b/mm/compaction.c index 6afae0e..09c9702 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -111,7 +111,10 @@ skip: next: pfn += isolated;

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-12 Thread Manu Abraham
On Mon, Dec 12, 2011 at 7:26 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: On 12-12-2011 11:40, Manu Abraham wrote: On Mon, Dec 12, 2011 at 6:49 PM, Mauro Carvalho Chehab This also means that just doing an alias from FE_QAM and SYS_DVBC_ANNEX_AC to SYS_DVBC_ANNEX_A may break

Re: [PATCH 02/11] mm: compaction: introduce isolate_{free,migrate}pages_range().

2011-12-12 Thread Michal Nazarewicz
On Fri, Nov 18, 2011 at 05:43:09PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com diff --git a/mm/compaction.c b/mm/compaction.c index 899d956..6afae0e 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -54,51 +54,64 @@ static unsigned long release_freepages(struct

Re: [PATCH 04/11] mm: compaction: export some of the functions

2011-12-12 Thread Mel Gorman
On Mon, Dec 12, 2011 at 03:41:04PM +0100, Michal Nazarewicz wrote: On Mon, 12 Dec 2011 15:29:07 +0100, Mel Gorman m...@csn.ul.ie wrote: On Fri, Nov 18, 2011 at 05:43:11PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com This commit exports some of the functions from

Re: [PATCH 04/11] mm: compaction: export some of the functions

2011-12-12 Thread Michal Nazarewicz
On Mon, 12 Dec 2011 15:29:07 +0100, Mel Gorman m...@csn.ul.ie wrote: Overall, this patch implies that CMA is always compiled in. On Mon, Dec 12, 2011 at 03:41:04PM +0100, Michal Nazarewicz wrote: Not really. But yes, it produces some bloat when neither CMA nor compaction are compiled. I

Re: [PATCH 03/11] mm: mmzone: introduce zone_pfn_same_memmap()

2011-12-12 Thread Mel Gorman
On Mon, Dec 12, 2011 at 03:51:55PM +0100, Michal Nazarewicz wrote: On Fri, Nov 18, 2011 at 05:43:10PM +0100, Marek Szyprowski wrote: From: Michal Nazarewicz min...@mina86.com diff --git a/mm/compaction.c b/mm/compaction.c index 6afae0e..09c9702 100644 --- a/mm/compaction.c +++

Re: cx231xx kernel oops

2011-12-12 Thread Yan Seiner
On Mon, December 12, 2011 6:23 am, Devin Heitmueller wrote: For what it's worth, I did do quite a bit of work on cx231xx, including work for mips and arm platforms. That said, all the work done was on the control interfaces rather than the buffer management (my particular use case didn't

UK Sudbury post Digital Switchover updated scan data.

2011-12-12 Thread steve.goodey
Hello, [dvb-t/uk-Sudbury] has now gone Digital Switchover. I wonder if the scan data could be updated? Is this the correct way to do it, I noticed someone else supplied their changes as a diff file format? Thanks, Steve.

Re: [PATCH v4 0/3] fbdev: Add FOURCC-based format configuration API

2011-12-12 Thread Laurent Pinchart
Hi Florian, On Tuesday 29 November 2011 11:26:56 Laurent Pinchart wrote: Hi everybody, Here's the fourth version of the fbdev FOURCC-based format configuration API. Is there a chance this will make it to v3.3 ? -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line

Re: cx231xx kernel oops

2011-12-12 Thread Devin Heitmueller
On Mon, Dec 12, 2011 at 10:58 AM, Yan Seiner y...@seiner.com wrote: Also, just to be clear, the USB Live 2 doesn't have any onboard hardware compression.  It has comparable requirements related to USB bus utilization as any other USB framegrabber.  The only possible advantage you might get is

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-12 Thread Mauro Carvalho Chehab
On 12-12-2011 13:00, Manu Abraham wrote: On Mon, Dec 12, 2011 at 7:26 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: On 12-12-2011 11:40, Manu Abraham wrote: On Mon, Dec 12, 2011 at 6:49 PM, Mauro Carvalho Chehab This also means that just doing an alias from FE_QAM and

Re: [PATCH 04/11] mm: compaction: export some of the functions

2011-12-12 Thread Arnd Bergmann
On Monday 12 December 2011, Mel Gorman wrote: The bloat exists either way. I don't believe the linker strips it out so overall it would make more sense to depend on compaction to keep the vmstat counters for debugging reasons if nothing else. It's not something I feel very strongly about

Re: cx231xx kernel oops

2011-12-12 Thread Yan Seiner
On Mon, December 12, 2011 8:22 am, Devin Heitmueller wrote: On Mon, Dec 12, 2011 at 10:58 AM, Yan Seiner y...@seiner.com wrote: Also, just to be clear, the USB Live 2 doesn't have any onboard hardware compression.  It has comparable requirements related to USB bus utilization as any other USB

Re: [PATCH 02/11] mm: compaction: introduce isolate_{free,migrate}pages_range().

2011-12-12 Thread Mel Gorman
On Mon, Dec 12, 2011 at 04:22:39PM +0100, Michal Nazarewicz wrote: SNIP + if (!pfn_valid_within(pfn)) + goto skip; The flow of this function in general with gotos of skipped and next is confusing in comparison to the existing function. For example, if this

Re: [PATCH 02/11] mm: compaction: introduce isolate_{free,migrate}pages_range().

2011-12-12 Thread Michal Nazarewicz
On Mon, 12 Dec 2011 17:30:52 +0100, Mel Gorman m...@csn.ul.ie wrote: On Mon, Dec 12, 2011 at 04:22:39PM +0100, Michal Nazarewicz wrote: SNIP + if (!pfn_valid_within(pfn)) + goto skip; The flow of this function in general with gotos of skipped and next is

[GIT PULL for 3.2-rc5] media fixes

2011-12-12 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For a couple fixes for media drivers. The changes are: - ati_remote (new driver for 3.2): Fix the scancode tables; - af9015: fix some issues with firmware load;

Re: [Linaro-mm-sig] [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-12-12 Thread Arnd Bergmann
On Saturday 10 December 2011, Daniel Vetter wrote: If userspace (through some driver calls) tries to do stupid things, it'll just get garbage. See Message-ID: cakmk7uhexyn-v_8cmplnwsfy14ktmurzy8yrkr5xst2-2wd...@mail.gmail.com for my reasons why it think this is the right way to go forward.

Re: [GIT PULL for 3.2-rc5] media fixes

2011-12-12 Thread Antti Palosaari
On 12/12/2011 06:47 PM, Mauro Carvalho Chehab wrote: Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For a couple fixes for media drivers. The changes are: - ati_remote (new driver for 3.2): Fix the scancode tables; - af9015: fix some

Re: [PATCH 02/11] mm: compaction: introduce isolate_{free,migrate}pages_range().

2011-12-12 Thread Mel Gorman
On Mon, Dec 12, 2011 at 05:46:13PM +0100, Michal Nazarewicz wrote: On Mon, 12 Dec 2011 17:30:52 +0100, Mel Gorman m...@csn.ul.ie wrote: On Mon, Dec 12, 2011 at 04:22:39PM +0100, Michal Nazarewicz wrote: SNIP + if (!pfn_valid_within(pfn)) + goto skip; The flow

Re: [GIT PULL for 3.2-rc5] media fixes

2011-12-12 Thread Sylwester Nawrocki
Hi Mauro, On 12/12/2011 05:47 PM, Mauro Carvalho Chehab wrote: Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For a couple fixes for media drivers. The changes are: - ati_remote (new driver for 3.2): Fix the scancode

[PATCH 02/14] m5mols: Add buffer size configuration support for compressed streams

2011-12-12 Thread Sylwester Nawrocki
Use new struct v4l2_mbus_framefmt framesamples field to return maximum size of data transmitted per single frame. The framesamples value is adjusted according to pixel format and configured at the ISP registers. Except the pixel width and height, the frame size can also be made dependent on JPEG

[PATCH 03/14] m5mols: Extend the busy wait helper

2011-12-12 Thread Sylwester Nawrocki
From: HeungJun Kim riverful@samsung.com Make m5mols_busy_wait function jiffies based rather than relying on some fixed number of I2C read iterations while busy waiting for the device to execute a request. With fixed number of iterations we may be getting different wait times, depending on the

[PATCH 01/14] m5mols: Simplify the I2C registers definition

2011-12-12 Thread Sylwester Nawrocki
The redundant definitions of the m5mols I2C register addresses within the pages (categories) are removed. In place of symbolic definitions plain numbers are used which simplifies the code and eases identifying the registers in the documentation. Also make the m5mols_busy() function accept

[PATCH 07/14] m5mols: Optimize the capture set up sequence

2011-12-12 Thread Sylwester Nawrocki
From: HeungJun Kim riverful@samsung.com Improve the single frame capture set up sequence. Since there is no need to re-enable the interrupts in each capture sequence, unmask the required interrupts once at the device initialization time. Signed-off-by: HeungJun Kim riverful@samsung.com

[PATCH 06/14] m5mols: Add support for the system initialization interrupt

2011-12-12 Thread Sylwester Nawrocki
From: HeungJun Kim riverful@samsung.com The M-5MOLS internal controller's initialization time depends on the hardware and firmware revision. Currently the driver just waits for worst case time period, after applying the voltage supplies, for the device to be ready. The M-5MOLS supports System

[PATCH 05/14] m5mols: Remove mode_save field from struct m5mols_info

2011-12-12 Thread Sylwester Nawrocki
There is no need to keep this in the drivers' private data structure, an on the stack variable is enough. Also simplify a bit the ISP state switching function. Acked-by: HeungJun Kim riverful@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park

[PATCH 04/14] m5mols: Improve the interrupt handling routines

2011-12-12 Thread Sylwester Nawrocki
From: HeungJun Kim riverful@samsung.com The work struct based interrupt handling is not flexible enough as the M-5MOLS control sequence involves I2C access sequences before and after an interrupt is generated. A single waitqueue is enough for the job so remove the work struct based code.

[PATCH 11/14] m5mols: Do not reset the configured pixel format when unexpected

2011-12-12 Thread Sylwester Nawrocki
Initialize default pixel format in driver probe() rather than in s_power handler. This also prevents resetting the configuration applied before the device was powered on. Acked-by: HeungJun Kim riverful@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by:

[PATCH 13/14] m5mols: Enable v4l subdev device node

2011-12-12 Thread Sylwester Nawrocki
Set V4L2_SUBDEV_FL_HAS_DEVNODE flag for the host driver to create the sensor device node. Acked-by: HeungJun Kim riverful@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols_core.c |

[PATCH 10/14] m5mols: Move the control handler initialization to probe()

2011-12-12 Thread Sylwester Nawrocki
This is prerequisite for enabling the sub-device node. The control handler is now initialized in driver's probe callback in order to allow the user space access controls before the device power is enabled with s_power. This is needed due to s_power being currently called only by the host driver.

[PATCH 09/14] m5mols: Don't ignore v4l2_ctrl_handler_setup() return value

2011-12-12 Thread Sylwester Nawrocki
v4l2_ctrl_handler_setup() may fail so check its return value when restoring controls after device is powered on. While at it simplify the m5mols_restore_function() a bit. Acked-by: HeungJun Kim riverful@samsung.com Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by:

[PATCH 14/14] s5p-csis: Enable v4l subdev device node

2011-12-12 Thread Sylwester Nawrocki
Set v4l2_subdev flags for a host driver to create a sub-device node for the driver so the subdev can be directly configured by applications. Add the subdev open() handler. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 08/14] m5mols: Change the end of frame v4l2_subdev notification id

2011-12-12 Thread Sylwester Nawrocki
Change the v4l2_device notifications id to S5P_FIMC_TX_END_NOTIFY. Moreover, when frame capture fails, send an 'end of frame' notification with size set to 0 to let the host driver return a buffer back to the user and prevent applications waiting forever on DQBUF. The notification is needed only

[PATCH 00/14] m5mols camera driver updates

2011-12-12 Thread Sylwester Nawrocki
Hello, This changset includes optimization for M-5MOLS booting time and changes needed for proper support of subdev user space interface. The last patch enables subdev node at s5p-csis MIPI receiver. This series depends on http://patchwork.linuxtv.org/patch/8694/ which adds framesamples field

Re: [GIT PULL for 3.2-rc5] media fixes

2011-12-12 Thread Mauro Carvalho Chehab
On 12-12-2011 15:27, Sylwester Nawrocki wrote: Hi Mauro, On 12/12/2011 05:47 PM, Mauro Carvalho Chehab wrote: Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For a couple fixes for media drivers. The changes are: -

[PATCH 12/14] m5mols: Change auto exposure control default value to AUTO

2011-12-12 Thread Sylwester Nawrocki
Enabling automatic exposure yields better image quality. With this setting the anti-flicker algorithm is also enabled in automatic frequency detection mode which effectively eliminates distortion from fluctuations of light intensity at power line frequency. Acked-by: HeungJun Kim

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-12 Thread Manu Abraham
On Mon, Dec 12, 2011 at 9:52 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: On 12-12-2011 13:00, Manu Abraham wrote: On Mon, Dec 12, 2011 at 7:26 PM, Mauro Carvalho Chehab mche...@redhat.com  wrote: On 12-12-2011 11:40, Manu Abraham wrote: On Mon, Dec 12, 2011 at 6:49 PM, Mauro

cron job: media_tree daily build: ERRORS

2011-12-12 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:Mon Dec 12 19:00:17 CET 2011 git hash:bcc072756e4467dc30e502a311b1c3adec96a0e4 gcc version: i686-linux-gcc

Re: [PATCH v4 0/3] fbdev: Add FOURCC-based format configuration API

2011-12-12 Thread Florian Tobias Schandinat
Hi Laurent, On 12/12/2011 04:08 PM, Laurent Pinchart wrote: Hi Florian, On Tuesday 29 November 2011 11:26:56 Laurent Pinchart wrote: Hi everybody, Here's the fourth version of the fbdev FOURCC-based format configuration API. Is there a chance this will make it to v3.3 ? Yes, that's

[PATCH] it913x add support for IT9135 9006 devices

2011-12-12 Thread Malcolm Priestley
Support for IT1935 9006 devices. 9006 have version 2 type chip. 9006 devices should use dvb-usb-it9135-02.fw firmware. On the device tested the tuner id was set to 0 which meant the driver used tuner id 0x38. The device functioned normally. Signed-off-by: Malcolm Priestley tvbox...@gmail.com

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-12 Thread Manu Abraham
On Tue, Dec 13, 2011 at 1:09 AM, Thomas Kernen tker...@deckpoint.ch wrote: On 12/12/11 2:40 PM, Manu Abraham wrote: or is it multiplied by a factor of 10 or was it 100 ? (Oh, my god my application Y uses a factor of 10, the X application uses 100 and the Z application uses 1000). What a

Re: HVR-930C DVB-T mode report

2011-12-12 Thread Eddi De Pieri
Hi to all, with latest git, w_scan partially working only if adding -t2 or t3. It seems that scan quality of w_scan is lower if compared to dvb_app scan # w_scan -f t -t2 -x it-Venice-w # w_scan -f t -t2 -I it-Venice-w stdout wc -l stdout 73 # w_scan -f t -t3 stdout 130 it-Venice-w.stdout

Re: HVR-930C DVB-T mode report

2011-12-12 Thread Devin Heitmueller
On Mon, Dec 12, 2011 at 3:16 PM, Eddi De Pieri e...@depieri.net wrote: Hi to all, with latest git, w_scan partially working only if adding  -t2  or t3. It seems that scan quality of w_scan is lower if compared to dvb_app scan Hi Eddi, A really useful test would be to run the exact same scan

Re: [Query] V4L2 Integer (?) menu control

2011-12-12 Thread Sakari Ailus
Hi Sylwester, Sylwester Nawrocki wrote: Hi Sakari, On 11/26/2011 10:36 AM, Sakari Ailus wrote: On Fri, Nov 25, 2011 at 12:53:16AM +0100, Sylwester Nawrocki wrote: On 11/24/2011 09:57 PM, Sakari Ailus wrote: Sylwester Nawrocki wrote: On 11/24/2011 09:50 AM, Sakari Ailus wrote: There is

Re: v4 [PATCH 06/10] DVB: Use a unique delivery system identifier for DVBC_ANNEX_C

2011-12-12 Thread Andreas Oberritter
On 12.12.2011 14:56, Mauro Carvalho Chehab wrote: On 12-12-2011 11:40, Manu Abraham wrote: On Mon, Dec 12, 2011 at 6:49 PM, Mauro Carvalho Chehab This also means that just doing an alias from FE_QAM and SYS_DVBC_ANNEX_AC to SYS_DVBC_ANNEX_A may break something, as, for most devices,

Re: [RFC PATCH v1 6/7] media: video: introduce face detection driver module

2011-12-12 Thread Sylwester Nawrocki
Hi, On 12/12/2011 10:49 AM, Ming Lei wrote: If FD result is associated with a frame, how can user space get the frame seq if no v4l2 buffer is involved? Without a frame sequence, it is a bit difficult to retrieve FD results from user space. If you pass image data in memory buffers from user

Re: [Linaro-mm-sig] [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-12-12 Thread Robert Morell
On Sat, Dec 10, 2011 at 03:13:06AM -0800, Mauro Carvalho Chehab wrote: On 09-12-2011 20:50, Robert Morell wrote: On Mon, Dec 05, 2011 at 09:18:48AM -0800, Arnd Bergmann wrote: On Friday 02 December 2011, Sumit Semwal wrote: This is the first step in defining a dma buffer sharing mechanism.

Multiple Mantis devices gives me glitches

2011-12-12 Thread Vidar Tyldum
Hello, I have three Cinergy C (DVB-C cards) like this: 05:04.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI Bridge Controller [Ver 1.0] (rev 01) Subsystem: TERRATEC Electronic GmbH Device 1178 Flags: bus master, medium devsel, latency 128, IRQ 20

Re: [PATCH v4 0/3] fbdev: Add FOURCC-based format configuration API

2011-12-12 Thread Laurent Pinchart
Hi Florian, On Monday 12 December 2011 19:49:38 Florian Tobias Schandinat wrote: On 12/12/2011 04:08 PM, Laurent Pinchart wrote: On Tuesday 29 November 2011 11:26:56 Laurent Pinchart wrote: Hi everybody, Here's the fourth version of the fbdev FOURCC-based format configuration API.

[GIT PULL FOR v3.3] Media, OMAP3 ISP AS3645A

2011-12-12 Thread Laurent Pinchart
Hi Mauro, The following changes since commit bcc072756e4467dc30e502a311b1c3adec96a0e4: [media] STV0900: Query DVB frontend delivery capabilities (2011-12-12 15:04:34 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp-omap3isp-next Clemens Ladisch

Re: [RFC PATCH v1 6/7] media: video: introduce face detection driver module

2011-12-12 Thread Ming Lei
Hi, On Mon, Dec 12, 2011 at 8:08 PM, HeungJun, Kim riverful@samsung.com wrote: Hi Ming, It's maybe late, but I want to suggest one thing about FD API. This OMAP FD block looks detection ability of just face. But, It's possible to occur another device which can detect specific object or

Re: cx231xx kernel oops

2011-12-12 Thread Yan Seiner
Yan Seiner wrote: Andy Walls wrote: 800 MB for 320x420 frames? It sounds like your app has gooned its requested buffer size. That's an understatement. :-) wild speculation This might be due to endianess differences between MIPS abd x86 and your app only being written and tested on x86.

RE: [RFC PATCH v1 6/7] media: video: introduce face detection driver module

2011-12-12 Thread HeungJun, Kim
Hi Ming and Sylwester, Thanks for the reply. -Original Message- From: Ming Lei [mailto:ming@canonical.com] Sent: Tuesday, December 13, 2011 1:02 PM To: HeungJun, Kim Cc: Sylwester Nawrocki; linux-o...@vger.kernel.org; linux-arm- ker...@lists.infradead.org;

Re: [RFC PATCH v1 6/7] media: video: introduce face detection driver module

2011-12-12 Thread Ming Lei
On Tue, Dec 13, 2011 at 1:59 PM, HeungJun, Kim riverful@samsung.com wrote: Hi Ming and Sylwester, Thanks for the reply. -Original Message- From: Ming Lei [mailto:ming@canonical.com] Sent: Tuesday, December 13, 2011 1:02 PM To: HeungJun, Kim Cc: Sylwester Nawrocki;

Re: Multiple Mantis devices gives me glitches

2011-12-12 Thread Marko Ristola
Hi Here is a patch that went into Linus GIT this year. It reduces the number of DMA transfer interrupts into one third. Linus released 2.6.38.8 doesn't seem to have this patch yet. I had a single Mantis card and a single CPU. I used VDR to deliver HDTV channel via network into a faster

Re: Multiple Mantis devices gives me glitches

2011-12-12 Thread Ninja
Hello, I have three Cinergy C (DVB-C cards) like this: 05:04.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI Bridge Controller [Ver 1.0] (rev 01) Subsystem: TERRATEC Electronic GmbH Device 1178 Flags: bus master, medium devsel, latency 128, IRQ 20