All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org
Subject: Re: [GIT PULL FOR 2.6.37] uvcvideo: BKL removal
Date: Fri, 17 Dec 2010 15:09:39 -0200	[thread overview]
Message-ID: <4D0B9953.7090202@redhat.com> (raw)
In-Reply-To: <201012141155.20714.laurent.pinchart@ideasonboard.com>

Laurent,

Em 14-12-2010 08:55, Laurent Pinchart escreveu:
> Hi Mauro,
> 
> Please don't forget this pull request for 2.6.37.

Pull request for upstream sent today. 

I didn't find any regressions at the BKL removal patches, but I noticed a few 
issues with qv4l2, not all related to uvcvideo. The remaining of this email is an
attempt to document them for later fixes.

They don't seem to be regressions caused by BKL removal, but the better would be 
to fix them later.

- with uvcvideo and two video apps, if qv4l2 is started first, the second application 
doesn't start/capture. I suspect that REQBUFS (used by qv4l2 to probe mmap/userptr
capabilities) create some resource locking at uvcvideo. The proper way is to lock
the resources only if the driver is streaming, as other drivers and videobuf do.

- with saa7134 and qv4l2 (and after a fix for input capabilities): saa7134 and/or
qv4l2 doesn't seem to work fine if video format is changed to a 60HZ format (NTSC or
PAL/M). It keeps trying to use 576 lines, but the driver only works with 480 lines
for those formats. So, if qv4l2 tries to capture with STD/M, it fails, except if the
number of lines is manually fixed by the user.

- at least with the saa7134 board I used for test, video capture fails on some
conditions. This is not related to BKL patches. I suspect it may be some initialization
failure with the tuner (tda8275/tda8290), but I didn't have time to dig into it, nor
to test with a simpler saa7134 device. The device I used was an Avermedia m135.

> 
> On Monday 29 November 2010 11:15:10 Laurent Pinchart wrote:
>> Hi Mauro,
>>
>> The following changes since commit
>> c796e203229c8c08250f9d372ae4e10c466b1787:
>>
>>   [media] kconfig: add an option to determine a menu's visibility
>> (2010-11-22 10:37:56 -0200)
>>
>> are available in the git repository at:
>>   git://linuxtv.org/pinchartl/uvcvideo.git uvcvideo-stable
>>
>> They complete the BKL removal from the uvcvideo driver. Feedback received
>> from Hans during review has been integrated.



>>
>> Laurent Pinchart (5):
>>       uvcvideo: Lock controls mutex when querying menus
>>       uvcvideo: Move mutex lock/unlock inside uvc_free_buffers
>>       uvcvideo: Move mmap() handler to uvc_queue.c
>>       uvcvideo: Lock stream mutex when accessing format-related information
>>       uvcvideo: Convert to unlocked_ioctl
>>
>>  drivers/media/video/uvc/uvc_ctrl.c  |   48 +++++++++-
>>  drivers/media/video/uvc/uvc_queue.c |  133 +++++++++++++++++++++-----
>>  drivers/media/video/uvc/uvc_v4l2.c  |  185
>> +++++++++++----------------------- drivers/media/video/uvc/uvc_video.c |  
>>  3 -
>>  drivers/media/video/uvc/uvcvideo.h  |   10 ++-
>>  5 files changed, 222 insertions(+), 157 deletions(-)
> 


  reply	other threads:[~2010-12-17 17:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201011291115.11061.laurent.pinchart@ideasonboard.com>
2010-12-14 10:55 ` [GIT PULL FOR 2.6.37] uvcvideo: BKL removal Laurent Pinchart
2010-12-17 17:09   ` Mauro Carvalho Chehab [this message]
2010-12-18  0:54     ` Laurent Pinchart
2010-12-18 10:45       ` Hans Verkuil
2010-12-20 12:10         ` Mauro Carvalho Chehab
2010-12-20 12:28           ` Hans Verkuil
2010-12-20 12:35             ` Laurent Pinchart
2010-12-20 12:45               ` Hans Verkuil
2010-12-20 12:48                 ` Laurent Pinchart
2010-12-20 13:09                   ` Hans Verkuil
2010-12-23  9:02                     ` Laurent Pinchart
2010-12-23  9:20                       ` Hans Verkuil
2010-12-23  9:27                         ` Laurent Pinchart
2010-12-23  9:37                           ` Hans Verkuil
2010-12-23 13:04                       ` Andy Walls
2010-12-23 13:08                         ` Hans Verkuil
2010-12-21 11:10             ` Mauro Carvalho Chehab
2010-12-23  8:34               ` Laurent Pinchart
2010-12-23  8:53                 ` Laurent Pinchart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D0B9953.7090202@redhat.com \
    --to=mchehab@redhat.com \
    --cc=hverkuil@xs4all.nl \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.