Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-03 Thread randy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 于 2014年01月02日 20:59, Kamil Debski 写道: Hi, From: lxr1234 [mailto:lxr1...@hotmail.com] Sent: Thursday, January 02, 2014 1:57 PM To: Kamil Debski Subject: RE: using MFC memory to memery encoder, start stream and queue order problem Kamil

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-03 Thread randy
于 2014年01月02日 20:59, Kamil Debski 写道: Hi, From: lxr1234 [mailto:lxr1...@hotmail.com] Sent: Thursday, January 02, 2014 1:57 PM To: Kamil Debski Subject: RE: using MFC memory to memery encoder, start stream and queue order problem Kamil Debski k.deb...@samsung.com写到: Hi Randy, From:

[REVIEW PATCH] Revert [media] videobuf_vm_{open,close} race fixes

2014-01-03 Thread Hans Verkuil
This reverts commit a242f426108c284049a69710f871cc9f11b13e61. That commit actually caused deadlocks, rather then fixing them. If ext_lock is set to NULL (otherwise videobuf_queue_lock doesn't do anything), then you get this deadlock: The driver's mmap function calls videobuf_mmap_mapper which

Re: omap3isp device tree support

2014-01-03 Thread Enrico
On Wed, Dec 18, 2013 at 11:09 AM, Enrico ebut...@users.berlios.de wrote: On Tue, Dec 17, 2013 at 2:11 PM, Florian Vaussard florian.vauss...@epfl.ch wrote: So I converted the iommu to DT (patches just sent), used pdata quirks for the isp / mtv9032 data, added a few patches from other people

[GIT PULL] soc-camera: 1 patch for 3.14

2014-01-03 Thread Guennadi Liakhovetski
Hi Mauro, The following changes since commit 1ba337ca6cd05ea33029692dc837a43c05108cb7: Add linux-next specific files for 20131224 (2013-12-24 16:20:04 +1100) are available in the git repository at: git://linuxtv.org/gliakhovetski/v4l-dvb.git for-3.14-1 Valentine Barshak (1): media:

[PATCH] nuvoton-cir: Add support for user configurable wake-up codes

2014-01-03 Thread Antti Seppälä
This patch introduces module parameters for setting wake-up codes to be programmed into the hardware FIFO. This allows users to provide custom IR sample sequences to trigger system wake-up from sleep states. Usage: modprobe nuvoton-cir wake_samples=0x90,0x11,0xa1... (up to 67 bytes) Here is a

Re: [PATCH v4 2/2] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table

2014-01-03 Thread Hans Verkuil
Hi Ricardo, I've run into a problem that is caused by this patch: On 08/02/2013 04:20 PM, Ricardo Ribalda Delgado wrote: Replace the private struct vb2_dma_sg_desc with the struct sg_table so we can benefit from all the helping functions in lib/scatterlist.c for things like allocating the sg

Re: using MFC memory to memery encoder, start stream and queue order problem

2014-01-03 Thread randy
I rewrite my program, it takes the order as below 1.request buffer. 2.mmap input buffer with OUTPUT 3.output buffer with CAPTURE. 4.filled input buffer with the first frame. 5.enqueue the first frame in the input buffer in OUTPUT side 6.enqueue the output buffer in CAPTURE side 7.start stream

Re: [PATCH v4 2/2] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table

2014-01-03 Thread Ricardo Ribalda Delgado
Hello Hans Thank you very much for your mail. For what I understand sg_alloc_table_from_pages does not allocate any page or bounce buffer, it just take a set of N pages and makes a sg_table from it, on the process it finds out if page A and A+1are on the same pfn and if it is true they will

Re: [PATCH v4 2/2] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table

2014-01-03 Thread Hans Verkuil
On 01/03/2014 04:17 PM, Ricardo Ribalda Delgado wrote: Hello Hans Thank you very much for your mail. For what I understand sg_alloc_table_from_pages does not allocate any page or bounce buffer, it just take a set of N pages and makes a sg_table from it, on the process it finds out if page

Re: [PATCH v4 2/2] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table

2014-01-03 Thread Ricardo Ribalda Delgado
Hello Hans What if we move the dma_map_sg and dma_unmap_sg to the vb2 interface, and there do something like: n_sg= dma_map_sg() if (n_sg=-ENOMEM){ split_table() //Breaks down the sg_table into monopages sg n_sg= dma_map_sg() } if (n_sg=-ENOMEM) return -ENOMEM Regards On Fri, Jan 3,

Re: [PATCH v3 20/24] em28xx: Fix em28xx deplock

2014-01-03 Thread Frank Schäfer
Am 28.12.2013 13:16, schrieb Mauro Carvalho Chehab: From: Mauro Carvalho Chehab m.che...@samsung.com When em28xx extensions are loaded/removed, there are two locks: a single static em28xx_devlist_mutex that registers each extension and the struct em28xx dev-lock. When extensions are

Re: [PATCH v3 00/24] em28xx: split analog part into a separate module

2014-01-03 Thread Frank Schäfer
Am 28.12.2013 13:15, schrieb Mauro Carvalho Chehab: This patch series split em28xx into a separate V4L2 driver, allowing the new dvb-only chips to be supported without requiring V4L2. While testing the original patchset, I noticed several issues with HVR-950. The remaining patches on this

cron job: media_tree daily build: ERRORS

2014-01-03 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: Sat Jan 4 04:00:29 CET 2014 git branch: test git hash: f7d40eea8e3e531f1517ab7eded552e8837ef5da gcc