946c31d
From: Julien Cristau <jcristau@debian.org>
946c31d
Date: Wed, 30 May 2007 02:01:30 +0000 (-0400)
946c31d
Subject: Make sure that the ramdac symbols are present in the server
946c31d
X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=3c6f1428489c1f71acd41066ea73ef4ae7c60f17
946c31d
946c31d
Make sure that the ramdac symbols are present in the server
946c31d
946c31d
The former ramdac module is now built into the server, so its symbols need to
946c31d
be explicitly exported to drivers (Debian #423129).
946c31d
---
946c31d
946c31d
--- a/hw/xfree86/loader/xf86sym.c
946c31d
+++ b/hw/xfree86/loader/xf86sym.c
946c31d
@@ -96,6 +96,11 @@
946c31d
 #endif
946c31d
 #include "xf86DDC.h"
946c31d
 #include "edid.h"
946c31d
+#include "xf86Cursor.h"
946c31d
+#include "xf86RamDac.h"
946c31d
+#include "BT.h"
946c31d
+#include "IBM.h"
946c31d
+#include "TI.h"
946c31d
 
946c31d
 #ifndef HAS_GLIBC_SIGSETJMP
946c31d
 #if defined(setjmp) && defined(__GNU_LIBRARY__) && \
946c31d
@@ -1255,4 +1260,50 @@ _X_HIDDEN void *xfree86LookupTab[] = {
946c31d
     SYMFUNC(xf86I2CWriteRead)
946c31d
     SYMFUNC(xf86I2CWriteVec)
946c31d
     SYMFUNC(xf86I2CWriteWord)
946c31d
+
946c31d
+    /* ramdac/xf86RamDac.c */
946c31d
+    SYMFUNC(RamDacCreateInfoRec)
946c31d
+    SYMFUNC(RamDacHelperCreateInfoRec)
946c31d
+    SYMFUNC(RamDacDestroyInfoRec)
946c31d
+    SYMFUNC(RamDacHelperDestroyInfoRec)
946c31d
+    SYMFUNC(RamDacInit)
946c31d
+    SYMFUNC(RamDacHandleColormaps)
946c31d
+    SYMFUNC(RamDacFreeRec)
946c31d
+    SYMFUNC(RamDacGetHWIndex)
946c31d
+    SYMVAR(RamDacHWPrivateIndex)
946c31d
+    SYMVAR(RamDacScreenPrivateIndex)
946c31d
+
946c31d
+    /* ramdac/xf86Cursor.c */
946c31d
+    SYMFUNC(xf86InitCursor)
946c31d
+    SYMFUNC(xf86CreateCursorInfoRec)
946c31d
+    SYMFUNC(xf86DestroyCursorInfoRec)
946c31d
+    SYMFUNC(xf86ForceHWCursor)
946c31d
+
946c31d
+    /* ramdac/BT.c */
946c31d
+    SYMFUNC(BTramdacProbe)
946c31d
+    SYMFUNC(BTramdacSave)
946c31d
+    SYMFUNC(BTramdacRestore)
946c31d
+    SYMFUNC(BTramdacSetBpp)
946c31d
+
946c31d
+    /* ramdac/IBM.c */
946c31d
+    SYMFUNC(IBMramdacProbe)
946c31d
+    SYMFUNC(IBMramdacSave)
946c31d
+    SYMFUNC(IBMramdacRestore)
946c31d
+    SYMFUNC(IBMramdac526SetBpp)
946c31d
+    SYMFUNC(IBMramdac640SetBpp)
946c31d
+    SYMFUNC(IBMramdac526CalculateMNPCForClock)
946c31d
+    SYMFUNC(IBMramdac640CalculateMNPCForClock)
946c31d
+    SYMFUNC(IBMramdac526HWCursorInit)
946c31d
+    SYMFUNC(IBMramdac640HWCursorInit)
946c31d
+    SYMFUNC(IBMramdac526SetBppWeak)
946c31d
+
946c31d
+    /* ramdac/TI.c */
946c31d
+    SYMFUNC(TIramdacCalculateMNPForClock)
946c31d
+    SYMFUNC(TIramdacProbe)
946c31d
+    SYMFUNC(TIramdacSave)
946c31d
+    SYMFUNC(TIramdacRestore)
946c31d
+    SYMFUNC(TIramdac3026SetBpp)
946c31d
+    SYMFUNC(TIramdac3030SetBpp)
946c31d
+    SYMFUNC(TIramdacHWCursorInit)
946c31d
+    SYMFUNC(TIramdacLoadPalette)
946c31d
 };