[PATCH] cx88-dvb.c: DVB net latency using Hauppauge HVR4000

2010-12-23 Thread Ang Way Chuang
Hi linux-media developers, We are from School On Internet Asia (SOI Asia) project that uses satellite communication to deliver educational content. We used Hauppauge HVR 4000 to carry IP traffic over ULE. However, there is an issue with high latency jitter. My boss, Husni, identified the pro

Re: [PATCH] dma_declare_coherent_memory: push ioremap() up to caller

2010-12-23 Thread Paul Mundt
On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > Tested on ARM OMAP1 based Amstrad Delta with a WIP OMAP1 camera patch, > patterned upon two mach-mx3 machine types which already try to use the > dma_declare_coherent_memory() method for reserving a region of system > RAM prea

[RFC/PATCH] v4l2-ctrls: eliminate lockdep false alarms for struct v4l2_ctrl_handler.lock

2010-12-23 Thread Andy Walls
When calling v4l2_ctrl_add_handler(), lockdep would detect a potential recursive locking problem on a situation that is by design intended and not a recursive lock. This happened because all struct v4l2_ctrl_handler.lock mutexes were created as members of the same lock class in v4l2_ctrl_handler_i

Re: [PATCH] dma_declare_coherent_memory: push ioremap() up to caller

2010-12-23 Thread Janusz Krzysztofik
Friday 24 December 2010 00:54:34 Russell King - ARM Linux napisał(a): > On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > > The patch tries to implement a solution suggested by Russell King, > > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December > >/035264.html.

Re: [PATCH] dma_declare_coherent_memory: push ioremap() up to caller

2010-12-23 Thread Paul Mundt
On Thu, Dec 23, 2010 at 11:54:34PM +, Russell King - ARM Linux wrote: > On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > > The patch tries to implement a solution suggested by Russell King, > > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December/035264.html

Re: [PATCH] dma_declare_coherent_memory: push ioremap() up to caller

2010-12-23 Thread Russell King - ARM Linux
On Fri, Dec 24, 2010 at 12:20:32AM +0100, Janusz Krzysztofik wrote: > The patch tries to implement a solution suggested by Russell King, > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December/035264.html. > > It is expected to solve video buffer allocation issues for at least a >

[PATCH] dma_declare_coherent_memory: push ioremap() up to caller

2010-12-23 Thread Janusz Krzysztofik
The patch tries to implement a solution suggested by Russell King, http://lists.infradead.org/pipermail/linux-arm-kernel/2010-December/035264.html. It is expected to solve video buffer allocation issues for at least a few soc_camera I/O memory less host interface drivers, designed around the v

RE: [patch] [media] cx231xxx: fix typo in saddr_len check

2010-12-23 Thread Sri Deevi
I am ok with the changes. Signed-off-by: Srinivasa Deevi Sri -Original Message- From: Dan Carpenter [mailto:erro...@gmail.com] Sent: Thursday, December 23, 2010 11:39 AM To: Sri Deevi Cc: 'Andy Walls'; linux-media@vger.kernel.org; mche...@infradead.org Subject: [patch] [media] cx231xxx

[patch] [media] cx231xxx: fix typo in saddr_len check

2010-12-23 Thread Dan Carpenter
The original code compared "saddr_len" with zero twice in a nonsensical way. I asked the list, and Andy Walls and Sri Deevi say that the second check should be if "saddr_len == 1". Signed-off-by: Dan Carpenter diff --git a/drivers/media/video/cx231xx/cx231xx-core.c b/drivers/media/video/cx231x

RFC: V4L2 driver for Qualcomm MSM camera.

2010-12-23 Thread Shuzhen Wang
Hello, This is the architecture overview we put together for Qualcomm MSM camera support in linux-media tree. Your comments are very much appreciated! Introduction This is the video4linux driver for Qualcomm MSM (Mobile Station Modem) camera. The driver supports video and camera

[RFC/PATCH] v4l: Add S5P MIPI-CSI2 interface subdev driver

2010-12-23 Thread Sylwester Nawrocki
Add the v4l2 subdev/platform device driver for S5P SoC MIPI-CSI2 slave devices. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- Hello, this patch adds a v4l2 subdev/platform device driver for S5P SoC MIPI-CSI2 slave devices.On S5PVXXX SoC there might be up two MIPI-CSI chan

em28xx pinnacle pctv

2010-12-23 Thread daniele
> lsusb > Bus 002 Device 002: ID eb1a:2870 eMPIA Technology, Inc. Pinnacle PCTV > Stick > > Linux ubuntu 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC > 2010 x86_64 GNU/Linux > > I'm sorry to disturb, but it's an year I can resolve this question... > My pinnacle pctv usb2 dvb-t was wor

Re: smatch report: cx231xx: incorrect check in cx231xx_write_i2c_data()

2010-12-23 Thread Dan Carpenter
On Thu, Dec 23, 2010 at 01:34:52PM -0500, Andy Walls wrote: > and noting that "req_data->saddr_dat" holds what was "saddr"; > the if statement, and the many others like it, [...] The others I see are: cx231xx_write_i2c_data() cx231xx_read_i2c_data() cx231xx_write_i2c_master() cx231xx_read_i2c_mast

Re: smatch report: cx231xx: incorrect check in cx231xx_write_i2c_data()

2010-12-23 Thread Andy Walls
On Thu, 2010-12-23 at 19:43 +0300, Dan Carpenter wrote: > Hi, > > I was doing an audit and I came across this. > > drivers/media/video/cx231xx/cx231xx-core.c +1644 cx231xx_write_i2c_data(14) > warn: 'saddr_len' is non-zero. Did you mean 'saddr' > > 1642 if (saddr_len == 0) > 1

[cron job] v4l-dvb daily build: WARNINGS

2010-12-23 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:Thu Dec 23 19:00:21 CET 2010 git master: 59365d136d205cc20fe666ca7f89b1c5001b0d5a git media-master: gcc version: i6

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread David Brown
Felipe Contreras writes: > On Thu, Dec 23, 2010 at 4:16 PM, Russell King - ARM Linux > A generic solution (that I think I already proposed) would be to > reserve a chunk of memory for the CMA that can be removed from the > normally mapped kernel memory through memblock at boot time. The size > o

Re: [PATCH v10 5/8] davinci vpbe: platform specific additions

2010-12-23 Thread Sergei Shtylyov
Hello. Manjunath Hadli wrote: This patch implements the overall device creation for the Video display driver Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acked-by: Hans Verkuil [...] diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c index 9

smatch report: cx231xx: incorrect check in cx231xx_write_i2c_data()

2010-12-23 Thread Dan Carpenter
Hi, I was doing an audit and I came across this. drivers/media/video/cx231xx/cx231xx-core.c +1644 cx231xx_write_i2c_data(14) warn: 'saddr_len' is non-zero. Did you mean 'saddr' 1642 if (saddr_len == 0) 1643 saddr = 0; 1644 else if (saddr_len == 0)

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Tomasz Fujak
On 2010-12-23 15:20, Russell King - ARM Linux wrote: > On Thu, Dec 23, 2010 at 03:08:21PM +0100, Tomasz Fujak wrote: >> On 2010-12-23 14:51, Russell King - ARM Linux wrote: >>> On Thu, Dec 23, 2010 at 02:41:26PM +0100, Michal Nazarewicz wrote: Russell King - ARM Linux writes: > Has anyone

Re: [PATCH v10 8/8] davinci vpbe: Readme text for Dm6446 vpbe

2010-12-23 Thread Alex Deucher
On Thu, Dec 23, 2010 at 6:55 AM, Manjunath Hadli wrote: > Please refer to this file for detailed documentation of > davinci vpbe v4l2 driver > > Signed-off-by: Manjunath Hadli > Acked-by: Muralidharan Karicheri > Acked-by: Hans Verkuil > --- >  Documentation/video4linux/README.davinci-vpbe |  

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Michal Nazarewicz
>> On Thu, Dec 23, 2010 at 03:04:07PM +0100, Tomasz Fujak wrote: >>> In other words, should we take your response as yet another NAK? >>> Or would you try harder and at least point us to some direction that >>> would not doom the effort from the very beginning. > On Thu, Dec 23, 2010 at 4:16 PM, R

[PATCH 8/8] davinci vpbe: Readme text for Dm6446 vpbe

2010-12-23 Thread Manjunath Hadli
Please refer to this file for detailed documentation of davinci vpbe v4l2 driver Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acked-by: Hans Verkuil --- Documentation/video4linux/README.davinci-vpbe | 93 + 1 files changed, 93 insertions(+), 0 delet

[PATCH v10 5/8] davinci vpbe: platform specific additions

2010-12-23 Thread Manjunath Hadli
This patch implements the overall device creation for the Video display driver Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acked-by: Hans Verkuil --- arch/arm/mach-davinci/dm644x.c | 173 +-- arch/arm/mach-davinci/include/mach/dm644x.h

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Felipe Contreras
On Thu, Dec 23, 2010 at 4:16 PM, Russell King - ARM Linux wrote: > On Thu, Dec 23, 2010 at 03:04:07PM +0100, Tomasz Fujak wrote: >> In other words, should we take your response as yet another NAK? >> Or would you try harder and at least point us to some direction that >> would not doom the effort

[GIT PULL for 2.6.37-rc8] V4L/RC fixes

2010-12-23 Thread Mauro Carvalho Chehab
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git v4l_for_linus For a series of fixes for V4L and RC. Most of the patches are due to a bug at the mceusb parser that weren't working with some MCE Remote Controller variants. There are also some reg

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Russell King - ARM Linux
On Thu, Dec 23, 2010 at 03:08:21PM +0100, Tomasz Fujak wrote: > On 2010-12-23 14:51, Russell King - ARM Linux wrote: > > On Thu, Dec 23, 2010 at 02:41:26PM +0100, Michal Nazarewicz wrote: > >> Russell King - ARM Linux writes: > >>> Has anyone addressed my issue with it that this is wide-open for >

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Russell King - ARM Linux
On Thu, Dec 23, 2010 at 03:04:07PM +0100, Tomasz Fujak wrote: > On 2010-12-23 14:48, Russell King - ARM Linux wrote: > > On Thu, Dec 23, 2010 at 02:35:00PM +0100, Tomasz Fujak wrote: > >> Dear Mr. King, > >> > >> AFAIK the CMA is the fourth attempt since 2008 taken to solve the > >> multimedia memo

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Tomasz Fujak
On 2010-12-23 14:51, Russell King - ARM Linux wrote: > On Thu, Dec 23, 2010 at 02:41:26PM +0100, Michal Nazarewicz wrote: >> Russell King - ARM Linux writes: >>> Has anyone addressed my issue with it that this is wide-open for >>> abuse by allocating large chunks of memory, and then remapping >>>

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Tomasz Fujak
On 2010-12-23 14:48, Russell King - ARM Linux wrote: > On Thu, Dec 23, 2010 at 02:35:00PM +0100, Tomasz Fujak wrote: >> Dear Mr. King, >> >> AFAIK the CMA is the fourth attempt since 2008 taken to solve the >> multimedia memory allocation issue on some embedded devices. Most >> notably on ARM, that

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Russell King - ARM Linux
On Thu, Dec 23, 2010 at 02:41:26PM +0100, Michal Nazarewicz wrote: > Russell King - ARM Linux writes: > > Has anyone addressed my issue with it that this is wide-open for > > abuse by allocating large chunks of memory, and then remapping > > them in some way with different attributes, thereby viol

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Russell King - ARM Linux
On Thu, Dec 23, 2010 at 02:35:00PM +0100, Tomasz Fujak wrote: > Dear Mr. King, > > AFAIK the CMA is the fourth attempt since 2008 taken to solve the > multimedia memory allocation issue on some embedded devices. Most > notably on ARM, that happens to be present in the SoCs we care about > along th

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Russell King - ARM Linux
On Thu, Dec 23, 2010 at 02:09:44PM +0100, Marek Szyprowski wrote: > Hello, > > On Thursday, December 23, 2010 1:19 PM Russell King - ARM Linux wrote: > > > On Thu, Dec 23, 2010 at 11:58:08AM +0100, Marek Szyprowski wrote: > > > Actually this contiguous memory allocator is a better replacement for

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Michal Nazarewicz
Russell King - ARM Linux writes: > Has anyone addressed my issue with it that this is wide-open for > abuse by allocating large chunks of memory, and then remapping > them in some way with different attributes, thereby violating the > ARM architecture specification? > > In other words, do we _actu

[GIT PULL for 2.6.38] ivtv and cx18 fixes

2010-12-23 Thread Andy Walls
Mauro, Please PULL what few changes I have presently for 2.6.38. Any patches I work over the Holidays, I don't think I can reasonably target for 2.6.38. Merry Christmas. Regards, Andy The following changes since commit dedb94adebe0fbdd9cafdbb170337810d8638bc9: [media] timblogiw: Fix a mer

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Tomasz Fujak
Dear Mr. King, AFAIK the CMA is the fourth attempt since 2008 taken to solve the multimedia memory allocation issue on some embedded devices. Most notably on ARM, that happens to be present in the SoCs we care about along the IOMMU-incapable multimedia IPs. I understand that you have your guideli

RE: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Marek Szyprowski
Hello, On Thursday, December 23, 2010 1:19 PM Russell King - ARM Linux wrote: > On Thu, Dec 23, 2010 at 11:58:08AM +0100, Marek Szyprowski wrote: > > Actually this contiguous memory allocator is a better replacement for > > alloc_pages() which is used by dma_alloc_coherent(). It is a generic > >

Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal

2010-12-23 Thread Hans Verkuil
On Thursday, December 23, 2010 14:04:38 Andy Walls wrote: > On Thu, 2010-12-23 at 10:02 +0100, Laurent Pinchart wrote: > > Hi Hans, > > > > On Monday 20 December 2010 14:09:40 Hans Verkuil wrote: > > > On Monday, December 20, 2010 13:48:51 Laurent Pinchart wrote: > > > > > > > > What if the applic

Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal

2010-12-23 Thread Andy Walls
On Thu, 2010-12-23 at 10:02 +0100, Laurent Pinchart wrote: > Hi Hans, > > On Monday 20 December 2010 14:09:40 Hans Verkuil wrote: > > On Monday, December 20, 2010 13:48:51 Laurent Pinchart wrote: > > > > > > What if the application wants to change the resolution during capture ? > > > It will have

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Russell King - ARM Linux
On Thu, Dec 23, 2010 at 11:58:08AM +0100, Marek Szyprowski wrote: > Actually this contiguous memory allocator is a better replacement for > alloc_pages() which is used by dma_alloc_coherent(). It is a generic > framework that is not tied only to ARM architecture. ... which is open to abuse. What

Re: [PATCH v10 5/8] davinci vpbe: platform specific additions-khilman

2010-12-23 Thread Sergei Shtylyov
Hello. On 23-12-2010 14:54, Manjunath Hadli wrote: This patch implements the overall device creation for the Video display driver Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acked-by: Hans Verkuil [...] diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinc

RE: [PATCH v10 0/8] davinci vpbe: dm6446 v4l2 driver

2010-12-23 Thread Hadli, Manjunath
On Thu, Dec 23, 2010 at 17:23:37, Hadli, Manjunath wrote: > version10: addressed Kevin's and Sergei's comments > on: > 1.Lines spacing. > 2.Language errors 3.Now based on Kevin Hilman's tree :) > > Manjunath Hadli (8): > davinci vpbe: V4L2 display driver for DM644X SoC > davinci vpbe: VPBE d

[PATCH v10 8/8] davinci vpbe: Readme text for Dm6446 vpbe

2010-12-23 Thread Manjunath Hadli
Please refer to this file for detailed documentation of davinci vpbe v4l2 driver Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acked-by: Hans Verkuil --- Documentation/video4linux/README.davinci-vpbe | 93 + 1 files changed, 93 insertions(+), 0 delet

[PATCH v10 3/8] davinci vpbe: OSD(On Screen Display) block

2010-12-23 Thread Manjunath Hadli
This patch implements the functionality of the OSD block of the VPBE.The OSD in total supports 4 planes or Video sources - 2 mainly RGB and 2 Video. The patch implements general handling of all the planes, with specific emphasis on the Video plane capabilities as the Video planes are supported thro

[PATCH v10 7/8] davinci vpbe: Build infrastructure for VPBE driver

2010-12-23 Thread Manjunath Hadli
This patch adds the build infra-structure for Davinci VPBE dislay driver Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acked-by: Hans Verkuil --- drivers/media/video/davinci/Kconfig | 22 ++ drivers/media/video/davinci/Makefile |2 ++ 2 files change

[PATCH v10 6/8] davinci vpbe: board specific additions

2010-12-23 Thread Manjunath Hadli
This patch implements tables for display timings,outputs and other board related functionalities. Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acked-by: Hans Verkuil --- arch/arm/mach-davinci/board-dm644x-evm.c | 81 +- 1 files changed, 68 inse

[PATCH v10 5/8] davinci vpbe: platform specific additions-khilman

2010-12-23 Thread Manjunath Hadli
This patch implements the overall device creation for the Video display driver Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acked-by: Hans Verkuil --- arch/arm/mach-davinci/dm644x.c | 172 +-- arch/arm/mach-davinci/include/mach/dm644x.h

[PATCH v10 4/8] davinci vpbe: VENC( Video Encoder) implementation

2010-12-23 Thread Manjunath Hadli
This patch adds the VENC or the Video encoder, whichis responsible for the blending of al source planes and timing generation for Video modes like NTSC, PAL and other digital outputs. the VENC implementation currently supports COMPOSITE and COMPONENT outputs and NTSC and PAL resolutions through the

[PATCH v10 2/8] davinci vpbe: VPBE display driver

2010-12-23 Thread Manjunath Hadli
This patch implements the coe functionality of the dislay driver, mainly controlling the VENC and other encoders, and acting as the one point interface for the man V4L2 driver.This implements the cre of each of the V4L2 IOCTLs. Signed-off-by: Manjunath Hadli Acked-by: Muralidharan Karicheri Acke

[PATCH v10 0/8] davinci vpbe: dm6446 v4l2 driver

2010-12-23 Thread Manjunath Hadli
version10: addressed Kevin's and Sergei's comments on: 1.Lines spacing. 2.language errors now based on Kevin Hilman's tree Manjunath Hadli (8): davinci vpbe: V4L2 display driver for DM644X SoC davinci vpbe: VPBE display driver davinci vpbe: OSD(On Screen Display) block davinci vpbe: VENC(

RE: [PATCH 02/13] v4l: Add multi-planar ioctl handling code

2010-12-23 Thread Marek Szyprowski
Hello, On Wednesday, December 22, 2010 9:39 PM Hans Verkuil wrote: > On Wednesday, December 22, 2010 18:10:26 Pawel Osciak wrote: > > From: Pawel Osciak > > > > Add multi-planar API core ioctl handling and conversion functions. > > > > Signed-off-by: Pawel Osciak > > Signed-off-by: Kyungmin Par

RE: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Marek Szyprowski
Hello, On Thursday, December 23, 2010 11:07 AM Russell King - ARM Linux wrote: > On Thu, Dec 23, 2010 at 06:30:57PM +0900, Kyungmin Park wrote: > > Hi Andrew, > > > > any comments? what's the next step to merge it for 2.6.38 kernel. we > > want to use this feature at mainline kernel. > > Has any

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Russell King - ARM Linux
On Thu, Dec 23, 2010 at 06:30:57PM +0900, Kyungmin Park wrote: > Hi Andrew, > > any comments? what's the next step to merge it for 2.6.38 kernel. we > want to use this feature at mainline kernel. Has anyone addressed my issue with it that this is wide-open for abuse by allocating large chunks of

Re: What if add enumerations at the V4L2_FOCUS_MODE_AUTO?

2010-12-23 Thread Hans Verkuil
On Thursday, December 23, 2010 10:38:31 Laurent Pinchart wrote: > Hi Hans, > > On Thursday 23 December 2010 10:31:19 Hans Verkuil wrote: > > On Thursday, December 23, 2010 10:19:38 Laurent Pinchart wrote: > > > On Wednesday 15 December 2010 11:03:37 Hans Verkuil wrote: > > > > > On Wednesday 15 De

Re: What if add enumerations at the V4L2_FOCUS_MODE_AUTO?

2010-12-23 Thread Laurent Pinchart
Hi Hans, On Thursday 23 December 2010 10:31:19 Hans Verkuil wrote: > On Thursday, December 23, 2010 10:19:38 Laurent Pinchart wrote: > > On Wednesday 15 December 2010 11:03:37 Hans Verkuil wrote: > > > > On Wednesday 15 December 2010 08:57:29 Hans Verkuil wrote: > > > > > > > > Hence my question,

Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal

2010-12-23 Thread Hans Verkuil
On Thursday, December 23, 2010 10:27:25 Laurent Pinchart wrote: > Hi Hans, > > On Thursday 23 December 2010 10:20:17 Hans Verkuil wrote: > > On Thursday, December 23, 2010 10:02:33 Laurent Pinchart wrote: > > > On Monday 20 December 2010 14:09:40 Hans Verkuil wrote: > > > > On Monday, December 20,

Re: What if add enumerations at the V4L2_FOCUS_MODE_AUTO?

2010-12-23 Thread Hans Verkuil
On Thursday, December 23, 2010 10:19:38 Laurent Pinchart wrote: > Hi Hans, > > On Wednesday 15 December 2010 11:03:37 Hans Verkuil wrote: > > > On Wednesday 15 December 2010 08:57:29 Hans Verkuil wrote: > > > > > > Hence my question, should we add a way to pass rectangles (basically a > > > struct

Re: [PATCHv8 00/12] Contiguous Memory Allocator

2010-12-23 Thread Kyungmin Park
Hi Andrew, any comments? what's the next step to merge it for 2.6.38 kernel. we want to use this feature at mainline kernel. Any idea and comments are welcome. Thank you, Kyungmin Park On Thu, Dec 16, 2010 at 5:34 AM, Michal Nazarewicz wrote: > Hello everyone, > > This is yet another version o

Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal

2010-12-23 Thread Laurent Pinchart
Hi Hans, On Thursday 23 December 2010 10:20:17 Hans Verkuil wrote: > On Thursday, December 23, 2010 10:02:33 Laurent Pinchart wrote: > > On Monday 20 December 2010 14:09:40 Hans Verkuil wrote: > > > On Monday, December 20, 2010 13:48:51 Laurent Pinchart wrote: > > > > What if the application wants

Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal

2010-12-23 Thread Hans Verkuil
On Thursday, December 23, 2010 10:02:33 Laurent Pinchart wrote: > Hi Hans, > > On Monday 20 December 2010 14:09:40 Hans Verkuil wrote: > > On Monday, December 20, 2010 13:48:51 Laurent Pinchart wrote: > > > > > > What if the application wants to change the resolution during capture ? > > > It will

Re: What if add enumerations at the V4L2_FOCUS_MODE_AUTO?

2010-12-23 Thread Laurent Pinchart
Hi Hans, On Wednesday 15 December 2010 11:03:37 Hans Verkuil wrote: > > On Wednesday 15 December 2010 08:57:29 Hans Verkuil wrote: > > > > Hence my question, should we add a way to pass rectangles (basically a > > structv4l2_rect) through the control ioctls ? It would make sense. > > I thought it

Re: [PATCH v2.1] [media] s5p-fimc: Configure scaler registers depending on FIMC version

2010-12-23 Thread Sylwester Nawrocki
Hi Hyunwoong, On 12/23/2010 02:26 AM, Hyunwoong Kim wrote: > The main scaler has four SFRs for main scaler ratio depending on FIMC version. > FIMC 4.x has only two SFRs and FIMC 5.x has four SFRs for main scaler. > Those are MainHorRatio, MainHorRatio_ext, MainVerRatio and MainverRatio_ext. > > T

Re: [PATCH v3.2] [media] s5p-fimc: fix the value of YUV422 1-plane formats

2010-12-23 Thread Sylwester Nawrocki
Hi Hyunwoong, I am going to handle this patch through my tree. Finally it applies cleanly. Thanks, Sylwester On 12/23/2010 02:26 AM, Hyunwoong Kim wrote: > Some color formats are mismatched in s5p-fimc driver. > CIOCTRL[1:0], order422_out, should be set 2b'00 not 2b'11 > to use V4L2_PIX_FMT_YUYV

Re: [RFC/PATCH v7 03/12] media: Entities, pads and links

2010-12-23 Thread Laurent Pinchart
Hi Hans, On Tuesday 21 December 2010 17:22:39 Hans Verkuil wrote: > Hi Laurent, > > I promised to look at the new type names, so here is my opinion: Thanks. > On Monday, December 20, 2010 12:36:26 Laurent Pinchart wrote: > > > > > + > > +#define MEDIA_ENTITY_TYPE_SHIFT16

Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal

2010-12-23 Thread Laurent Pinchart
Hi Hans, On Monday 20 December 2010 14:09:40 Hans Verkuil wrote: > On Monday, December 20, 2010 13:48:51 Laurent Pinchart wrote: > > > > What if the application wants to change the resolution during capture ? > > It will have to stop capture, call REQBUFS(0), change the format, > > request buffers

Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal

2010-12-23 Thread Laurent Pinchart
On Thursday 23 December 2010 09:34:27 Laurent Pinchart wrote: > Hi Mauro, > > On Tuesday 21 December 2010 12:10:18 Mauro Carvalho Chehab wrote: > > You didn't understand me: uvcvideo is returning -EBUSY to format changes > > with buffers freed. > > As explained in my answer to Hans, that's on pur

Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal

2010-12-23 Thread Laurent Pinchart
Hi Mauro, On Tuesday 21 December 2010 12:10:18 Mauro Carvalho Chehab wrote: > > You didn't understand me: uvcvideo is returning -EBUSY to format changes > with buffers freed. As explained in my answer to Hans, that's on purpose. The uvcvideo driver releases buffers when calling REQBUFS(0). Howev