[Mesa-stable] [PATCH v2] st: require compatible driver in autotools
Alyssa Ross
hi at alyssa.is
Fri Apr 26 17:40:32 UTC 2019
> if test -n "$with_gallium_drivers" -a "x$with_gallium_drivers" != xswrast; then
> if test "x$enable_xvmc" = xauto -a "x$have_xvmc_platform" = xyes; then
> PKG_CHECK_EXISTS([xvmc >= $XVMC_REQUIRED], [enable_xvmc=yes],
> [enable_xvmc=no])
> fi
> ...
> fi
>
> Thus auto-detection will disable xvmc and other VL state-trackers,
> when no gallium drivers or swrast only is set.
> Thus the NEED_GALLIUM_VL_WINSYS shortly afterwords is set to
> no/disabled, and vl_winsys_dri.c et al is not build.
Perhaps I wasn't clear in my initial message. It's not an autodetection
issue, it's that there is no error when trying to use, say,
--enable-omx-bellagio when there's only an swrast driver.
> A random old checkout commit 7be26976b8e8bc34fa7d55550014197ed2af488f
> seems happy with the following:
>
> mkdir aa; cd aa;
> ../autogen.sh --enable-autotools \
> --with-platforms=x11 \
> --with-dri-drivers= \
> --with-gallium-drivers=swrast \
> --disable-glx \
> --disable-dri3 \
> --disable-gbm
>
> Am I missing something?
If you try adding --enable-omx-bellagio, I think you should see the
configure script run successfully, despite the incompatibility between
--with-gallium-drivers=swrast and --enable-omx-bellagio that it should
have caught.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20190426/f38740ce/attachment.sig>
More information about the mesa-stable
mailing list