linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
To: Nicolas Dufresne <nicolas@ndufresne.ca>,
	Alexandre Courbot <acourbot@chromium.org>,
	Tomasz Figa <tfiga@chromium.org>,
	Maxime Ripard <maxime.ripard@bootlin.com>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Dafna Hirschfeld <dafna3@gmail.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] media: docs-rst: Document m2m stateless video decoder interface
Date: Wed, 17 Apr 2019 19:21:19 +0200	[thread overview]
Message-ID: <943166ee9799daf50615b1148f3f855aa90e9c84.camel@bootlin.com> (raw)
In-Reply-To: <ec607c4917cd205f69de9a19c13a2109ff602477.camel@ndufresne.ca>

Hi,

Le mercredi 17 avril 2019 à 12:17 -0400, Nicolas Dufresne a écrit :
> In general, we say stateless from a HW point of view. It simply means
> that the HW (the accelerator) can be multiplexed to process several
> independent streams. While with stateful firmware, you generally can't
> save the state, and ends up with a specific number of concurrent stream
> (scheduling happens in the firmware). There is exception to that of
> course, the newest Amlogic/Meson video decoder allow for saving the
> decoder state. The registers are undocumented, since they are filled by
> the HW parser, but it's separated in a way that we could multiplex.

That's a nice summary! I think it constitutes a good definition of what
we should call a stateless decoder. Perhaps we could write it down in
the spec somewhere?

> Of course we do have a state in our drivers. Each time you open an m2m
> device, you create an new instance which will keep track of done jobs,
> pending jobs, active format, allocated memory, etc.

Yes, definitely.

Cheers,

Paul


  reply	other threads:[~2019-04-17 17:21 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-06  8:00 [PATCH v4] media: docs-rst: Document m2m stateless video decoder interface Alexandre Courbot
2019-04-12 20:47 ` Nicolas Dufresne
2019-04-14 16:41   ` Paul Kocialkowski
2019-04-14 22:38     ` Nicolas Dufresne
2019-04-15  7:58       ` Paul Kocialkowski
2019-04-15 12:24         ` Nicolas Dufresne
2019-04-15 13:26           ` Paul Kocialkowski
2019-04-15 15:30             ` Nicolas Dufresne
2019-04-16  7:22               ` Alexandre Courbot
2019-04-16  7:55                 ` Paul Kocialkowski
2019-04-17  5:39                   ` Alexandre Courbot
2019-04-17 16:09                     ` Nicolas Dufresne
2019-04-17 16:06                 ` Nicolas Dufresne
2019-04-17 17:18                   ` Paul Kocialkowski
2019-04-26 14:18                 ` Hans Verkuil
2019-04-26 16:28                   ` Paul Kocialkowski
2019-04-27 12:23                     ` Nicolas Dufresne
2019-04-27 12:48                       ` Paul Kocialkowski
2019-04-27 12:06                   ` Nicolas Dufresne
2019-04-29  8:41                     ` Hans Verkuil
2019-04-29  8:48                       ` Paul Kocialkowski
2019-04-29  8:49                         ` Hans Verkuil
2019-04-29  8:50                           ` Paul Kocialkowski
2019-04-29 18:27                         ` Nicolas Dufresne
2019-04-29 20:32                           ` Paul Kocialkowski
2019-04-30  0:47                             ` Nicolas Dufresne
2019-04-16  7:37               ` Paul Kocialkowski
2019-04-17 16:17                 ` Nicolas Dufresne
2019-04-17 17:21                   ` Paul Kocialkowski [this message]
2019-04-17 15:30     ` Nicolas Dufresne
2019-04-17 15:40       ` Paul Kocialkowski
2019-04-17 16:22         ` Nicolas Dufresne

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=943166ee9799daf50615b1148f3f855aa90e9c84.camel@bootlin.com \
    --to=paul.kocialkowski@bootlin.com \
    --cc=acourbot@chromium.org \
    --cc=dafna3@gmail.com \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=maxime.ripard@bootlin.com \
    --cc=mchehab@kernel.org \
    --cc=nicolas@ndufresne.ca \
    --cc=tfiga@chromium.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;
as well as URLs for NNTP newsgroup(s).