From cb22bdbe678a9948eda75d464d6701a729664ef0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 3 May 2007 10:05:58 +0930 Subject: [PATCH] Add selected RamDac functions to xfree86LookupTab. Adding those makes drivers for s3 and tga work again. --- hw/xfree86/loader/xf86sym.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hw/xfree86/loader/xf86sym.c b/hw/xfree86/loader/xf86sym.c index 5175f01f9..ca32d6eb8 100644 --- a/hw/xfree86/loader/xf86sym.c +++ b/hw/xfree86/loader/xf86sym.c @@ -97,6 +97,9 @@ #include "xf86DDC.h" #include "edid.h" +#include "xf86RamDac.h" +#include "BT.h" + #ifndef HAS_GLIBC_SIGSETJMP #if defined(setjmp) && defined(__GNU_LIBRARY__) && \ (!defined(__GLIBC__) || (__GLIBC__ < 2) || \ @@ -1255,4 +1258,14 @@ _X_HIDDEN void *xfree86LookupTab[] = { SYMFUNC(xf86I2CWriteRead) SYMFUNC(xf86I2CWriteVec) SYMFUNC(xf86I2CWriteWord) + + /* ramdac */ + SYMFUNC(RamDacInit) + SYMFUNC(RamDacCreateInfoRec) + SYMFUNC(RamDacDestroyInfoRec) + SYMFUNC(RamDacHelperCreateInfoRec) + SYMFUNC(RamDacFreeRec) + SYMFUNC(RamDacHandleColormaps) + SYMFUNC(RamDacGetHWIndex) + SYMFUNC(BTramdacProbe) };