0001-modesettings-needs-dri2.patch 742 B

1234567891011121314151617181920
  1. Kernel modesettings support also depends on dri2, see
  2. http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46
  3. Patch sent upstream: https://gitlab.freedesktop.org/xorg/xserver/issues/479
  4. [rebased for version 1.20.0]
  5. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  6. diff -uNr xorg-server-1.17.2.org/configure.ac xorg-server-1.17.2/configure.ac
  7. --- xorg-server-1.17.2.org/configure.ac 2015-06-16 17:42:40.000000000 +0200
  8. +++ xorg-server-1.17.2/configure.ac 2015-08-08 10:44:59.702382624 +0200
  9. @@ -2036,7 +2036,7 @@
  10. XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS"
  11. fi
  12. - if test "x$DRM" = xyes; then
  13. + if test "x$DRM" = xyes -a "x$DRI2" = xyes; then
  14. XORG_DRIVER_MODESETTING=yes
  15. fi