public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>,
	linux-media@vger.kernel.org
Cc: dale.hamel@srvthe.net, michael@stegemann.it
Subject: Re: [PATCH v2 0/2] stk1160: Frame scaling and "de-verbosification"
Date: Mon, 08 Jun 2015 12:02:22 +0200	[thread overview]
Message-ID: <5575682E.3000209@xs4all.nl> (raw)
In-Reply-To: <1433629618-1833-1-git-send-email-ezequiel@vanguardiasur.com.ar>

Hi Ezequiel,

On 06/07/2015 12:26 AM, Ezequiel Garcia wrote:
> I've removed the driver verbosity and fixed the frame scale implementation.
> In addition to the usual mplayer/vlc/qv4l2, it's tested with v4l2-compliance
> on 4.1-rc4.

I recommend you use the media_tree.git master branch: v4l2-compliance is always
in sync with that one.

I'm not getting the issues you show below with v4l2-compliance -s (although once
it starts streaming I get sequence errors, see the patch I posted that fixes that).

So use the media_tree master branch and use the latest v4l2-compliance. If you still
get the error you see below, then that needs to be investigated further, since I
don't see it.

However, testing with v4l2-compliance -f (which tests scaling) just stalls:

Test input 0:

Stream using all formats:
        test MMAP for Format UYVY, Frame Size 6x4:

It sits there until I press Ctrl-C.

This is NTSC input, BTW.

Regards,

	Hans

> 
> v4l2-compliance passes:
> Total: 111, Succeeded: 111, Failed: 0, Warnings: 5
> 
> v4l2-compliance -s shows some failures, but AFAICS it's not the
> driver's fault as the failing ioclt are handled by generic
> implementations (vb2_ioctl_reqbufs):
> 
> 	test MMAP: FAIL
> 		VIDIOC_QUERYCAP returned 0 (Success)
> 		VIDIOC_QUERY_EXT_CTRL returned 0 (Success)
> 		VIDIOC_TRY_EXT_CTRLS returned 0 (Success)
> 		VIDIOC_QUERYCTRL returned 0 (Success)
> 		VIDIOC_G_SELECTION returned -1 (Inappropriate ioctl for device)
> 		VIDIOC_REQBUFS returned -1 (Device or resource busy)
> 		fail: v4l2-test-buffers.cpp(976): ret != EINVAL
> 	test USERPTR: FAIL
> 		VIDIOC_QUERYCAP returned 0 (Success)
> 		VIDIOC_QUERY_EXT_CTRL returned 0 (Success)
> 		VIDIOC_TRY_EXT_CTRLS returned 0 (Success)
> 		VIDIOC_QUERYCTRL returned 0 (Success)
> 		VIDIOC_G_SELECTION returned -1 (Inappropriate ioctl for device)
> 		VIDIOC_REQBUFS returned -1 (Invalid argument)
> 	test DMABUF: OK (Not Supported)
> 		VIDIOC_QUERYCAP returned 0 (Success)
> 		VIDIOC_QUERY_EXT_CTRL returned 0 (Success)
> 		VIDIOC_TRY_EXT_CTRLS returned 0 (Success)
> 		VIDIOC_QUERYCTRL returned 0 (Success)
> 		VIDIOC_G_SELECTION returned -1 (Inappropriate ioctl for device)
> 
> Total: 115, Succeeded: 113, Failed: 2, Warnings: 5
> 
> Thanks,
> 
> Ezequiel Garcia (2):
>   stk1160: Reduce driver verbosity
>   stk1160: Add frame scaling support
> 
>  drivers/media/usb/stk1160/stk1160-core.c |   5 +-
>  drivers/media/usb/stk1160/stk1160-reg.h  |  34 ++++++
>  drivers/media/usb/stk1160/stk1160-v4l.c  | 203 +++++++++++++++++++++++++------
>  drivers/media/usb/stk1160/stk1160.h      |   1 -
>  4 files changed, 202 insertions(+), 41 deletions(-)
> 


  parent reply	other threads:[~2015-06-08 10:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-06 22:26 [PATCH v2 0/2] stk1160: Frame scaling and "de-verbosification" Ezequiel Garcia
2015-06-06 22:26 ` [PATCH v2 1/2] stk1160: Reduce driver verbosity Ezequiel Garcia
2015-06-06 22:26 ` [PATCH v2 2/2] stk1160: Add frame scaling support Ezequiel Garcia
2015-06-08 10:02 ` Hans Verkuil [this message]
2015-06-08 15:28   ` [PATCH v2 0/2] stk1160: Frame scaling and "de-verbosification" Ezequiel Garcia
2015-06-08 16:35     ` Hans Verkuil

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=5575682E.3000209@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=dale.hamel@srvthe.net \
    --cc=ezequiel@vanguardiasur.com.ar \
    --cc=linux-media@vger.kernel.org \
    --cc=michael@stegemann.it \
    /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