From: Deepak Sharma <deepak.sha...@amd.com> This allows building radeonsi driver for surfaceless platform.
Signed-off-by: Deepak Sharma <deepak.sha...@amd.com> Signed-off-by: Marek Olšák <marek.ol...@amd.com> --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b414edd..05e4bdc 100644 --- a/configure.ac +++ b/configure.ac @@ -2345,27 +2345,30 @@ gallium_require_llvm() { esac fi } gallium_require_drm_loader() { if test "x$need_pci_id$have_pci_id" = xyesno; then AC_MSG_ERROR([Gallium drm loader requires libudev >= $LIBUDEV_REQUIRED or sysfs]) fi } -dnl This is for Glamor. Skip this if OpenGL is disabled. +dnl This is for Glamor. Skip this if OpenGL is disabled or surfaceless EGL platform is enabled. require_egl_drm() { if test "x$enable_opengl" = xno; then return 0 fi case "$with_egl_platforms" in + surfaceless) + return 0 + ;; *drm*) ;; *) AC_MSG_ERROR([--with-egl-platforms=drm is required to build the $1 driver.]) ;; esac if test "x$enable_gbm" != xyes; then AC_MSG_ERROR([--enable-gbm is required to build the $1 driver.]) fi } -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev