* [Buildroot] [PATCH 1/1] package/mesa3d: enable intel-xe-kmd
@ 2023-06-08 19:18 Bernd Kuhls
2023-07-26 21:26 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2023-06-08 19:18 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour
ref:
- https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20418
Xe KMD is a fresh KMD implementation for Intel GPUs, you can read more
about it in here: https://patchwork.freedesktop.org/series/112188/
Xe KMD will only support Tigerlake and newer platforms, so here is added
Xe KMD support for Iris and ANV, to properly work it is necessary to
enable Xe KMD in build time with -Dintel-xe-kmd=enabled then in run time
it will check if you have i915 or Xe KMD loaded and take the appropriate
code paths.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/mesa3d/mesa3d.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index feb8547e73..e4b03b65bb 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -98,6 +98,12 @@ else
MESA3D_CONF_OPTS += -Dgallium-vc4-neon=disabled
endif
+ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS),y)
+MESA3D_CONF_OPTS += -Dintel-xe-kmd=enabled
+else
+MESA3D_CONF_OPTS += -Dintel-xe-kmd=disabled
+endif
+
# Drivers
#Gallium Drivers
--
2.39.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: enable intel-xe-kmd
2023-06-08 19:18 [Buildroot] [PATCH 1/1] package/mesa3d: enable intel-xe-kmd Bernd Kuhls
@ 2023-07-26 21:26 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-26 21:26 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Romain Naour, buildroot
On Thu, 8 Jun 2023 21:18:40 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> ref:
> - https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20418
According to this link "It is functional enough to run Gnome, browser, OpenGL games, Vulkan games... but eventual crashes and bugs are expected at this time.
No work has been done so far in optimizing for the new driver.", so are
you sure it is a good idea to enable this new/experimental feature as
soon as BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS ? Doesn't that mean that
users who currently successfully use the existing Iris driver as-is
will see regression because we now enable Xe KMD?
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
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:[~2023-07-26 21:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-08 19:18 [Buildroot] [PATCH 1/1] package/mesa3d: enable intel-xe-kmd Bernd Kuhls
2023-07-26 21:26 ` 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