From a59172237cee221b806884d71a9731919616fe2e Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 9 Dec 2025 18:56:24 +0100 Subject: [PATCH] 1 --- hw/xfree86/common/xf86VGAarbiter_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86VGAarbiter_priv.h b/hw/xfree86/common/xf86VGAarbiter_priv.h index 5daf41f4c..37a3a1099 100644 --- a/hw/xfree86/common/xf86VGAarbiter_priv.h +++ b/hw/xfree86/common/xf86VGAarbiter_priv.h @@ -17,6 +17,7 @@ void xf86VGAarbiterScrnInit(ScrnInfoPtr pScrn); Bool xf86VGAarbiterWrapFunctions(void); void xf86VGAarbiterLock(ScrnInfoPtr pScrn); void xf86VGAarbiterUnlock(ScrnInfoPtr pScrn); +Bool xf86VGAarbiterAllowDRI(ScreenPtr pScreen); #else /* XSERVER_LIBPCIACCESS */ @@ -26,9 +27,8 @@ static inline void xf86VGAarbiterScrnInit(ScrnInfoPtr pScrn) {} static inline void xf86VGAarbiterWrapFunctions(void) {} static inline void xf86VGAarbiterLock(ScrnInfoPtr pScrn) {} static inline void xf86VGAarbiterUnlock(ScrnInfoPtr pScrn) {} +static inline Bool xf86VGAarbiterAllowDRI(ScreenPtr pScreen) { return TRUE; } #endif /* XSERVER_LIBPCIACCESS */ -Bool xf86VGAarbiterAllowDRI(ScreenPtr pScreen); - #endif /* _XSERVER_XF86VGAARBITERPRIV_H */