mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
mesa: enable intel-xe-kmd
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.
This commit is contained in:
@@ -48,6 +48,10 @@ else
|
||||
-Dglx=disabled"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "iris"; then
|
||||
PKG_MESON_OPTS_TARGET+=" -Dintel-xe-kmd=enabled"
|
||||
fi
|
||||
|
||||
if listcontains "${GRAPHIC_DRIVERS}" "(nvidia|nvidia-ng)"; then
|
||||
PKG_DEPENDS_TARGET+=" libglvnd"
|
||||
PKG_MESON_OPTS_TARGET+=" -Dglvnd=true"
|
||||
|
||||
Reference in New Issue
Block a user