[PATCH 02/11] ivtv: use kthread_worker instead of workqueue

2011-08-25 Thread Bhanu Prakash Gollapudi
From: Tejun Heo Upcoming workqueue updates will no longer guarantee fixed workqueue to worker kthread association, so giving RT priority to the irq worker won't work. Use kthread_worker which guarantees specific kthread association instead. This also makes setting the priority cleaner. Signed-

Re: Is DVB ioctl FE_SET_FRONTEND broken?

2011-08-25 Thread Andreas Oberritter
Hello Chris, On 26.08.2011 01:27, Chris Rankin wrote: > As far as I understand it, the FE_SET_FRONTEND ioctl is supposed to tell a > DVB device to tune itself, and will send a poll() event when it completes. > The "frequency" parameter of this event will be the frequency of the newly > tuned ch

Is DVB ioctl FE_SET_FRONTEND broken?

2011-08-25 Thread Chris Rankin
Hi, As far as I understand it, the FE_SET_FRONTEND ioctl is supposed to tell a DVB device to tune itself, and will send a poll() event when it completes. The "frequency" parameter of this event will be the frequency of the newly tuned channel, or 0 if tuning failed. http://www.linuxtv.org/docs

Re: [PATCH 2/2] V4L: mx3-camera: prepare to support multi-size buffers

2011-08-25 Thread Guennadi Liakhovetski
On Thu, 25 Aug 2011, Laurent Pinchart wrote: > Hi Guennadi, > > On Thursday 25 August 2011 18:46:03 Guennadi Liakhovetski wrote: > > Prepare the mx3_camera friver to support the new VIDIOC_CREATE_BUFS and > > VIDIOC_PREPARE_BUF ioctl()s. The .queue_setup() vb2 operation must be > > able to handle

[PATCH v2] [media] vp702x: fix buffer handling

2011-08-25 Thread Florian Mickler
In my previous change to this driver, I was not aware, that dvb_usb_device_init calls the frontend_attach routine which needs a transfer buffer. So we can not setup anything private in the probe routine beforehand but have to allocate when needed. This means also that we cannot use a private buffer

Re: [RFC PATCH] Modify volatile auto cluster handling as per earlier discussions

2011-08-25 Thread Hans de Goede
Hi, First of all thanks for doing this! Overall it looks good, see below for several (small) remarks which I have. On 08/09/2011 06:40 PM, Hans Verkuil wrote: This patch modifies the way autoclusters work when the 'foo' controls are volatile if autofoo is on. E.g.: if autogain is true, then ga

[cron job] v4l-dvb daily build: WARNINGS

2011-08-25 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 Aug 25 19:00:32 CEST 2011 git hash:9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e gcc version: i686-linux-gcc (GCC) 4.6

Re: RDS Alternate Frequency support in V4L2 radio

2011-08-25 Thread halli manjunatha
Resending since first time mail-delivery failed to linux-media Hi Hans, Mauro & list, I wants to add FM Radio RDS Alternate Frequency support in V4L2 and following is my proposal. What is Alternate Frequency? Alternative frequency (or AF) is an option that allows a receiver to re-tune t

DD Cine CT DVB-C/T

2011-08-25 Thread Thomas Kaiser
Hi Which modules do I have to build and install to use this card (DD Cine CT DVB-C/T Rev. V6). I checkd out: hg clone http://linuxtv.org/hg/~endriss/media_build_experimental I would like to build only the needed modules. What do I have to select in "make menuconfig"? Regards, Thomas -- T

Re: [PATCH 2/2] V4L: mx3-camera: prepare to support multi-size buffers

2011-08-25 Thread Laurent Pinchart
Hi Guennadi, On Thursday 25 August 2011 18:46:03 Guennadi Liakhovetski wrote: > Prepare the mx3_camera friver to support the new VIDIOC_CREATE_BUFS and > VIDIOC_PREPARE_BUF ioctl()s. The .queue_setup() vb2 operation must be > able to handle buffer sizes, provided by the caller, and the > .buf_prep

[PATCH 1/2] dmaengine: ipu-idmac: add support for the DMA_PAUSE control

2011-08-25 Thread Guennadi Liakhovetski
To support multi-size buffers in the mx3_camera V4L2 driver we have to be able to stop DMA on a channel without releasing descriptors and completely halting the hardware. Use the DMA_PAUSE control to implement this mode. Signed-off-by: Guennadi Liakhovetski --- drivers/dma/ipu/ipu_idmac.c | 65

[PATCH 0/2] i.MX3: support multi-size buffers in V4L

2011-08-25 Thread Guennadi Liakhovetski
Supporting new V4L2 ioctl()s in the mx3_camera driver also requires an extension for the ipu-idmac dmaengine driver. The original thread, adding the ioctl()s can be found here: http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/37143 Thanks Guennadi --- Guennadi Liakhovetski

[PATCH 2/2] V4L: mx3-camera: prepare to support multi-size buffers

2011-08-25 Thread Guennadi Liakhovetski
Prepare the mx3_camera friver to support the new VIDIOC_CREATE_BUFS and VIDIOC_PREPARE_BUF ioctl()s. The .queue_setup() vb2 operation must be able to handle buffer sizes, provided by the caller, and the .buf_prepare() operation must not use the currently configured frame format for its operation, w

Getting started with OMAP3 ISP

2011-08-25 Thread Gary Thomas
Background: I have working video capture drivers based on the TI PSP codebase from 2.6.32. In particular, I managed to get a driver for the TVP5150 (analogue BT656) working with that kernel. Now I need to update to Linux 3.0, so I'm trying to get a driver working with the rewritten ISP code. S

[RFC PATCH 04/12] saa7146: fix compiler warning

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/common/saa7146_video.c: In function 'video_close': v4l-dvb-git/drivers/media/common/saa7146_video.c:1350:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] Signed-off-by: Hans Verkuil --- drivers/media/common/saa7146_video.c |

[RFC PATCH 05/12] ddbridge: fix compiler warnings

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/dvb/ddbridge/ddbridge-core.c: In function 'ddb_input_read': v4l-dvb-git/drivers/media/dvb/ddbridge/ddbridge-core.c:515:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] v4l-dvb-git/drivers/media/dvb/ddbridge/ddbridge-core.c:514:

[RFC PATCH 10/12] mantis: fix compiler warnings

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/dvb/mantis/hopper_cards.c: In function 'hopper_irq_handler': v4l-dvb-git/drivers/media/dvb/mantis/hopper_cards.c:68:37: warning: variable 'mstat' set but not used [-Wunused-but-set-variable] v4l-dvb-git/drivers/media/dvb/mantis/mantis_cards.c: In fun

[RFC PATCH 09/12] az6027: fix compiler warnings

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/dvb/dvb-usb/az6027.c: In function 'az6027_set_voltage': v4l-dvb-git/drivers/media/dvb/dvb-usb/az6027.c:785:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] v4l-dvb-git/drivers/media/dvb/dvb-usb/az6027.c: In function 'az6027_i2c

[RFC PATCH 11/12] drxd_hard: fix compiler warnings

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/dvb/frontends/drxd_hard.c: In function 'DownloadMicrocode': v4l-dvb-git/drivers/media/dvb/frontends/drxd_hard.c:933:6: warning: variable 'BlockCRC' set but not used [-Wunused-but-set-variable] v4l-dvb-git/drivers/media/dvb/frontends/drxd_hard.c:929:6

[RFC PATCH 12/12] vpx3220, bt819: fix compiler warnings

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/video/vpx3220.c: In function 'vpx3220_status': v4l-dvb-git/drivers/media/video/vpx3220.c:299:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] v4l-dvb-git/drivers/media/video/bt819.c: In function 'bt819_status': v4l-dvb-git/drive

[RFC PATCH 07/12] af9005-fe: fix compiler warning

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/dvb/dvb-usb/af9005-fe.c: In function 'af9005_write_word_agc': v4l-dvb-git/drivers/media/dvb/dvb-usb/af9005-fe.c:66:5: warning: variable 'temp' set but not used [-Wunused-but-set-variable] Signed-off-by: Hans Verkuil --- drivers/media/dvb/dvb-usb/a

[RFC PATCH 08/12] tvaudio: fix compiler warnings

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/video/tvaudio.c: In function 'tvaudio_s_ctrl': v4l-dvb-git/drivers/media/video/tvaudio.c:1697:15: warning: variable 'balance' set but not used [-Wunused-but-set-variable] v4l-dvb-git/drivers/media/video/tvaudio.c:1697:7: warning: variable 'volume' se

[RFC PATCH 03/12] wl128x: fix compiler warning + wrong write() return.

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/radio/wl128x/fmdrv_v4l2.c: In function 'fm_v4l2_fops_write': v4l-dvb-git/drivers/media/radio/wl128x/fmdrv_v4l2.c:81:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] The fix is to check for ret and return -EFAULT if non-zero.

[RFC PATCH 00/12] First round of compiler warning fixes

2011-08-25 Thread Hans Verkuil
The daily build is now compiled with gcc 4.6.1 which produces lots of 'variable set but not used' warnings. This is the first round of fixes. If there are no objections, then I'll make a pull request this weekend. Regards, Hans -- To unsubscribe from this list: send the line "unsubscrib

[RFC PATCH 06/12] mxl5005s: fix compiler warning

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/common/tuners/mxl5005s.c: In function 'MXL_TuneRF': v4l-dvb-git/drivers/media/common/tuners/mxl5005s.c:2327:6: warning: variable 'Xtal_Int' set but not used [-Wunused-but-set-variable] Removed the unused Xtal_Int variable. That made it also possible

[RFC PATCH 01/12] radio-si4713.c: fix compiler warning

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/radio/radio-si4713.c: In function 'radio_si4713_querycap': v4l-dvb-git/drivers/media/radio/radio-si4713.c:95:30: warning: variable 'rsdev' set but not used [-Wunused-but-set-variable] Signed-off-by: Hans Verkuil --- drivers/media/radio/radio-si471

[RFC PATCH 02/12] mt20xx.c: fix compiler warnings

2011-08-25 Thread Hans Verkuil
From: Hans Verkuil v4l-dvb-git/drivers/media/common/tuners/mt20xx.c: In function 'mt2050_set_antenna': v4l-dvb-git/drivers/media/common/tuners/mt20xx.c:433:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] v4l-dvb-git/drivers/media/common/tuners/mt20xx.c: In function 'mt20

RE: [PATCH v2/RFC] media: vb2: change queue initialization order

2011-08-25 Thread Marek Szyprowski
Hello, On Thursday, August 25, 2011 3:27 PM Jonathan Corbet wrote: > On Thu, 25 Aug 2011 12:52:11 +0200 > Marek Szyprowski wrote: > > > This patch changes the order of operations during stream on call. Now the > > buffers are first queued to the driver and then the start_streaming method > > is

dvb_frontend.c warning: can 'timeout' be removed?

2011-08-25 Thread Hans Verkuil
This is the warning the daily build gives: v4l-dvb-git/drivers/media/dvb/dvb-core/dvb_frontend.c: In function 'dvb_frontend_thread': v4l-dvb-git/drivers/media/dvb/dvb-core/dvb_frontend.c:540:16: warning: variable 'timeout' set but not used [-Wunused-but-set-variable] The 'timeout' variable is i

Re: [PATCH v2/RFC] media: vb2: change queue initialization order

2011-08-25 Thread Jonathan Corbet
On Thu, 25 Aug 2011 12:52:11 +0200 Marek Szyprowski wrote: > This patch changes the order of operations during stream on call. Now the > buffers are first queued to the driver and then the start_streaming method > is called. This seems good to me (I guess it should, since I'm the guy who griped

dst_ca.c warning: can ca_send_message be removed?

2011-08-25 Thread Hans Verkuil
Hi Manu, While going through the daily build compiler warnings I came across this one: v4l-dvb-git/drivers/media/dvb/bt8xx/dst_ca.c: In function 'ca_send_message': v4l-dvb-git/drivers/media/dvb/bt8xx/dst_ca.c:480:15: warning: variable 'ca_message_header_len' set but not used [-Wunused-but-set-va

Re: Embedded device and the V4L2 API support - Was: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-25 Thread Mauro Carvalho Chehab
Em 24-08-2011 19:29, Sakari Ailus escreveu: > Hi Mauro, > > On Sat, Aug 20, 2011 at 05:12:56AM -0700, Mauro Carvalho Chehab wrote: >> Em 20-08-2011 04:27, Sylwester Nawrocki escreveu: >>> Hi Mauro, >>> >>> On 08/17/2011 08:13 AM, Mauro Carvalho Chehab wrote: It seems that there are too many m

Streaming analog video with Leadtek Winfast PxDVR3200 H XC4000

2011-08-25 Thread Gonzalo Berdeal
Hello everybody, Following steps of http://istvanv.users.sourceforge.net/v4l/xc4000.html I have been able to receive analog input (composite) and watch it with VLC. Now, I am interested in streaming the MPEG-2 stream generated by the cx23417 encoder chip included with the card. Is this possibl

Re: [PATCH v2/RFC] media: vb2: change queue initialization order

2011-08-25 Thread Guennadi Liakhovetski
On Thu, 25 Aug 2011, Hans Verkuil wrote: > On Thursday, August 25, 2011 12:52:11 Marek Szyprowski wrote: [snip] > > @@ -1110,6 +1110,8 @@ int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer > > *b, bool nonblocking) > > } > > EXPORT_SYMBOL_GPL(vb2_dqbuf); > > > > +static void __vb2_queue_

Re: dma buffers for camera

2011-08-25 Thread Jan Pohanka
Hi Guennadi, The mx2_camera driver is allocating one "discard" buffer of the same size, as regular buffers for cases, when the user is not fast enough to queue new buffers for the running capture. Arguably, this could be aliminated and the last submitted buffer could be re-used until either

radio-si470x-usb.c warning: can I remove 'buf'?

2011-08-25 Thread Hans Verkuil
Hi Tobias, While going through the compile warnings generated in the daily build I came across this one: v4l-dvb-git/drivers/media/radio/si470x/radio-si470x-usb.c: In function 'si470x_int_in_callback': v4l-dvb-git/drivers/media/radio/si470x/radio-si470x-usb.c:398:16: warning: variable 'buf' set

RE: [PATCH v2/RFC] media: vb2: change queue initialization order

2011-08-25 Thread Marek Szyprowski
Hello, On Thursday, August 25, 2011 1:12 PM Hans Verkuil wrote: > On Thursday, August 25, 2011 12:52:11 Marek Szyprowski wrote: > > This patch changes the order of operations during stream on call. Now the > > buffers are first queued to the driver and then the start_streaming method > > is calle

Re: [PATCH 04/14] [media] winbond-cir: Use current logging styles

2011-08-25 Thread David Härdeman
Acked-by: David Härdeman On Sun, 21 Aug 2011 15:56:47 -0700, Joe Perches wrote: > Add pr_fmt, convert printks to pr_. > > Signed-off-by: Joe Perches > --- > drivers/media/rc/winbond-cir.c |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send

[PATCH v2] s5p-csis: Handle all available power supplies

2011-08-25 Thread Sylwester Nawrocki
On the SoCs this driver is intended to support the are three separate pins to supply the MIPI-CSIS subsystem: 1.1V or 1.2V, 1.8V and power supply for an internal PLL. This patch adds support for two separate voltage supplies to cover properly board configurations where PMIC requires to configure in

Re: [PATCH v2/RFC] media: vb2: change queue initialization order

2011-08-25 Thread Hans Verkuil
On Thursday, August 25, 2011 12:52:11 Marek Szyprowski wrote: > This patch changes the order of operations during stream on call. Now the > buffers are first queued to the driver and then the start_streaming method > is called. > > This resolves the most common case when the driver needs to know b

[PATCH v2/RFC] media: vb2: change queue initialization order

2011-08-25 Thread Marek Szyprowski
This patch changes the order of operations during stream on call. Now the buffers are first queued to the driver and then the start_streaming method is called. This resolves the most common case when the driver needs to know buffer addresses to enable dma engine and start streaming. Additional par

Re: Bug#639161: linux-image-3.0.0-1-686-pae: Upgrade 2.6.39 -> 3.0.0 breaks playback on DiBcom 7000PC

2011-08-25 Thread Patrick Boettcher
Hi, Afaik, this is fixed with those commits: [media] dib0700: correct error message for_v3.0 [media] dib0700: protect the dib0700 buffer access [media] DiBcom: protect the I2C bufer access from http://git.linuxtv.org/pb/media_tree.git/shortlog/refs/heads/for_v3.0 A pull request has been sent t

RE: [PATCH 8/8] ARM: S5PV210: example of CMA private area for FIMC device on Goni board

2011-08-25 Thread Marek Szyprowski
Hello, On Wednesday, August 24, 2011 5:41 PM Aguirre, Sergio wrote: > On Fri, Aug 19, 2011 at 04:27:44PM +0200, Marek Szyprowski wrote: > > This patch is an example how device private CMA area can be activated. > > It creates one CMA region and assigns it to the first s5p-fimc device on > > Samsu