public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shuah Khan <shuahkh@osg.samsung.com>
To: Hans Verkuil <hverkuil@xs4all.nl>,
	m.chehab@samsung.com, hans.verkuil@cisco.com,
	dheitmueller@kernellabs.com, prabhakar.csengg@gmail.com,
	sakari.ailus@linux.intel.com, laurent.pinchart@ideasonboard.com,
	ttmesterr@gmail.com
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] media: au0828 - convert to use videobuf2
Date: Mon, 12 Jan 2015 19:00:09 -0700	[thread overview]
Message-ID: <54B47C29.2020802@osg.samsung.com> (raw)
In-Reply-To: <54B3D7FF.2030106@xs4all.nl>

On 01/12/2015 07:19 AM, Hans Verkuil wrote:
> On 12/18/2014 05:20 PM, Shuah Khan wrote:
>> Convert au0828 to use videobuf2. Tested with NTSC.
>> Tested video and vbi devices with xawtv, tvtime,
>> and vlc. Ran v4l2-compliance to ensure there are
>> no new regressions in video and vbi now has 3 fewer
>> failures.
>>
>> video before:
>> test VIDIOC_G_FMT: FAIL 3 failures
>> Total: 72, Succeeded: 69, Failed: 3, Warnings: 0
>>
>> Video after:
>> test VIDIOC_G_FMT: FAIL 3 failures
>> Total: 72, Succeeded: 69, Failed: 3, Warnings: 0
>>
>> vbi before:
>> test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: FAIL
>> test VIDIOC_EXPBUF: FAIL
>> test USERPTR: FAIL
>> Total: 72, Succeeded: 66, Failed: 6, Warnings: 0
>>
>> vbi after:
>> test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
>> test VIDIOC_EXPBUF: OK (Not Supported)
>> test USERPTR: OK
>> Total: 72, Succeeded: 69, Failed: 3, Warnings: 0
>>
>> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
>> ---
>>  drivers/media/usb/au0828/Kconfig        |   2 +-
>>  drivers/media/usb/au0828/au0828-cards.c |   2 +-
>>  drivers/media/usb/au0828/au0828-vbi.c   | 122 ++--
>>  drivers/media/usb/au0828/au0828-video.c | 949 +++++++++++++-------------------
>>  drivers/media/usb/au0828/au0828.h       |  61 +-
>>  5 files changed, 444 insertions(+), 692 deletions(-)
>>
>> diff --git a/drivers/media/usb/au0828/Kconfig b/drivers/media/usb/au0828/Kconfig
>> index 1d410ac..78b797e 100644
>> --- a/drivers/media/usb/au0828/Kconfig
>> +++ b/drivers/media/usb/au0828/Kconfig
>> @@ -4,7 +4,7 @@ config VIDEO_AU0828
>>  	depends on I2C && INPUT && DVB_CORE && USB
>>  	select I2C_ALGOBIT
>>  	select VIDEO_TVEEPROM
>> -	select VIDEOBUF_VMALLOC
>> +	select VIDEOBUF2_VMALLOC
>>  	select DVB_AU8522_DTV if MEDIA_SUBDRV_AUTOSELECT
>>  	select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT
>>  	select MEDIA_TUNER_MXL5007T if MEDIA_SUBDRV_AUTOSELECT
>> diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c
>> index 9eb77ac..ae2e563 100644
>> --- a/drivers/media/usb/au0828/au0828-cards.c
>> +++ b/drivers/media/usb/au0828/au0828-cards.c
>> @@ -39,7 +39,7 @@ static void hvr950q_cs5340_audio(void *priv, int enable)
>>  struct au0828_board au0828_boards[] = {
>>  	[AU0828_BOARD_UNKNOWN] = {
>>  		.name	= "Unknown board",
>> -		.tuner_type = UNSET,
>> +		.tuner_type = -1U,
>>  		.tuner_addr = ADDR_UNSET,
>>  	},
>>  	[AU0828_BOARD_HAUPPAUGE_HVR850] = {
> 
> I would split off this au0828-cards.c change into a separate patch. It has nothing to
> do with the vb2 conversion.
> 

I will split this patch and add it to the series.

-- Shuah

-- 
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@osg.samsung.com | (970) 217-8978

  reply	other threads:[~2015-01-13  2:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-18 16:20 [PATCH v2 0/3] au0828 vb2 conversion Shuah Khan
2014-12-18 16:20 ` [PATCH v2 1/3] media: au0828 - convert to use videobuf2 Shuah Khan
2015-01-12 14:19   ` Hans Verkuil
2015-01-13  2:00     ` Shuah Khan [this message]
2015-01-12 14:33   ` Hans Verkuil
2014-12-18 16:20 ` [PATCH v2 2/3] media: au0828 change to not zero out fmt.pix.priv Shuah Khan
2015-01-12 13:58   ` Hans Verkuil
2015-01-13  2:13     ` Shuah Khan
2015-01-19 17:07     ` Shuah Khan
2015-01-22 10:31   ` Lad, Prabhakar
2014-12-18 16:20 ` [PATCH v2 3/3] media: au0828 remove video and vbi buffer timeout work-around Shuah Khan
2015-01-12 14:10   ` Hans Verkuil
2015-01-13  2:08     ` Shuah Khan

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=54B47C29.2020802@osg.samsung.com \
    --to=shuahkh@osg.samsung.com \
    --cc=dheitmueller@kernellabs.com \
    --cc=hans.verkuil@cisco.com \
    --cc=hverkuil@xs4all.nl \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    --cc=prabhakar.csengg@gmail.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=ttmesterr@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox