public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
	linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 1/6] v4l: vsp1: Remove WPF vertical flip support on VSP2-B[CD] and VSP2-D
Date: Mon, 19 Jun 2017 14:16:10 +0300	[thread overview]
Message-ID: <1880337.HyBPYQX1Jb@avalon> (raw)
In-Reply-To: <01747c5c-bb5e-77ff-c46d-9589c606cef7@xs4all.nl>

Hi Hans,

On Thursday 15 Jun 2017 10:53:33 Hans Verkuil wrote:
> On 06/15/17 10:24, Laurent Pinchart wrote:
> > The WPF vertical flip is only supported on Gen3 SoCs on the VSP2-I.
> > Don't enable it on other VSP2 instances.
> > 
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> 
> Should this go to older kernels as well? Or is that not needed?

Now that I have access to the hardware again, after further testing, it looks 
like vertical flip is implemented in the VSP2-B[CD] and VSP2-D even though the 
datasheet states otherwise. Let's ignore this patch for now, I'll try to 
double-check with Renesas.

> > ---
> > 
> >  drivers/media/platform/vsp1/vsp1_drv.c | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/drivers/media/platform/vsp1/vsp1_drv.c
> > b/drivers/media/platform/vsp1/vsp1_drv.c index 048446af5ae7..239996cf882e
> > 100644
> > --- a/drivers/media/platform/vsp1/vsp1_drv.c
> > +++ b/drivers/media/platform/vsp1/vsp1_drv.c
> > @@ -690,7 +690,7 @@ static const struct vsp1_device_info
> > vsp1_device_infos[] = { 
> >  		.version = VI6_IP_VERSION_MODEL_VSPBD_GEN3,
> >  		.model = "VSP2-BD",
> >  		.gen = 3,
> > -		.features = VSP1_HAS_BRU | VSP1_HAS_WPF_VFLIP,
> > +		.features = VSP1_HAS_BRU,
> >  		.rpf_count = 5,
> >  		.wpf_count = 1,
> >  		.num_bru_inputs = 5,
> > @@ -700,7 +700,7 @@ static const struct vsp1_device_info
> > vsp1_device_infos[] = { 
> >  		.model = "VSP2-BC",
> >  		.gen = 3,
> >  		.features = VSP1_HAS_BRU | VSP1_HAS_CLU | VSP1_HAS_HGO
> > -			  | VSP1_HAS_LUT | VSP1_HAS_WPF_VFLIP,
> > +			  | VSP1_HAS_LUT,
> >  		.rpf_count = 5,
> >  		.wpf_count = 1,
> >  		.num_bru_inputs = 5,
> > @@ -709,7 +709,7 @@ static const struct vsp1_device_info
> > vsp1_device_infos[] = { 
> >  		.version = VI6_IP_VERSION_MODEL_VSPD_GEN3,
> >  		.model = "VSP2-D",
> >  		.gen = 3,
> > -		.features = VSP1_HAS_BRU | VSP1_HAS_LIF | VSP1_HAS_WPF_VFLIP,
> > +		.features = VSP1_HAS_BRU | VSP1_HAS_LIF,
> >  		.rpf_count = 5,
> >  		.wpf_count = 2,
> >  		.num_bru_inputs = 5,

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2017-06-19 11:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-15  8:24 [PATCH 0/6] Renesas R-Car VSP: Add H3 ES2.0 support Laurent Pinchart
2017-06-15  8:24 ` [PATCH 1/6] v4l: vsp1: Remove WPF vertical flip support on VSP2-B[CD] and VSP2-D Laurent Pinchart
2017-06-15  8:53   ` Hans Verkuil
2017-06-19 11:16     ` Laurent Pinchart [this message]
2017-06-19 11:18       ` Hans Verkuil
2017-06-23  9:10         ` Hans Verkuil
2017-06-23 10:30           ` Laurent Pinchart
2017-06-15  8:24 ` [PATCH 2/6] v4l: vsp1: Add support for the BRS entity Laurent Pinchart
2017-06-15  8:24 ` [PATCH 3/6] v4l: vsp1: Add support for new VSP2-BS, VSP2-DL and VSP2-D instances Laurent Pinchart
2017-06-15  8:24 ` [PATCH 4/6] v4l: vsp1: Add pipe index argument to the VSP-DU API Laurent Pinchart
2017-06-15  8:24 ` [PATCH 5/6] v4l: vsp1: Fill display list headers without holding dlm spinlock Laurent Pinchart
2017-06-15  8:24 ` [PATCH 6/6] v4l: vsp1: Add support for header display lists in continuous mode 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=1880337.HyBPYQX1Jb@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=hverkuil@xs4all.nl \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox