[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54B47C29.2020802@osg.samsung.com>
Date: Mon, 12 Jan 2015 19:00:09 -0700
From: Shuah Khan <shuahkh@....samsung.com>
To: Hans Verkuil <hverkuil@...all.nl>, m.chehab@...sung.com,
hans.verkuil@...co.com, dheitmueller@...nellabs.com,
prabhakar.csengg@...il.com, sakari.ailus@...ux.intel.com,
laurent.pinchart@...asonboard.com, ttmesterr@...il.com
CC: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/3] media: au0828 - convert to use videobuf2
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@....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@....samsung.com | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists