summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2022-12-19 09:28:00 -0800
committerMarge Bot <emma+marge@anholt.net>2023-03-03 05:25:35 +0000
commit7d34ec4691d7c713e0dff947314c1954a3c76f1b (patch)
tree41c32c7dfd09d4b80eed6f9eb80f72041e9d78e0 /meson_options.txt
parentee510e2c50497845ab156c24dfd64033673e51b6 (diff)
downloadmesa-7d34ec4691d7c713e0dff947314c1954a3c76f1b.tar.gz
mesa-7d34ec4691d7c713e0dff947314c1954a3c76f1b.tar.bz2
mesa-7d34ec4691d7c713e0dff947314c1954a3c76f1b.zip
intel: Add Meson parameter to enable Xe KMD support
The plan is to compile all the Xe files but in run time it will fail to detect the KMD loaded and it will fall back to software rendering(if build). Compiling Xe files makes sure newer commits don't break Xe even if developers don't have Xe enabled in their build folder. Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21368>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 3b66f75ae83..93a71f77001 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -630,3 +630,9 @@ option(
'the default driconf file is hardcoded into Mesa. ' +
'Requires expat.'
)
+option (
+ 'intel-xe-kmd',
+ type : 'feature',
+ value : 'disabled',
+ description: 'Enable Intel Xe KMD support.'
+)