All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	linux-media@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org,
	"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Subject: [PATCH 0/3] rcar-vin: add support for UDS (Up Down Scaler)
Date: Fri, 14 Sep 2018 04:13:42 +0200	[thread overview]
Message-ID: <20180914021345.9277-1-niklas.soderlund+renesas@ragnatech.se> (raw)

Hi,

This series adds support for Renesas R-Car Gen3 VIN Up Down Scaler 
(UDS). Some VIN instances have access to a often shared UDS which can be 
used to scale the captured image up or down. If the scaler is shared it 
can only be used exclusively by one VIN at a time, switching in runtime 
and detection if a UDS are in use is supported in this series. If the 
user tries to start a capture on a VIN which would require the use of a 
scaler but that scaler is in use -EBUSY is returned.

Patch 1/3 fix a format alignment issue found when working with UDS 
support. While patch 2/3 ands the UDS logic and 3/3 defines which VIN on 
which SoC have access to a UDS and how it's shared.

The series is based on top of media-tree/master and is tested on R-Car 
Gen3 H3, M3-W, M3-N and Gen2 Koelsch (checking for regressions as Gen2 
have no UDS).

Niklas Söderlund (3):
  rcar-vin: align format width with hardware limits
  rcar-vin: add support for UDS (Up Down Scaler)
  rcar-vin: declare which VINs can use a Up Down Scaler (UDS)

 drivers/media/platform/rcar-vin/rcar-core.c |  18 +++
 drivers/media/platform/rcar-vin/rcar-dma.c  | 134 +++++++++++++++++++-
 drivers/media/platform/rcar-vin/rcar-v4l2.c |  15 +++
 drivers/media/platform/rcar-vin/rcar-vin.h  |  24 ++++
 4 files changed, 185 insertions(+), 6 deletions(-)

-- 
2.18.0

             reply	other threads:[~2018-09-14  7:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14  2:13 Niklas Söderlund [this message]
2018-09-14  2:13 ` [PATCH 1/3] rcar-vin: align format width with hardware limits Niklas Söderlund
2018-09-14  8:47   ` Hans Verkuil
2018-10-04 20:01     ` Niklas Söderlund
2018-10-04 20:01       ` Niklas Söderlund
2018-09-14  2:13 ` [PATCH 2/3] rcar-vin: add support for UDS (Up Down Scaler) Niklas Söderlund
2018-09-14  2:13 ` [PATCH 3/3] rcar-vin: declare which VINs can use a Up Down Scaler (UDS) Niklas Söderlund

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=20180914021345.9277-1-niklas.soderlund+renesas@ragnatech.se \
    --to=niklas.soderlund+renesas@ragnatech.se \
    --cc=laurent.pinchart@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.