Skip to contentSkip to conversation

package/x11r7/xdriver_xf86-video-savage: disable DRI support when not available

PATCH New Bernd Kuhls 2 participants 2 messages Aug 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/x11r7/xdriver_xf86-video-savage: disable DRI support when not available

Fixes
http://autobuild.buildroot.net/results/ecd/ecdb6977d282c276cbdf1f3dd0ccfaddff1d1ac5/

---
 package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk +4 -0
index dc5644a..95bca7e 100644
@@ -12,4 +12,8 @@ XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING
 XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES
 XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xproto_fontsproto xproto_randrproto xproto_renderproto xproto_videoproto xproto_xextproto xproto_xf86driproto xproto_xproto
 
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS = --disable-dri
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 package/x11r7/xdriver_xf86-video-savage: disable DRI support when not available

Hello,

package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING · line 17

Quoted 3 lines · Bernd Kuhls
package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk +3 -0
+ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
+XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS = --disable-dri
+endif

I've applied because we're doing the same condition in other X.org video drivers. But I'm not happy at all with this condition. Indeed the build failure is that DRI support is not provided by the X.org server (for example, the DRIInfoPtr type that is missing and causes the error), is provided by the X.org server.

So I really believe this whole DRI stuff needs to be reworked.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com