mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
To: Daniel Golle <daniel@makrotopia.org>,
	Paul Kocialkowski <paulk@sys-base.io>
Cc: Michael Nazzareno Trimarchi <michael@amarulasolutions.com>,
	 devicetree@vger.kernel.org, imx@lists.linux.dev,
	 linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,  linux-media@vger.kernel.org,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski	 <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo	 <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Benjamin Gaignard <benjamin.gaignard@collabora.com>,
	Philipp Zabel	 <p.zabel@pengutronix.de>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Hans Verkuil <hverkuil@kernel.org>,
	Marco Felsch <m.felsch@pengutronix.de>,
	Michael Tretter	 <m.tretter@pengutronix.de>,
	Detlev Casanova <detlev.casanova@collabora.com>
Subject: Re: [PATCH 00/14] media: Add V4L2 H.264 stateless encode and VC8000E support
Date: Tue, 01 Dec 2026 14:14:17 -0500	[thread overview]
Message-ID: <3e19a76855cb5a005558043318fc8b1bcc597eb5.camel@collabora.com> (raw)
In-Reply-To: <aw7atQdQEvg-I5Zc@makrotopia.org>

[-- Attachment #1: Type: text/plain, Size: 2909 bytes --]

Hi Daniel,

Le mardi 01 décembre 2026 à 14:33 +0000, Daniel Golle a écrit :
> One open point outside our two series: in the VEPU510 thread Nicolas
> explained that encoders which can protect memory through an IOMMU,
> like this one, are meant for the DRM-style driver with Vulkan Video
> in userspace. I am asking him and Detlev in my RFC thread [1] whether
> RKVENC v1 is in scope for that work. If it is not, the V4L2 stateless
> driver would be the interface for this block, and the port is worth
> starting.

Thanks for you work. I'll speak for my part here. Due to the high amount of
media patches, its been a little hard for me to keep-up with the V4L2 side
of stateless encoders. From a top level maintainer perspective, of course a
second implementation is needed, along with the missing V4L2 Stateless
Decoder specification. Though, I have no intention to block any direction,
as long as contributors are also ready to support and maintain the new
interface. I will defer to Paul reviewing and commenting on the a second
implementation, and possibly handling the maintenance from there. I
understand you went for a fully stateful implementation. Unlike decoders,
this has always been an option, I think Paul wanted to introduce an hybrid
to reduce the kernel complexity and maintain some of the flexibility
stateless provides. Either way, there is so much these driver can share,
that its totally worth having the discussion. And if you adopt Paul's
stateless approach, then the better.

Though, Detlev and I are entirely focus on something more future proof in
our opinion when comes to sateless encoders (and eventually decoders). We
want to make drivers for Vulkan Video standard, removing V4L2 standard, and
do this without having to do a large amount of compromises. We have early
version of this driver working on our target, RK3588. We are polishing the
kernel API, and Mesa side, as we are following the upstream GPU driver
model. I know it sends a mix signal, and people will endup debating V4L2 vs
DRM here, but this is our conviction for future of embedded CODECs on
Linux. We are very happy if anyone wants to jump on the boat with us, but
getting upstream with that is not just a matter of having code. There is a
lot of things to rediscover, safety, memory management, fencing, etc. And
we also have to work with Khronos, since Vulkan Video only driver is not
yet officially supported.

Though, I do engage in maintaining rkvdec and hantro as long as people care
about it. The DRM drivers can always expose a mail box API internally, so
if we want to, we can eventually make the V4L2 and DRM drivers cooperate,
its just not really the priority right now for us. We want to do this
right, and upstream. Detlev will soon reply on your other emails with more
details on the other project and how you can help there.

regards,
Nicolas


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2026-12-01 19:14 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-22 10:16 Paul Kocialkowski
2026-05-22 10:16 ` [PATCH 01/14] media: h264: Add a more generic reflist builder init Paul Kocialkowski
2026-11-17 21:06   ` Nicolas Dufresne
2026-05-22 10:16 ` [PATCH 02/14] media: uapi: Add H.264 stateless encode support Paul Kocialkowski
2026-11-17 21:30   ` Nicolas Dufresne
2026-12-01 14:25     ` Daniel Golle
2026-05-22 10:16 ` [PATCH 03/14] media: h264: Add SPS video definitions Paul Kocialkowski
2026-11-17 21:31   ` Nicolas Dufresne
2026-11-17 21:34   ` Nicolas Dufresne
2026-05-22 10:16 ` [PATCH 04/14] media: h264: Add stateless encode core Paul Kocialkowski
2026-11-17 21:37   ` Nicolas Dufresne
2026-05-22 10:16 ` [PATCH 05/14] media: h264: Add stateless encode rbsp Paul Kocialkowski
2026-05-22 10:16 ` [PATCH 06/14] media: h264: Add stateless encode reference management Paul Kocialkowski
2026-05-22 10:16 ` [PATCH 07/14] media: h264: Add stateless encode rate control Paul Kocialkowski
2026-05-22 10:16 ` [PATCH 08/14] media: verisilicon: Report default pixel coding for non-JPEG and fix JPEG case Paul Kocialkowski
2026-05-22 10:16 ` [PATCH 09/14] media: verisilicon: Cancel job with runtime pm put/clk disable on failure Paul Kocialkowski
2026-11-17 21:42   ` Nicolas Dufresne
2026-05-22 10:16 ` [PATCH 10/14] media: hantro: use hantro_decoded_buffer only for dst_vq Paul Kocialkowski
2026-11-17 21:48   ` Nicolas Dufresne
2026-05-22 10:16 ` [PATCH 11/14] media: verisilicon: Add common encoder parm and frameintervals ioctls Paul Kocialkowski
2026-11-17 21:50   ` Nicolas Dufresne
2026-05-22 10:16 ` [PATCH 12/14] media: verisilicon: Add support for the VC8000E H.264 encoder Paul Kocialkowski
2026-11-17 22:00   ` Nicolas Dufresne
2026-05-22 10:16 ` [PATCH 13/14] media: verilisicon: imx8m: Add support for the VC8000E on i.MX8MP Paul Kocialkowski
2026-05-22 10:16 ` [PATCH 14/14] arm64: dts: imx8mp: add VC8000E encoder node Paul Kocialkowski
2026-05-22 11:28   ` Fabio Estevam
2026-11-17 22:02   ` Nicolas Dufresne
2026-05-22 14:47 ` [PATCH 00/14] media: Add V4L2 H.264 stateless encode and VC8000E support Nicolas Dufresne
2026-09-23 12:10   ` Michael Nazzareno Trimarchi
2026-09-23 20:05     ` Paul Kocialkowski
2026-09-24  5:30       ` Michael Nazzareno Trimarchi
2026-09-24 18:09         ` Paul Kocialkowski
2026-09-24 19:38           ` Michael Nazzareno Trimarchi
2026-09-24 19:44             ` Nicolas Dufresne
2026-09-24 20:30               ` Paul Kocialkowski
2026-09-24 20:46                 ` Nicolas Dufresne
2026-09-30  4:14                   ` Chen-Yu Tsai
2026-12-01 14:33                 ` Daniel Golle
2026-12-01 19:14                   ` Nicolas Dufresne [this message]

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=3e19a76855cb5a005558043318fc8b1bcc597eb5.camel@collabora.com \
    --to=nicolas.dufresne@collabora.com \
    --cc=benjamin.gaignard@collabora.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=detlev.casanova@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hverkuil@kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=m.felsch@pengutronix.de \
    --cc=m.tretter@pengutronix.de \
    --cc=mchehab@kernel.org \
    --cc=michael@amarulasolutions.com \
    --cc=p.zabel@pengutronix.de \
    --cc=paulk@sys-base.io \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@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

all inboxes | Powered by JetHome®