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/5] rcar-vin: Support suspend and resume
Date: Fri, 16 Oct 2020 01:14:03 +0200	[thread overview]
Message-ID: <20201015231408.2399933-1-niklas.soderlund+renesas@ragnatech.se> (raw)

Hi,

This series add suspend and resume support directly to R-Car VIN and 
indirectly to R-Car CSI-2 and other subdevices in the VIN capture 
pipeline. The capture pipeline is stopped when suspending and started 
when resuming, all while retaining the buffers provided from user-space.  
This makes the start and stop of the pipeline transparent from an 
application point of view.

As the pipeline is switched off subdevices that poweroff themself when 
not in use (such as R-Car CSI-2) are also switched off and are 
indirectly serviced by the suspend support in VIN.

This work is based on-top of the media-tree and is tested on both R-Car 
Gen2 and Gen3 without any regressions.

Niklas Söderlund (5):
  rcar-vin: Use scratch buffer when not in running state
  rcar-vin: Remove handling of user-space buffers when stopping
  rcar-vin: Cache the CSI-2 channel selection value
  rcar-vin: Break out hardware start and stop to new methods
  rcar-vin: Add support for suspend and resume

 drivers/media/platform/rcar-vin/rcar-core.c |  51 ++++++++
 drivers/media/platform/rcar-vin/rcar-dma.c  | 129 +++++++++++---------
 drivers/media/platform/rcar-vin/rcar-vin.h  |  15 ++-
 3 files changed, 131 insertions(+), 64 deletions(-)

-- 
2.28.0


             reply	other threads:[~2020-10-15 23:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15 23:14 Niklas Söderlund [this message]
2020-10-15 23:14 ` [PATCH 1/5] rcar-vin: Use scratch buffer when not in running state Niklas Söderlund
2020-10-16 15:52   ` Jacopo Mondi
2020-10-15 23:14 ` [PATCH 2/5] rcar-vin: Remove handling of user-space buffers when stopping Niklas Söderlund
2020-10-16 15:55   ` Jacopo Mondi
2020-10-15 23:14 ` [PATCH 3/5] rcar-vin: Cache the CSI-2 channel selection value Niklas Söderlund
2020-10-16 15:57   ` Jacopo Mondi
2020-10-15 23:14 ` [PATCH 4/5] rcar-vin: Break out hardware start and stop to new methods Niklas Söderlund
2020-10-16 16:00   ` Jacopo Mondi
2020-10-15 23:14 ` [PATCH 5/5] rcar-vin: Add support for suspend and resume Niklas Söderlund
2020-10-16  7:05   ` Geert Uytterhoeven
2020-10-16 16:07   ` Jacopo Mondi
2020-10-16 14:15     ` Niklas Söderlund
2020-10-16 17:26       ` Jacopo Mondi
2020-10-16  7:06 ` [PATCH 0/5] rcar-vin: Support " Geert Uytterhoeven
2020-10-16 10:46   ` Niklas Söderlund
2020-10-16 11:26     ` Geert Uytterhoeven
2020-10-16 12:23       ` Niklas Söderlund
2020-10-16 12:39         ` Geert Uytterhoeven

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=20201015231408.2399933-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.