Re: [PATCH v4 2/6] drivers:staging: ti-st: fmdrv_v4l2 sources

2010-11-17 Thread Hans Verkuil
On Tuesday, November 16, 2010 14:18:10 manjunatha_ha...@ti.com wrote: > From: Manjunatha Halli > > This module interfaces V4L2 subsystem and FM common > module. It registers itself with V4L2 as Radio module. > > Signed-off-by: Manjunatha Halli > --- > drivers/staging/ti-st/fmdrv_v4l2.c | 757

Re: [PATCH v4 1/6] drivers:staging: ti-st: fmdrv common header file

2010-11-17 Thread Hans Verkuil
On Tuesday, November 16, 2010 14:18:09 manjunatha_ha...@ti.com wrote: > From: Manjunatha Halli > > These are common headers used in FM submodules (FM V4L2, FM common, > FM Rx,and FM TX). > > Signed-off-by: Manjunatha Halli > --- > drivers/staging/ti-st/fmdrv.h | 259 > +++

Re: [PATCH] V4L/DVB: cx88: Add module parameter to disable IR

2010-11-17 Thread Jeremy Kerr
Hi Mariusz, > AFAIK we have disable support in cx88: > http://git.linuxtv.org/media_tree.git?a=commit;h=89c3bc78075042ae1f4452687f > 626acce06b3b21 Ah, my bad - I was working off Linus' tree, and looks like that patch hasn't hit mainline yet. As an aside, that patch has a problem: the MODULE_PA

Re: [PATCH] V4L/DVB: cx88: Add module parameter to disable IR

2010-11-17 Thread Mariusz Białończyk
On 2010-11-18 07:43, Jeremy Kerr wrote: Currently, the cx88-input code unconditionally establishes an input device for IR events. On some cards, this sets up a hrtimer to poll the IR status frequently - I get around 200 wakeups per second from this polling, and don't use the IR ports. Although t

Re: [PATCH v4 0/6] FM V4L2 drivers for WL128x

2010-11-17 Thread Hans Verkuil
On Thursday, November 18, 2010 06:54:16 Pavan Savoy wrote: > Hans, Mauro, Ohad, > > On Wed, Nov 17, 2010 at 6:32 PM, Ohad Ben-Cohen wrote: > > Hi Manjunatha, > > > > On Tue, Nov 16, 2010 at 3:18 PM, wrote: > >> drivers/staging/ti-st/Kconfig| 10 + > >> drivers/staging/ti-st/Makefile

RE: [PATCH 4/7] v4l: videobuf2: add DMA coherent allocator

2010-11-17 Thread Sewoon Park
Hi Marek~ Marek Szyprowski wrote: > Sent: Wednesday, November 17, 2010 5:40 PM > To: linux-media@vger.kernel.org > Cc: m.szyprow...@samsung.com; pa...@osciak.com; kyungmin.p...@samsung.com > Subject: [PATCH 4/7] v4l: videobuf2: add DMA coherent allocator > > From: Pawel Osciak > > Add an imple

[PATCH] V4L/DVB: cx88: Add module parameter to disable IR

2010-11-17 Thread Jeremy Kerr
From: Jeremy Kerr Currently, the cx88-input code unconditionally establishes an input device for IR events. On some cards, this sets up a hrtimer to poll the IR status frequently - I get around 200 wakeups per second from this polling, and don't use the IR ports. Although the hrtimer is only run

Re: [PATCH 38/51] ARM: imx: move mx25 support to mach-imx

2010-11-17 Thread Baruch Siach
Hi Uwe, Tanks for all this work. Once this get merged we can get rid of the ugly '#ifdef CONFIG_MACH_MX27' in drivers/media/video/mx2_camera.c. Should such a patch go via Sascha's tree or the V4L tree? baruch On Wed, Nov 17, 2010 at 10:30:06PM +0100, Uwe Kleine-König wrote: > Signed-off-by: U

Re: [PATCH v4 0/6] FM V4L2 drivers for WL128x

2010-11-17 Thread Pavan Savoy
Hans, Mauro, Ohad, On Wed, Nov 17, 2010 at 6:32 PM, Ohad Ben-Cohen wrote: > Hi Manjunatha, > > On Tue, Nov 16, 2010 at 3:18 PM,   wrote: >>  drivers/staging/ti-st/Kconfig        |   10 + >>  drivers/staging/ti-st/Makefile       |    2 + >>  drivers/staging/ti-st/fmdrv.h        |  259 >>  dri

[patch] [media] cx231xx: stray unlock on error path

2010-11-17 Thread Dan Carpenter
The lock isn't held here and doesn't need to be unlocked. The code has been like this since the driver was merged. Signed-off-by: Dan Carpenter diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c index 56c2d81..b7b905f 100644 --- a/drivers/me

[patch] [media] bt8xx: missing unlock in bttv_overlay()

2010-11-17 Thread Dan Carpenter
There is a missing unlock here. This was introduced as part of BKL removal in c37db91fd0d4 "V4L/DVB: bttv: fix driver lock and remove explicit calls to BKL" Signed-off-by: Dan Carpenter diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 3da6e80

Re: Translation faults with OMAP ISP

2010-11-17 Thread Lane Brooks
On 11/17/2010 04:09 PM, Laurent Pinchart wrote: Hi Lane, On Wednesday 17 November 2010 00:46:27 Lane Brooks wrote: Laurent, I am getting iommu translation errors when I try to use the CCDC output after using the Resizer output. If I use the CCDC output to stream some video, then close it down

Re: Translation faults with OMAP ISP

2010-11-17 Thread Laurent Pinchart
Hi Lane, On Wednesday 17 November 2010 00:46:27 Lane Brooks wrote: > Laurent, > > I am getting iommu translation errors when I try to use the CCDC output > after using the Resizer output. > > If I use the CCDC output to stream some video, then close it down, > switch to the Resizer output and op

[PATCH] rc: fix sysfs entry for mceusb and streamzap

2010-11-17 Thread Jarod Wilson
>From 4c13334d96e667dfbad90882ffe671d598d30d7f Mon Sep 17 00:00:00 2001 From: Paul Bender Date: Wed, 17 Nov 2010 14:56:17 -0500 Subject: [PATCH] rc: fix sysfs entry for mceusb and streamzap When trying to create persistent device names for mceusb and streamzap devices, I noticed that their respec

HVR900H : analog audio input

2010-11-17 Thread Massis Sirapian
Hi, In parallel of my IR investigations, I've tried to capture audio+video through RCA+S-VIDEO. tvtime works perfectly to show the video stream, but it complains about a mute card for audio. Loading tm6000-alsa doesn't change anything and alsamixer says device has no control. dmesg says

Re: [GIT PATCHES FOR 2.6.38] mantis for_2.6.38

2010-11-17 Thread Mauro Carvalho Chehab
Em 17-11-2010 17:43, Marko Ristola escreveu: > > Hi Bjørn Mork and Mauro Carvalho Chehab. > > The following patch was an experiment and wasn't actually meant for inclusion > into the Kernel. > Jul,10 2010: Mantis driver patch: use interrupt for I2C traffic instead of busy reg http://

Re: [patch 3/3] [media] lirc_dev: fixes in lirc_dev_fop_read()

2010-11-17 Thread Jarod Wilson
On Wed, Nov 17, 2010 at 08:20:15AM +0300, Dan Carpenter wrote: > This makes several changes but they're in one function and sort of > related: > > "buf" was leaked on error. The leak if we try to read an invalid > length is the main concern because it could be triggered over and > over. > > If t

Re: [patch 2/3] [media] lirc_dev: add some __user annotations

2010-11-17 Thread Jarod Wilson
On Wed, Nov 17, 2010 at 08:13:39AM +0300, Dan Carpenter wrote: > Sparse complains because there are no __user annotations. > > drivers/media/IR/lirc_dev.c:156:27: warning: > incorrect type in initializer (incompatible argument 2 (different > address spaces)) > drivers/media/IR/lirc_dev.c:15

Re: [patch 1/3] [media] lirc_dev: stray unlock in lirc_dev_fop_poll()

2010-11-17 Thread Jarod Wilson
On Wed, Nov 17, 2010 at 08:12:23AM +0300, Dan Carpenter wrote: > We shouldn't unlock here. I think this was a cut and paste error. Yeah, looks like it. Acked-by: Jarod Wilson -- Jarod Wilson ja...@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the bod

Re: [cron job] v4l-dvb daily build: WARNINGS

2010-11-17 Thread Hans Verkuil
On Wednesday, November 17, 2010 19:51:22 Anca Emanuel wrote: > On Wed, Nov 17, 2010 at 8:27 PM, Hans Verkuil wrote: > > 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: > > > >

Re: [GIT PATCHES FOR 2.6.38] mantis for_2.6.38

2010-11-17 Thread Marko Ristola
Hi Bjørn Mork and Mauro Carvalho Chehab. The following patch was an experiment and wasn't actually meant for inclusion into the Kernel. >>> Jul,10 2010: Mantis driver patch: use interrupt for I2C traffic instead of >>> busy reg http://patchwork.kernel.org/patch/111245 Marko Ristola >>> Wou

Re: HVR900H : IR Remote Control

2010-11-17 Thread Massis Sirapian
load the tm6000 module with the parameter "ir_debug=1". (not the tm6000_dvb), and check dmsg after you pressed a button. Have the received code the same from the map? I have only [ 5232.133592] tm5600/60x0 IR (tm6000 #0)/ir: ir->get_key result data= endlessly, and nothing seems to change w

[PATCH 04/10] [media] Rename all public generic RC functions from ir_ to rc_

2010-11-17 Thread Mauro Carvalho Chehab
Those functions are not InfraRed specific. So, rename them to properly reflect it. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb/dm1105/dm1105.c b/drivers/media/dvb/dm1105/dm1105.c index e9cacf6..2d8b404 100644 --- a/drivers/media/dvb/dm1105/dm1105.c +++ b/drivers/media/dv

[PATCH 03/10] [media] rc: rename the remaining things to rc_core

2010-11-17 Thread Mauro Carvalho Chehab
The Remote Controller subsystem is meant to be used not only by Infra Red but also for similar types of Remote Controllers. The core is not specific to Infra Red. As such, rename: - ir-core.h to rc-core.h - IR_CORE to RC_CORE - namespace inside rc-core.c/rc-core.h To be con

[PATCH 02/10] [media] rc: Remove ir-common.h

2010-11-17 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab delete mode 100644 include/media/ir-common.h diff --git a/drivers/media/video/bt8xx/bttv-input.c b/drivers/media/video/bt8xx/bttv-input.c index e8f60ab..e4df7f8 100644 --- a/drivers/media/video/bt8xx/bttv-input.c +++ b/drivers/media/video/bt8xx/bttv-input.c

[PATCH 01/10] [media] rc: remove ir-common module

2010-11-17 Thread Mauro Carvalho Chehab
Something weird happened with commit 740069e6e043403199dbe2b42256722fb814f6ae. Instead of dong the right thing, it got somehow corrupted and reverted the rc changes. Thanks to David Härdeman for pointing me about the problem. This patch should be merged with 740069e6e04 before sending upstream.

[PATCH 00/10] rc: rc cleanup/renaming patches

2010-11-17 Thread Mauro Carvalho Chehab
The patch that removed ir-common.h were broken. After fixing it, I noticed that some cleanups were required. I ended by doing a large renaming stuff to compliment the changes made so far. The logic I used for the renaming logic at RC subsystem is: - All non-IR specific stuff is called rc_

[PATCH 10/10] [media] rc: Rename IR raw interface to ir-raw.c

2010-11-17 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab create mode 100644 drivers/media/rc/ir-raw.c delete mode 100644 drivers/media/rc/rc-raw.c diff --git a/drivers/media/rc/Makefile b/drivers/media/rc/Makefile index 21251ba..78ac8c5 100644 --- a/drivers/media/rc/Makefile +++ b/drivers/media/rc/Makefile @@ -1,

[PATCH 07/10] [media] rc: Properly name the rc_map struct

2010-11-17 Thread Mauro Carvalho Chehab
The struct that describes a rc mapping had an weird and long name. We should properly name it, to make easier for developers to work with it, and to avoid confusion. Basically, generated by this script: for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]

[PATCH 05/10] [media] cx231xx: Properly name rc_map name

2010-11-17 Thread Mauro Carvalho Chehab
rc_map is confusing, as it may be understood as another thing. Properly rename the field to indicate its usage. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c index ac4bf2c..bfa3251 100644 --- a/drivers

Re: [cron job] v4l-dvb daily build: WARNINGS

2010-11-17 Thread Anca Emanuel
On Wed, Nov 17, 2010 at 8:27 PM, Hans Verkuil wrote: > 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:        Wed Nov 17 19:00:17 CET 2010 > path:        http://www.linuxtv

[cron job] v4l-dvb daily build: WARNINGS

2010-11-17 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:Wed Nov 17 19:00:17 CET 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15167:abd3aac6644e git master:

[Job posting] Linux software developer with experience with the Video4Linux2 API / ALSA

2010-11-17 Thread Curtis Hall
Note, before posting this I asked in the #v4l channel on freenode if a (single) announcement for a job posting would be acceptable. I was told that it should be okay, so if it's against the policy let me know (I do apologize if it is). We are looking for a Linux software developer for our Lin

Re: [PATCH 01/10] MCDE: Add hardware abstraction layer

2010-11-17 Thread Joe Perches
On Wed, 2010-11-17 at 10:55 +0100, Arnd Bergmann wrote: > On Tuesday 16 November 2010, Joe Perches wrote: > > static inline u32 MCDE_channel_path(u32 chnl, u32 fifo, u32 type, u32 ifc, > > u32 link) > > { > > return ((chnl << 16) | > > (fifo << 12) | > > (ty

Re: [RFC PATCH 0/8] V4L BKL removal: first round

2010-11-17 Thread David Ellingsworth
On Tue, Nov 16, 2010 at 4:42 PM, Hans Verkuil wrote: > On Tuesday, November 16, 2010 22:32:57 David Ellingsworth wrote: >> Hans, >> >> I've had some patches pending for a while now that affect the dsbr100 >> driver. The patches can be seen here: >> http://desource.dyndns.org/~atog/gitweb/?p=linux-

[PATCH] streamzap: merge timeout space with trailing space

2010-11-17 Thread Jarod Wilson
There are cases where we get an ending space, and our trailing timeout space then gets sent right after it, which breaks repeat, at least for lirc userspace decoding. Merge the two spaces by way of using ir_raw_event_store_filter, set a timeout value, and we're back to good. Successfully tested wi

[PATCH v16 0/2] *** SUBJECT HERE ***

2010-11-17 Thread Matti J. Aaltonen
Hello all, This the sixteenth version of the patch set. On Tue, 2010-11-16 at 12:19 -0200, ext Mauro Carvalho Chehab wrote: > > The proper way is to add the core stuff to drivers/media/radio, adding just > the mfd glue at drivers/mfd. Now I've moved basically all of the stuff to the drivers/med

[PATCH v16 1/2] MFD: WL1273 FM Radio: MFD driver for the FM radio.

2010-11-17 Thread Matti J. Aaltonen
This is the core of the WL1273 FM radio driver, it connects the two child modules. This is a parent for two child drivers: drivers/media/radio/radio-wl1273.c and sound/soc/codecs/wl1273.c Radio-wl1273 implements the V4L2 interface and the communication to the device. The ALSA codec is for digital

Re: [PATCH v4 0/6] FM V4L2 drivers for WL128x

2010-11-17 Thread Ohad Ben-Cohen
Hi Manjunatha, On Tue, Nov 16, 2010 at 3:18 PM, wrote: >  drivers/staging/ti-st/Kconfig        |   10 + >  drivers/staging/ti-st/Makefile       |    2 + >  drivers/staging/ti-st/fmdrv.h        |  259 >  drivers/staging/ti-st/fmdrv_common.c | 2141 > ++ >  dri

Re: [PATCH 1/1] videobuf: Initialize lists in videobuf_buffer.

2010-11-17 Thread Hans Verkuil
> Hi Hans, > > On Wednesday 17 November 2010 08:11:06 Hans Verkuil wrote: >> On Wednesday, November 17, 2010 02:38:09 Andrew Chew wrote: >> > > > diff --git a/drivers/media/video/videobuf-dma-contig.c >> > > >> > > b/drivers/media/video/videobuf-dma-contig.c >> > > >> > > > index c969111..f7e0f86

Re: [PATCH 1/1] videobuf: Initialize lists in videobuf_buffer.

2010-11-17 Thread Laurent Pinchart
Hi Hans, On Wednesday 17 November 2010 08:11:06 Hans Verkuil wrote: > On Wednesday, November 17, 2010 02:38:09 Andrew Chew wrote: > > > > diff --git a/drivers/media/video/videobuf-dma-contig.c > > > > > > b/drivers/media/video/videobuf-dma-contig.c > > > > > > > index c969111..f7e0f86 100644 > >

Re: Question about setting V4L2_CID_AUTO_WHITE_BALANCE control to FALSE

2010-11-17 Thread Laurent Pinchart
Hi, On Tuesday 16 November 2010 23:34:11 Shuzhen Wang wrote: > Nevermind. I think behavior #1 makes more sense. I agree with that. > On Tuesday, November 16, 2010 11:30 AM Shuzhen Wang wrote: > > > > When I set V4L2_CID_AUTO_WHITE_BALANCE control to FALSE, which one of the > > following is the

Re: hg pull http://202.88.242.108:8000/hg/var/www/hg/v4l-dvb/

2010-11-17 Thread Manu Abraham
On Wed, Nov 17, 2010 at 7:48 AM, Mauro Carvalho Chehab wrote: > Em 14-11-2010 18:48, Manu Abraham escreveu: >> Mauro, >> >> Please pull from http://202.88.242.108:8000/hg/var/www/hg/v4l-dvb/ >> >> for the following changes. >> >> >> changeset 15168:baa4e8008db5 Mantis, hopper: use MODULE_DEVICE_TA

Re: [RFC/PATCH v5 01/12] media: Media device node support

2010-11-17 Thread Laurent Pinchart
Hi Jonathan, On Wednesday 17 November 2010 01:31:15 Jonathan Corbet wrote: > Here's the first of my more specific comments - probably the only file > I'll get to today... Thanks a lot for the review ! > > The media_devnode structure provides support for registering and > > unregistering characte

[PATCH]v4l: list entries no need to check

2010-11-17 Thread Figo.zhang
list entries are not need to be inited, so it no need for checking. Reported-by: Andrew Chew Signed-off-by: Figo.zhang --- drivers/media/video/mx1_camera.c |3 --- drivers/media/video/pxa_camera.c |3 --- drivers/media/video/sh_mobile_ceu_camera.c |3 --- 3 fil

Re: rtl2832u support

2010-11-17 Thread Damjan Marion
On Oct 19, 2010, at 10:27 PM, Hans Verkuil wrote: > On Tuesday, October 19, 2010 21:26:13 Devin Heitmueller wrote: >> On Tue, Oct 19, 2010 at 1:42 PM, Damjan Marion >> wrote: >>> >>> Hi, >>> >>> Is there any special reason why driver for rtl2832u DVB-T receiver chipset >>> is not included into

Re: [GIT PULL REQUEST v2.] WL1273 FM Radio driver.

2010-11-17 Thread Mauro Carvalho Chehab
Em 16-11-2010 11:35, Matti J. Aaltonen escreveu: > Hi. > > The radio pull request, now using http protocol. > > The following changes since commit > f6614b7bb405a9b35dd28baea989a749492c46b2: > Linus Torvalds (1): > Merge git://git.kernel.org/.../sfrench/cifs-2.6 > > are available in th

Re: An article on the media controller

2010-11-17 Thread Laurent Pinchart
Hi Jonathan, On Tuesday 16 November 2010 23:18:02 Jonathan Corbet wrote: > I've just spent a fair while looking through the September posting of > the media controller code (is there a more recent version?). The > result is a high-level review which interested people can read here: > > htt

[PATCH] drivers/media: nuvoton: fix chip id probe

2010-11-17 Thread Nicolas Kaiser
Make sure we have a matching chip id high and one or the other of the chip id low values. Print the values if the probe fails. Signed-off-by: Nicolas Kaiser --- Like this? Supersedes patch "drivers/media: nuvoton: always true expression". drivers/media/IR/nuvoton-cir.c |7 +-- 1 files c

Re: [PATCH 01/10] MCDE: Add hardware abstraction layer

2010-11-17 Thread Arnd Bergmann
On Tuesday 16 November 2010, Joe Perches wrote: > static inline u32 MCDE_channel_path(u32 chnl, u32 fifo, u32 type, u32 ifc, > u32 link) > { > return ((chnl << 16) | > (fifo << 12) | > (type << 8) | > (ifc << 4) | > (link << 0

[PATCH 2/7] v4l: videobuf2: add generic memory handling routines

2010-11-17 Thread Marek Szyprowski
From: Pawel Osciak Add generic memory handling routines for userspace pointer handling, contiguous memory verification and mapping. Signed-off-by: Pawel Osciak Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park CC: Pawel Osciak --- drivers/media/video/Kconfig|3 +

[PATCH 6/7] v4l: vivi: port to videobuf2

2010-11-17 Thread Marek Szyprowski
Make vivi use videobuf2 in place of videobuf. Signed-off-by: Pawel Osciak Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park CC: Pawel Osciak --- drivers/media/video/Kconfig |2 +- drivers/media/video/vivi.c | 390 --- 2 files changed, 2

[PATCH 5/7] v4l: videobuf2: add read() and write() emulator

2010-11-17 Thread Marek Szyprowski
Add a generic file io (read and write) emulator for videobuf2. It uses MMAP memory type buffers and generic vb2 calls: req_bufs, qbuf and dqbuf. Video date is being copied from mmap buffers to userspace with standard copy_to_user() function. To add support for file io the driver needs to provide an

[PATCH 1/7] v4l: add videobuf2 Video for Linux 2 driver framework

2010-11-17 Thread Marek Szyprowski
From: Pawel Osciak Videobuf2 is a Video for Linux 2 API-compatible driver framework for multimedia devices. It acts as an intermediate layer between userspace applications and device drivers. It also provides low-level, modular memory management functions for drivers. Videobuf2 eases driver deve

[PATCH 7/7] v4l: videobuf2: add CMA allocator

2010-11-17 Thread Marek Szyprowski
From: Pawel Osciak Add support for the CMA contiguous memory allocator to videobuf2. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski CC: Pawel Osciak --- drivers/media/video/Kconfig |5 + drivers/media/video/Makefile|1 + driv

[PATCH/RFC v4 0/7] Videobuf2 framework

2010-11-17 Thread Marek Szyprowski
Hello, I've finally managed to implement all the items that I presented on Linux Plumbers Conference 2010 in Cambridge, MA, US. This is a major update since the last public version. The most important items are a new locking policy that came after a discussion with Hans Verkuil on Embedded Linux

[PATCH 4/7] v4l: videobuf2: add DMA coherent allocator

2010-11-17 Thread Marek Szyprowski
From: Pawel Osciak Add an implementation of DMA coherent memory allocator and handling routines for videobuf2, implemented on top of dma_alloc_coherent() call. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski CC: Pawel Osciak --- drivers/media/video/K

[PATCH 3/7] v4l: videobuf2: add vmalloc allocator

2010-11-17 Thread Marek Szyprowski
From: Pawel Osciak Add an implementation of contiguous virtual memory allocator and handling routines for videobuf2, implemented on top of vmalloc()/vfree() calls. Signed-off-by: Pawel Osciak Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski CC: Pawel Osciak --- drivers/media/vid

Re: [RFCv2 PATCH 01/15] v4l2-dev: use mutex_lock_interruptible instead of plain mutex_lock

2010-11-17 Thread Arnd Bergmann
On Tuesday 16 November 2010 22:55:32 Hans Verkuil wrote: > Where reasonable use mutex_lock_interruptible instead of mutex_lock. > > Signed-off-by: Hans Verkuil Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...

Re: [RFCv2 PATCH 14/15] V4L: improve the BKL replacement heuristic

2010-11-17 Thread Arnd Bergmann
On Tuesday 16 November 2010 22:56:45 Hans Verkuil wrote: > The BKL replacement mutex had some serious performance side-effects on > V4L drivers. It is replaced by a better heuristic that works around the > worst of the side-effects. > > Read the v4l2-dev.c comments for the whole sorry story. This