[PATCH] xfree86: vgaarb: fix decoding stub API

Tiago Vignatti tiago.vignatti at nokia.com
Mon Sep 13 02:33:53 PDT 2010


This fix a problem introduced in commit 65466652. It closes also:
https://bugs.freedesktop.org/show_bug.cgi?id=30160

Reported-by: <xunx.fang at intel.com>
Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
---
Keith, can you please pull this one. I didn't compile with stubs and missed
this modification before, so it's being broken for some guys not using the
arbitration.

Sorry for the inconvenience.

 hw/xfree86/common/xf86VGAarbiter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/common/xf86VGAarbiter.c b/hw/xfree86/common/xf86VGAarbiter.c
index 4f46059..951a585 100644
--- a/hw/xfree86/common/xf86VGAarbiter.c
+++ b/hw/xfree86/common/xf86VGAarbiter.c
@@ -1123,7 +1123,7 @@ void xf86VGAarbiterLock(ScrnInfoPtr pScrn) {}
 void xf86VGAarbiterUnlock(ScrnInfoPtr pScrn) {}
 Bool xf86VGAarbiterAllowDRI(ScreenPtr pScreen) { return TRUE; }
 void xf86VGAarbiterScrnInit(ScrnInfoPtr pScrn) {}
-void xf86VGAarbiterDeviceDecodes(ScrnInfoPtr pScrn) {}
+void xf86VGAarbiterDeviceDecodes(ScrnInfoPtr pScrn, int rsrc) {}
 Bool xf86VGAarbiterWrapFunctions(void) { return FALSE; }
 
 #endif
-- 
1.7.1.226.g770c5



More information about the xorg-devel mailing list