mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 09:20:13 +01:00
configure.ac: radeonsi requires EGL_DRM and GBM
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
e65917f94e
commit
cc71df5652
1 changed files with 14 additions and 0 deletions
14
configure.ac
14
configure.ac
|
|
@ -1744,6 +1744,19 @@ gallium_require_drm_loader() {
|
|||
fi
|
||||
}
|
||||
|
||||
require_egl_drm() {
|
||||
case "$with_egl_platforms" in
|
||||
*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
|
||||
}
|
||||
|
||||
radeon_llvm_check() {
|
||||
if test "x$enable_gallium_llvm" != "xyes"; then
|
||||
AC_MSG_ERROR([--enable-gallium-llvm is required when building $1])
|
||||
|
|
@ -1835,6 +1848,7 @@ if test -n "$with_gallium_drivers"; then
|
|||
gallium_require_drm_loader
|
||||
GALLIUM_DRIVERS_DIRS="$GALLIUM_DRIVERS_DIRS radeonsi"
|
||||
radeon_llvm_check "radeonsi"
|
||||
require_egl_drm "radeonsi"
|
||||
gallium_check_st "radeon/drm" "radeonsi/dri" "" "" "radeonsi/vdpau" "radeonsi/omx"
|
||||
DRICOMMON_NEED_LIBDRM=yes
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue