public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Kocialkowski <paulk@sys-base.io>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: "Nicolas Dufresne" <nicolas.dufresne@collabora.com>,
	"Hans Verkuil" <hverkuil+cisco@kernel.org>,
	"Linux Media Mailing List" <linux-media@vger.kernel.org>,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	"Sean Young" <sean@mess.org>,
	"Sakari Ailus" <sakari.ailus@linux.intel.com>,
	"Ricardo Ribalda" <ribalda@chromium.org>,
	"Jacopo Mondi" <jacopo.mondi@ideasonboard.com>,
	"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
	"Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>,
	"Alain Volmat" <alain.volmat@foss.st.com>,
	"Bryan O'Donoghue" <bryan.odonoghue@linaro.org>,
	"Dave Stevenson" <dave.stevenson@raspberrypi.com>,
	"Daniel Almeida" <daniel.almeida@collabora.com>,
	"Michael Tretter" <m.tretter@pengutronix.de>,
	"Tomasz Figa" <tfiga@chromium.org>,
	"Steve Cho" <stevecho@chromium.org>,
	"Kieran Bingham" <kieran.bingham@ideasonboard.com>,
	"Kevin Hilman" <khilman@baylibre.com>,
	"Benjamin Mugnier" <benjamin.mugnier@foss.st.com>,
	"Hans de Goede" <hansg@kernel.org>,
	"Maxime Ripard" <mripard@kernel.org>
Subject: Re: [ANN] Media Summit on May 26th in Nice, France
Date: Mon, 2 Mar 2026 19:41:24 +0100	[thread overview]
Message-ID: <aaXZ1AImO_PRzpqC@shepard> (raw)
In-Reply-To: <20260302140154.GA3360678@killaraus.ideasonboard.com>

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

Hi,

On Mon 02 Mar 26, 15:01, Laurent Pinchart wrote:
> On Mon, Mar 02, 2026 at 08:55:05AM -0500, Nicolas Dufresne wrote:
> > Le dimanche 01 mars 2026 à 16:02 +0100, Laurent Pinchart a écrit :
> > > I would also like to revive efforts to properly support dmabuf import
> > > for multi-planar formats with configurable plane offsets (a.k.a. data
> > > offsets), but I think this requires a champion to resume the work more
> > > than a discussion at the media summit.
> > 
> > I haven't sent my RFC yet about that subject, that will probably be after
> > Embedded World. But I think it can serve as example of "possible" way forward.
> > And I believe the ChromeOS request should be cited. I think we need more then a
> > champion to resume the work, since I personally don't believe in the ancient
> > proposal from Collabora. I'd say plan for a little more time on this subject.
> 
> Maybe it could then make sense to brainstorm the topic during the media
> summit.

I'm also interested in the topic and had a first go at it a few months back,
with code at: https://git.paulk.fr/projects/linux.git/log/?h=media/dmabuf-offset

This is based on our discussions on IRC, with the main concern that hardware
units may have specific alignment constraints that apply, so not all offsets
are valid and drivers need to provide their alignment constraints. So the
feature is disabled by default and drivers that want to support it need to
provide their alignment constraint. It is then reported to userspace via
create_buffers and a new flag is added to indicate that the driver supports
the feature.

Then it comes down to adding the offset down to videobuf2, which is
straightforward in some cases (that I implemented) and less so in others, like
sg tables (which I didn't implement).

So it feels like more work would be needed to get the vb2 side right.

Nicolas, did you have another approach in mind or is your RFC based on the same
ideas?

> > If possible, I would like to add to the agenda a short update related to Vulkan
> > Video side of CODECs, what are the viable options for Linux Media and what is in
> > preparation outside of our subsystem. The second aspect is informative as these
> > discussion don't seem to lean toward our subsystem as the foundation. But I
> > think its rather useful for everyone to understand why and what is included.
> 
> I'd be interested in hearing about that.

Yes me too. I guess this more or less boils down to the long-time debate of
generic uAPI with complexity in the kernel vs driver-specific uAPI with
complexity in userspace. I still think a generic uAPI for codecs makes good
sense, but I understand the appeal of something more similar to drm accel.

All the best,

Paul

-- 
Paul Kocialkowski,

Independent contractor - sys-base - https://www.sys-base.io/
Free software developer - https://www.paulk.fr/

Expert in multimedia, graphics and embedded hardware support with Linux.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2026-03-02 18:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-16 13:29 [ANN] Media Summit on May 26th in Nice, France Hans Verkuil
2026-01-22 23:06 ` Kevin Hilman
2026-02-23  9:12 ` Hans Verkuil
2026-03-01 15:02   ` Laurent Pinchart
2026-03-02 13:55     ` Nicolas Dufresne
2026-03-02 14:01       ` Laurent Pinchart
2026-03-02 18:41         ` Paul Kocialkowski [this message]
2026-03-02 18:47   ` Paul Kocialkowski

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=aaXZ1AImO_PRzpqC@shepard \
    --to=paulk@sys-base.io \
    --cc=alain.volmat@foss.st.com \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=bryan.odonoghue@linaro.org \
    --cc=daniel.almeida@collabora.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=hansg@kernel.org \
    --cc=hverkuil+cisco@kernel.org \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=khilman@baylibre.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=m.tretter@pengutronix.de \
    --cc=mchehab@kernel.org \
    --cc=mripard@kernel.org \
    --cc=nicolas.dufresne@collabora.com \
    --cc=niklas.soderlund@ragnatech.se \
    --cc=ribalda@chromium.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sean@mess.org \
    --cc=stevecho@chromium.org \
    --cc=tfiga@chromium.org \
    --cc=tomi.valkeinen@ideasonboard.com \
    /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