The DRI merge added #include <drm.h> to hw/xfree86/os-support/xf86drm.h Unfortunately, the VIA driver was including that file in non-DRI builds, which now fail with many errors of undefined structures. It seems simply adding #ifdef XF86DRI to the appropriate places allows the driver to build, but I don't know enough about the driver to know if this will break anything, nor do I have any VIA hardware handy to test with, so I'll simply attach the patch that allowed me to build and let someone else evaluate it.
Created attachment 420 [details] [review] Patch to files in xc/programs/Xserver/hw/xfree86/drivers/via
Committed, thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.