summaryrefslogtreecommitdiff
path: root/src/glamo-driver.c
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-01-01 16:03:22 +0000
committerGraeme Gregory <dp@xora.org.uk>2009-01-01 16:03:22 +0000
commit5e5eb41642e041060310a4c7c1eca46f26cdd9ec (patch)
tree80f05c570d7ee703d9a8793ad346875e26be7052 /src/glamo-driver.c
parent6b431ca9caa496e7f327bdfc2c5c8cac9bc3a0ca (diff)
glamo* : keep the symbol loader happy
Diffstat (limited to 'src/glamo-driver.c')
-rw-r--r--src/glamo-driver.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/glamo-driver.c b/src/glamo-driver.c
index ba26138..ef46844 100644
--- a/src/glamo-driver.c
+++ b/src/glamo-driver.c
@@ -196,6 +196,14 @@ static const char *fbdevHWSymbols[] = {
NULL
};
+static const char *exaSymbols[] = {
+ "exaDriverAlloc",
+ "exaDriverInit",
+ "exaDriverFini",
+ NULL
+};
+
+
#ifdef XFree86LOADER
MODULESETUPPROTO(GlamoSetup);
@@ -224,8 +232,8 @@ GlamoSetup(pointer module, pointer opts, int *errmaj, int *errmin)
if (!setupDone) {
setupDone = TRUE;
xf86AddDriver(&Glamo, module, HaveDriverFuncs);
- LoaderRefSymLists(afbSymbols, fbSymbols,
- shadowSymbols, fbdevHWSymbols, NULL);
+ LoaderRefSymLists(fbSymbols,
+ shadowSymbols, fbdevHWSymbols, exaSymbols, NULL);
return (pointer)1;
} else {
if (errmaj) *errmaj = LDR_ONCEONLY;
@@ -721,6 +729,9 @@ GlamoScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
"bits per pixel\n");
}
+ xf86LoadSubModule(pScrn, "exa");
+ xf86LoaderReqSymLists(exaSymbols, NULL);
+
if(!GLAMODrawExaInit(pScreen, pScrn)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"EXA hardware acceleration initialization failed\n");