From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [RFC] drm: add overlays as first class KMS objects
Date: Tue, 26 Apr 2011 08:16:02 -0700 [thread overview]
Message-ID: <20110426081602.0cf170bd@jbarnes-desktop> (raw)
In-Reply-To: <20110426110130.24cdf23d@lxorguk.ukuu.org.uk>
On Tue, 26 Apr 2011 11:01:30 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > A lot of older hardware had one overlay that could be sourced to any
> > crtc, just not simultaneously. The tricky part is the formats and
> > capabilities: alpha blending, color/chromakey, gamma correction, etc.
> > Even the current crtc gamma stuff is somewhat lacking in in terms of
> > what hardware is capable of (PWL vs. LUT, user defined conversion
> > matrices, gamut remapping, etc.).
>
> Rather than re-inventing enough wheels to run a large truck would it not
> make sense to make hardware sourced overlays Video4Linux objects in their
> entirity so you can just say "attach V4L object A as overlay B"
>
> That would provide format definitions, provide control interfaces for
> the surface (eg for overlays of cameras such as on some of the Intel
> embedded and non PC devices), give you an existing well understood API.
>
> For some hardware you are going to need this integration anyway so that
> you can do things like move a GEM object which is currently a DMA target
> of a capture device (as well as to fence it).
>
> For a software surface you could either expose it as a V4L object that
> is GEM or fb memory backed or at least use the same descriptions so that
> the kernel has a consistent set of descriptions for formats and we don't
> have user libraries doing adhoc format translation crap.
>
> A lot of capture hardware would map very nicely onto GEM objects I
> suspect and if you want to merge live video into Wayland it seems a
> logical path ?
Thanks Alan, of course that's a good idea, I'll see about integrating
the two.
--
Jesse Barnes, Intel Open Source Technology Center
next prev parent reply other threads:[~2011-04-26 15:16 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 22:12 [RFC] drm: add overlays as first class KMS objects Jesse Barnes
2011-04-25 23:16 ` Keith Packard
2011-04-25 23:22 ` Jesse Barnes
2011-04-25 23:35 ` Stéphane Marchesin
2011-04-25 23:52 ` Jesse Barnes
2011-04-26 1:17 ` Keith Packard
2011-04-26 9:37 ` Alan Cox
2011-04-28 16:24 ` Rob Clark
2011-04-25 23:37 ` Keith Packard
2011-04-25 23:58 ` Jesse Barnes
2011-04-26 0:28 ` Alex Deucher
2011-04-26 0:33 ` Jesse Barnes
2011-04-26 14:01 ` Jerome Glisse
2011-04-26 14:16 ` Alan Cox
2011-04-26 15:11 ` Jerome Glisse
2011-04-26 15:29 ` Alan Cox
2011-04-26 10:01 ` Alan Cox
2011-04-26 15:16 ` Jesse Barnes [this message]
2011-04-28 16:32 ` Rob Clark
2011-04-26 15:20 ` Ville Syrjälä
2011-04-26 15:31 ` Jesse Barnes
2011-04-26 15:38 ` Alan Cox
2011-04-27 12:19 ` Daniel Vetter
2011-04-27 13:32 ` Jerome Glisse
2011-04-27 14:27 ` Daniel Vetter
2011-04-27 14:34 ` Chris Wilson
2011-04-27 14:50 ` Daniel Vetter
2011-04-27 14:56 ` Ville Syrjälä
2011-04-27 21:12 ` Jesse Barnes
2011-04-28 6:47 ` Daniel Vetter
2011-04-28 17:37 ` Jakob Bornecrantz
2011-04-28 17:03 ` Rob Clark
2011-04-28 17:54 ` Ville Syrjälä
2011-05-13 16:16 ` Daniel Vetter
2011-05-14 1:02 ` Jesse Barnes
2011-05-15 0:00 ` Clark, Rob
2011-05-17 18:35 ` Laurent Pinchart
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=20110426081602.0cf170bd@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=dri-devel@lists.freedesktop.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