Mesa (dri3-auto): meson: kmsro: require dri3
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jun 11 10:57:59 UTC 2021
Module: Mesa
Branch: dri3-auto
Commit: 223d7a2e3c111c1cdd1540ae501d58ed91556c99
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=223d7a2e3c111c1cdd1540ae501d58ed91556c99
Author: Erico Nunes <nunes.erico at gmail.com>
Date: Thu Jun 10 21:20:28 2021 +0200
meson: kmsro: require dri3
The current implementation in kmsro relies on buffer sharing using
WINSYS_HANDLE_TYPE_FD, which in x11 is only used by default when dri3
is enabled.
Since the current implementation will not work without it, we need to
enable it.
Closes #4861
Signed-off-by: Erico Nunes <nunes.erico at gmail.com>
---
meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meson.build b/meson.build
index cb6d4cbd28b..ccae754236a 100644
--- a/meson.build
+++ b/meson.build
@@ -517,6 +517,10 @@ if with_any_vk and with_platform_x11
with_dri3 = true
endif
+if with_gallium_kmsro and with_platform_x11
+ with_dri3 = true
+endif
+
if with_dri
if with_glx == 'disabled' and not with_egl and not with_gbm
error('building dri drivers require at least one windowing system')
More information about the mesa-commit
mailing list