All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Drake <ddrake@baylibre.com>
To: openembedded-core@lists.openembedded.org
Cc: Venkatasainath Ravikanti <venkatasainath.ravikanti@windriver.com>,
	Daniel Drake <ddrake@baylibre.com>
Subject: [PATCH 1/2] venus-protocol: add recipe
Date: Fri, 27 Nov 2026 15:46:51 +0000	[thread overview]
Message-ID: <20261127154652.253316-2-ddrake@baylibre.com> (raw)
In-Reply-To: <20261127154652.253316-1-ddrake@baylibre.com>

Venus is the protocol used by the Mesa Venus Vulkan driver (virtio-gpu)
to serialize Vulkan commands to the host renderer. As of Mesa-26.3,
these protocol headers have been moved into their own external package.

Add a recipe which installs the generated headers and pkg-config file.

Signed-off-by: Daniel Drake <ddrake@baylibre.com>
---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../mesa/venus-protocol_1.1.3.bb              | 20 +++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 meta/recipes-graphics/mesa/venus-protocol_1.1.3.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 62de04001e..7fbd8eafde 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -873,6 +873,7 @@ RECIPE_MAINTAINER:pn-util-macros = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-v86d = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-vala = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-valgrind = "Venkata Adhitya Navuduri <venkata.navuduri@windriver.com>"
+RECIPE_MAINTAINER:pn-venus-protocol = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-vim = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-vim-tiny = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-virglrenderer = "Unassigned <unassigned@yoctoproject.org>"
diff --git a/meta/recipes-graphics/mesa/venus-protocol_1.1.3.bb b/meta/recipes-graphics/mesa/venus-protocol_1.1.3.bb
new file mode 100644
index 0000000000..e7701a76f6
--- /dev/null
+++ b/meta/recipes-graphics/mesa/venus-protocol_1.1.3.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Venus protocol headers for Vulkan over virtio-gpu"
+DESCRIPTION = "Venus is the protocol used to serialize Vulkan commands \
+between a guest Vulkan driver and a host renderer over virtio-gpu. This \
+package provides the C headers generated from the protocol definition, \
+which are used to build the Mesa Venus Vulkan driver."
+HOMEPAGE = "https://gitlab.freedesktop.org/virgl/venus-protocol"
+BUGTRACKER = "https://gitlab.freedesktop.org/virgl/venus-protocol/-/issues"
+SECTION = "graphics"
+
+LICENSE = "MIT AND (Apache-2.0 OR MIT)"
+# Use meson.build for MIT license checksum temporarily; future releases will include a LICENSE file.
+LIC_FILES_CHKSUM = "file://meson.build;beginline=1;endline=2;md5=7e736041c5167e57165490a93689761e \
+                    file://xmls/vk.xml;beginline=4;endline=5;md5=6784716613b13820761ca251591ef4e1"
+
+SRC_URI = "git://gitlab.freedesktop.org/virgl/venus-protocol.git;protocol=https;branch=main;tag=v${PV}"
+SRCREV = "ca19b6358d7cc491bc3e4de76f04c6700876a8fa"
+
+DEPENDS = "python3-mako-native"
+
+inherit meson pkgconfig python3native
-- 
2.56.1


  reply	other threads:[~2026-11-27 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 15:46 [PATCH 0/2] mesa: upgrade 26.2.4 -> 26.3.1 Daniel Drake
2026-11-27 15:46 ` Daniel Drake [this message]
2026-11-27 15:46 ` [PATCH 2/2] " Daniel Drake
2026-12-01  7:41 ` [PATCH 0/2] " Ravikanti, Venkatasainath

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=20261127154652.253316-2-ddrake@baylibre.com \
    --to=ddrake@baylibre.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=venkatasainath.ravikanti@windriver.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 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.