* [Buildroot] [PATCH 1/1] package/mesa3d: add option to build kmsro and zink Gallium drivers
@ 2025-01-24 10:19 Fiona Klute via buildroot
2025-02-05 9:35 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fiona Klute via buildroot @ 2025-01-24 10:19 UTC (permalink / raw)
To: buildroot; +Cc: Bernd Kuhls, Romain Naour, Fiona Klute (WIWA)
From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
This allows using simple displays not directly connected to the GPU,
and platforms supported only via Vulkan.
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
---
package/mesa3d/Config.in | 22 ++++++++++++++++++++++
package/mesa3d/mesa3d.mk | 2 ++
2 files changed, 24 insertions(+)
diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index 7761b0a650..1a446cac49 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -140,6 +140,18 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA
help
Mesa driver for ARM Mali Utgard GPUs.
+config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO
+ bool "Gallium kmsro drivers"
+ depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D \
+ || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
+ select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+ help
+ Mesa drivers for kernel mode-setting render-only devices
+
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
bool "Gallium nouveau driver"
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
@@ -262,6 +274,16 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL
virgl is the 3D acceleration backend for the virtio-gpu
shipping with qemu.
+config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ZINK
+ bool "Gallium zink driver"
+ select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+ select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
+ select BR2_PACKAGE_VULKAN_LOADER
+ help
+ Zink is a Gallium driver that emits Vulkan API calls,
+ providing OpenGL support on devices that only support
+ Vulkan.
+
config BR2_PACKAGE_MESA3D_VDPAU
bool "Gallium VDPAU state tracker"
depends on BR2_PACKAGE_XORG7
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index ce460c4475..2a0b3aefe6 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -99,6 +99,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO) += freedre
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915) += i915
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS) += iris
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima
+MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU) += nouveau
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST) += panfrost
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300) += r300
@@ -110,6 +111,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA) += tegra
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D) += v3d
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) += vc4
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl
+MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ZINK) += zink
# Vulkan Drivers
MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM) += broadcom
MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL) += intel
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/mesa3d: add option to build kmsro and zink Gallium drivers
2025-01-24 10:19 [Buildroot] [PATCH 1/1] package/mesa3d: add option to build kmsro and zink Gallium drivers Fiona Klute via buildroot
@ 2025-02-05 9:35 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-02-05 9:35 UTC (permalink / raw)
To: Fiona Klute via buildroot; +Cc: Fiona Klute, Bernd Kuhls, Romain Naour
On Fri, 24 Jan 2025 11:19:00 +0100
Fiona Klute via buildroot <buildroot@buildroot.org> wrote:
> From: "Fiona Klute (WIWA)" <fiona.klute@gmx.de>
>
> This allows using simple displays not directly connected to the GPU,
> and platforms supported only via Vulkan.
>
> Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
> ---
> package/mesa3d/Config.in | 22 ++++++++++++++++++++++
> package/mesa3d/mesa3d.mk | 2 ++
> 2 files changed, 24 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-05 9:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-24 10:19 [Buildroot] [PATCH 1/1] package/mesa3d: add option to build kmsro and zink Gallium drivers Fiona Klute via buildroot
2025-02-05 9:35 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox