linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Philipp Zabel <p.zabel@pengutronix.de>, linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>,
	Kamil Debski <k.debski@samsung.com>,
	Fabio Estevam <fabio.estevam@freescale.com>,
	Nicolas Dufresne <nicolas.dufresne@collabora.com>,
	kernel@pengutronix.de
Subject: Re: [PATCH 04/11] [media] coda: remove VB2_USERPTR from queue io_modes
Date: Thu, 17 Jul 2014 18:10:17 +0200	[thread overview]
Message-ID: <53C7F569.9080809@xs4all.nl> (raw)
In-Reply-To: <1405613112-22442-5-git-send-email-p.zabel@pengutronix.de>

On 07/17/2014 06:05 PM, Philipp Zabel wrote:
> Disallow USERPTR buffers, videobuf2-dma-contig doesn't support them.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>

Regards,

	Hans

> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
>  drivers/media/platform/coda.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
> index f52d17c..917727e 100644
> --- a/drivers/media/platform/coda.c
> +++ b/drivers/media/platform/coda.c
> @@ -2865,7 +2865,7 @@ static int coda_queue_init(void *priv, struct vb2_queue *src_vq,
>  	int ret;
>  
>  	src_vq->type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
> -	src_vq->io_modes = VB2_DMABUF | VB2_MMAP | VB2_USERPTR;
> +	src_vq->io_modes = VB2_DMABUF | VB2_MMAP;
>  	src_vq->drv_priv = ctx;
>  	src_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer);
>  	src_vq->ops = &coda_qops;
> @@ -2878,7 +2878,7 @@ static int coda_queue_init(void *priv, struct vb2_queue *src_vq,
>  		return ret;
>  
>  	dst_vq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
> -	dst_vq->io_modes = VB2_DMABUF | VB2_MMAP | VB2_USERPTR;
> +	dst_vq->io_modes = VB2_DMABUF | VB2_MMAP;
>  	dst_vq->drv_priv = ctx;
>  	dst_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer);
>  	dst_vq->ops = &coda_qops;
> 


  reply	other threads:[~2014-07-17 16:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17 16:05 [PATCH 00/11] CODA encoder/decoder device split Philipp Zabel
2014-07-17 16:05 ` [PATCH 01/11] [media] coda: fix CODA7541 hardware reset Philipp Zabel
2014-07-17 16:05 ` [PATCH 02/11] [media] coda: initialize hardware on pm runtime resume only if firmware available Philipp Zabel
2014-07-17 16:05 ` [PATCH 03/11] [media] coda: remove CAPTURE and OUTPUT caps Philipp Zabel
2014-07-17 16:08   ` Hans Verkuil
2014-07-17 16:05 ` [PATCH 04/11] [media] coda: remove VB2_USERPTR from queue io_modes Philipp Zabel
2014-07-17 16:10   ` Hans Verkuil [this message]
2014-07-17 16:05 ` [PATCH 05/11] [media] coda: use CODA_MAX_FRAME_SIZE everywhere Philipp Zabel
2014-07-17 16:05 ` [PATCH 06/11] [media] coda: delay coda_fill_bitstream() Philipp Zabel
2014-07-17 16:17   ` Hans Verkuil
2014-07-17 17:30     ` Philipp Zabel
2014-07-17 16:05 ` [PATCH 07/11] [media] coda: lock capture frame size to output frame size when streaming Philipp Zabel
2014-07-17 16:19   ` Hans Verkuil
2014-07-17 16:05 ` [PATCH 08/11] [media] coda: split userspace interface into encoder and decoder device Philipp Zabel
2014-07-17 16:21   ` Hans Verkuil
2014-07-17 16:05 ` [PATCH 09/11] [media] coda: split format enumeration for encoder end " Philipp Zabel
2014-07-17 16:23   ` Hans Verkuil
2014-07-17 16:05 ` [PATCH 10/11] [media] coda: default to h.264 decoder on invalid formats Philipp Zabel
2014-07-17 16:24   ` Hans Verkuil
2014-07-17 16:05 ` [PATCH 11/11] [media] coda: mark constant structures as such Philipp Zabel
2014-07-17 16:24   ` 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=53C7F569.9080809@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=fabio.estevam@freescale.com \
    --cc=k.debski@samsung.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    --cc=nicolas.dufresne@collabora.com \
    --cc=p.zabel@pengutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).