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:
Rudi Heitbaum 2023-05-04 12:37:56 +00:00
parent 3fb62db3ce
commit 6bf1cbfc20

View File

@ -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"