All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zoltan Boszormenyi" <zboszor@pr.hu>
To: openembedded-core@lists.openembedded.org
Cc: "Böszörményi Zoltán" <zboszor@pr.hu>
Subject: [PATCH v3 0/4] Enable VAAPI and VDPAU video drivers in Mesa
Date: Thu,  7 May 2020 15:32:57 +0200	[thread overview]
Message-ID: <20200507133301.4336-1-zboszor@pr.hu> (raw)
In-Reply-To: <20200227052448.65435-1-zboszor@pr.hu>

Mesa needs libva to enable VAAPI state tracker and drivers.
libva needs Mesa to enable its GLX part.

This is a circular dependency that can be solved by introducing
a new libva recipe variant that doesn't enable GLX.

Actually, the presence of Mesa/OpenGL headers is autodetected
in libva so it's enough to leave out Mesa from DEPENDS in the
new libva recipe variant.

With magic already existing in sstate.bbclass and staging.bbclass,
naming the new libva recipe variant "libva-initial" avoids an
error for every other recipe that pulls in libva as dependency,
including libva-utils and intel-vaapi-driver.

The error (if not naming the recipe as "*-initial") is that
the prepare-sysroot phase of a package would pull in the files 
rom both libva build variants that would obviously install identical
files.

Enabling the VDPAU state tracker and libraries is trivial,
it was just missing from the recipe.

[PATCH v3 1/4] libva: Factor out base parts into an include file
[PATCH v3 2/4] libva-initial: New bootstrap recipe
[PATCH v3 3/4] mesa: Add PACKAGECONFIG knob to enable VAAPI
[PATCH v3 4/4] mesa: Add PACKAGECONFIG knob to enable VDPAU state

Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>



  parent reply	other threads:[~2020-05-07 13:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27  5:24 [PATCH v2 0/4] Enable VAAPI and VDPAU video drivers in Mesa Böszörményi Zoltán
2020-02-27  5:24 ` [PATCH v2 1/4] libva: Factor out base parts into an include file Böszörményi Zoltán
2020-02-27  5:24 ` [PATCH v2 2/4] libva-initial: New bootstrap recipe Böszörményi Zoltán
2020-02-27  5:24 ` [PATCH v2 3/4] mesa: Add PACKAGECONFIG knob to enable VAAPI Böszörményi Zoltán
2020-02-27  5:24 ` [PATCH v2 4/4] mesa: Add PACKAGECONFIG knob to enable VDPAU state tracker and drivers Böszörményi Zoltán
2020-05-07 13:32 ` Zoltan Boszormenyi [this message]
2020-05-07 13:32   ` [PATCH v3 1/4] libva: Factor out base parts into an include file Zoltan Boszormenyi
2020-05-07 13:32   ` [PATCH v3 2/4] libva-initial: New bootstrap recipe Zoltan Boszormenyi
2020-05-07 19:02     ` [OE-core] " Khem Raj
2020-05-07 13:33   ` [PATCH v3 3/4] mesa: Add PACKAGECONFIG knob to enable VAAPI Zoltan Boszormenyi
2020-05-07 13:33   ` [PATCH v3 4/4] mesa: Add PACKAGECONFIG knob to enable VDPAU state tracker and drivers Zoltan Boszormenyi

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=20200507133301.4336-1-zboszor@pr.hu \
    --to=zboszor@pr.hu \
    --cc=openembedded-core@lists.openembedded.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.