From: Joseph Kogut <joseph@anodize.com>
To: buildroot@buildroot.org
Cc: Bernd Kuhls <bernd@kuhls.net>,
Joseph Kogut <joseph.kogut@gmail.com>,
Romain Naour <romain.naour@gmail.com>,
Joseph Kogut <joseph@anodize.com>,
Romain Naour <romain.naour@smile.fr>
Subject: [Buildroot] [PATCH v3 3/4] package/mesa3d: add freedreno vulkan driver config
Date: Thu, 14 May 2026 14:43:39 -0700 [thread overview]
Message-ID: <20260514-mesa3d-amdgpu-virtio-v3-3-dd75eca7fa50@anodize.com> (raw)
In-Reply-To: <20260514-mesa3d-amdgpu-virtio-v3-0-dd75eca7fa50@anodize.com>
Signed-off-by: Joseph Kogut <joseph@anodize.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
---
package/mesa3d/Config.in | 13 +++++++++++--
package/mesa3d/mesa3d.mk | 3 ++-
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 82ef991595..5f21698c5a 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -356,6 +356,13 @@ config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM
help
Vulkan broadcom driver.
+config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_FREEDRENO
+ bool "Vulkan freedreno driver (turnip)"
+ select BR2_PACKAGE_MESA3D_HOST_NATIVE_CONTEXT_SUPPORTED_DRIVER
+ select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
+ help
+ Vulkan freedreno driver.
+
config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_IMAGINATION
bool "Vulkan imagination driver"
depends on BR2_arm || BR2_aarch64
@@ -431,10 +438,12 @@ config BR2_PACKAGE_MESA3D_HOST_NATIVE_CONTEXT_DRIVER_AMDGPU
config BR2_PACKAGE_MESA3D_HOST_NATIVE_CONTEXT_DRIVER_FREEDRENO
bool "freedreno-virtio"
- depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO
+ depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO || \
+ BR2_PACKAGE_MESA3D_VULKAN_DRIVER_FREEDRENO
help
Enable VirtIO support for freedreno native contexts
- used by the freedreno driver.
+ used by the freedreno (OpenGL) and Turnip (Vulkan)
+ drivers.
Select this when running Mesa inside a virtual machine
with virtio-gpu host native context support.
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index d9916ca359..a0be555860 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -130,6 +130,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ZINK) += zink
# Vulkan Drivers
MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_AMD) += amd
MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM) += broadcom
+MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_FREEDRENO) += freedreno
MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_IMAGINATION) += imagination
MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL) += intel
MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_PANFROST) += panfrost
@@ -157,7 +158,7 @@ else
MESA3D_CONF_OPTS += -Damdgpu-virtio=false
endif
-ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO),y)
+ifneq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO)$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_FREEDRENO),)
MESA3D_FREEDRENO_KMDS = msm
ifeq ($(BR2_PACKAGE_MESA3D_HOST_NATIVE_CONTEXT_DRIVER_FREEDRENO),y)
MESA3D_FREEDRENO_KMDS += virtio
--
2.54.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-05-14 21:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-14 21:43 [Buildroot] [PATCH v3 0/4] package/mesa3d: add host native context configs Joseph Kogut
2026-05-14 21:43 ` [Buildroot] [PATCH v3 1/4] package/mesa3d: add amdgpu-virtio config Joseph Kogut
2026-05-15 11:56 ` Romain Naour via buildroot
2026-05-14 21:43 ` [Buildroot] [PATCH v3 2/4] package/mesa3d: add freedreno-virtio config Joseph Kogut
2026-05-14 21:43 ` Joseph Kogut [this message]
2026-05-14 21:43 ` [Buildroot] [PATCH v3 4/4] DEVELOPERS: add package/mesa3d for Joseph Kogut Joseph Kogut
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=20260514-mesa3d-amdgpu-virtio-v3-3-dd75eca7fa50@anodize.com \
--to=joseph@anodize.com \
--cc=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
--cc=joseph.kogut@gmail.com \
--cc=romain.naour@gmail.com \
--cc=romain.naour@smile.fr \
/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.