From 270241cebfac55088868c686c3ffa3b0b4f94fe1 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 21 Aug 2009 00:56:16 +0100 Subject: Strip out some RAC and loader stuff This is necessary to keep up with the latest Xorg-server developments. It works with the latest Git master of the server, which we want to use for the great speedups arising from mixed mode EXA pixmap handling. Please let me know if it breaks on older versions... --- src/glamo-driver.c | 5 ----- src/glamo-kms-driver.c | 9 --------- 2 files changed, 14 deletions(-) diff --git a/src/glamo-driver.c b/src/glamo-driver.c index 002dca3..53b72e0 100644 --- a/src/glamo-driver.c +++ b/src/glamo-driver.c @@ -23,7 +23,6 @@ /* for visuals */ #include "fb.h" -#include "xf86Resources.h" #include "xf86RAC.h" #include "fbdevhw.h" @@ -425,10 +424,6 @@ GlamoPreInit(ScrnInfoPtr pScrn, int flags) pGlamo->pEnt = xf86GetEntityInfo(pScrn->entityList[0]); - pScrn->racMemFlags = RAC_FB | RAC_CURSOR | RAC_VIEWPORT; - /* XXX Is this right? Can probably remove RAC_FB */ - pScrn->racIoFlags = RAC_FB | RAC_CURSOR | RAC_VIEWPORT; - fb_device = xf86FindOptionValue(pGlamo->pEnt->device->options, "Device"); /* open device */ diff --git a/src/glamo-kms-driver.c b/src/glamo-kms-driver.c index 55d2377..afc7d6b 100644 --- a/src/glamo-kms-driver.c +++ b/src/glamo-kms-driver.c @@ -75,13 +75,6 @@ #include "glamo-kms-output.h" -static const char *fbSymbols[] = { - "fbPictureInit", - "fbScreenInit", - NULL -}; - - /* Return TRUE if KMS can be used */ Bool GlamoKernelModesettingAvailable() { @@ -208,7 +201,6 @@ Bool GlamoKMSPreInit(ScrnInfoPtr pScrn, int flags) pGlamo->drm_fd = drmOpen(NULL, "platform:glamo-fb"); if ( pGlamo->drm_fd < 0 ) return FALSE; - pScrn->racMemFlags = RAC_FB | RAC_COLORMAP; pScrn->monitor = pScrn->confScreen->monitor; pScrn->progClock = TRUE; pScrn->rgbBits = 8; @@ -262,7 +254,6 @@ Bool GlamoKMSPreInit(ScrnInfoPtr pScrn, int flags) /* Load the required sub modules */ if (!xf86LoadSubModule(pScrn, "fb")) return FALSE; - xf86LoaderReqSymLists(fbSymbols, NULL); xf86LoadSubModule(pScrn, "exa"); xf86LoadSubModule(pScrn, "dri2"); -- cgit v1.2.3