Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
xorg-x11-driver-video
xf86-video-xgi-symbols.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xf86-video-xgi-symbols.diff of Package xorg-x11-driver-video
diff -u -r -p ../xf86-video-xgi-1.6.0.orig//src/xgi_driver.c ./src/xgi_driver.c --- ../xf86-video-xgi-1.6.0.orig//src/xgi_driver.c 2011-01-28 11:09:59.000000000 +0000 +++ ./src/xgi_driver.c 2011-01-28 11:15:48.000000000 +0000 @@ -224,136 +224,6 @@ static PciChipsets XGIPciChipsets[] = { {-1, -1, RES_UNDEFINED} }; -static const char *xaaSymbols[] = { - "XAACopyROP", - "XAACreateInfoRec", - "XAADestroyInfoRec", - "XAAFillMono8x8PatternRects", - "XAAPatternROP", - "XAAHelpPatternROP", - "XAAInit", - NULL -}; - -#ifdef XGI_USE_EXA -static const char *exaSymbols[] = { - "exaGetVersion", - "exaDriverInit", - "exaDriverFini", - "exaOffscreenAlloc", - "exaOffscreenFree", - NULL -}; -#endif - -static const char *vgahwSymbols[] = { - "vgaHWFreeHWRec", - "vgaHWGetHWRec", - "vgaHWGetIOBase", - "vgaHWGetIndex", - "vgaHWInit", - "vgaHWLock", - "vgaHWMapMem", - "vgaHWUnmapMem", - "vgaHWProtect", - "vgaHWRestore", - "vgaHWSave", - "vgaHWSaveScreen", - "vgaHWUnlock", - NULL -}; - -static const char *fbSymbols[] = { - "fbPictureInit", - "fbScreenInit", - NULL -}; - -static const char *shadowSymbols[] = { - "ShadowFBInit", - NULL -}; - -static const char *ramdacSymbols[] = { - "xf86CreateCursorInfoRec", - "xf86DestroyCursorInfoRec", - "xf86InitCursor", - NULL -}; - - -static const char *ddcSymbols[] = { - "xf86PrintEDID", - "xf86SetDDCproperties", - "xf86InterpretEDID", - NULL -}; - - -/* static const char *i2cSymbols[] = { - "xf86I2CBusInit", - "xf86CreateI2CBusRec", - NULL -}; */ - -static const char *int10Symbols[] = { - "xf86FreeInt10", - "xf86InitInt10", - "xf86ExecX86int10", - NULL -}; - -static const char *vbeSymbols[] = { - "VBEExtendedInit", - "vbeDoEDID", - "vbeFree", - "VBEGetVBEInfo", - "VBEFreeVBEInfo", - "VBEGetModeInfo", - "VBEFreeModeInfo", - "VBESaveRestore", - "VBESetVBEMode", - "VBEGetVBEMode", - "VBESetDisplayStart", - "VBESetGetLogicalScanlineLength", - NULL -}; - -#ifdef XF86DRI -static const char *drmSymbols[] = { - "drmAddMap", - "drmAgpAcquire", - "drmAgpAlloc", - "drmAgpBase", - "drmAgpBind", - "drmAgpEnable", - "drmAgpFree", - "drmAgpGetMode", - "drmAgpRelease", - "drmCtlInstHandler", - "drmGetInterruptFromBusID", - "drmXGIAgpInit", - NULL -}; - -static const char *driSymbols[] = { - "DRICloseScreen", - "DRICreateInfoRec", - "DRIDestroyInfoRec", - "DRIFinishScreenInit", - "DRIGetSAREAPrivate", - "DRILock", - "DRIQueryVersion", - "DRIScreenInit", - "DRIUnlock", -#ifdef XGINEWDRI2 - "GlxSetVisualConfigs", - "DRICreatePCIBusID", -#endif - NULL -}; -#endif - static MODULESETUPPROTO(xgiSetup); static XF86ModuleVersionInfo xgiVersRec = { @@ -500,13 +370,6 @@ xgiSetup(pointer module, pointer opts, i xf86AddDriver(&XGI, module, 0); #endif - LoaderRefSymLists(vgahwSymbols, fbSymbols, xaaSymbols, - shadowSymbols, ramdacSymbols, ddcSymbols, - vbeSymbols, int10Symbols, -#ifdef XF86DRI - drmSymbols, driSymbols, -#endif - NULL); return (pointer) TRUE; } @@ -1615,7 +1478,6 @@ XGIInternalDDC(ScrnInfoPtr pScrn, int cr ErrorF("get EDID with VBIOS call...\n"); if (xf86LoadSubModule(pScrn, "int10")) { - xf86LoaderReqSymLists(int10Symbols, NULL); pInt = xf86InitInt10(pXGI->pEnt->index); if (pInt == NULL) { xf86DrvMsg(pScrn->scrnIndex, X_WARNING, @@ -1677,8 +1539,6 @@ XGIInternalDDC(ScrnInfoPtr pScrn, int cr g_DVI_I_SignalType = (buffer[20] & 0x80) >> 7; ErrorF("DVI-I : %s signal ...\n", (g_DVI_I_SignalType == 0x01) ? "DVI" : "CRT" ); - xf86LoaderReqSymLists(ddcSymbols, NULL); - /* Jong 09/04/2007; Alan fixed abnormal EDID data */ /* pMonitor = xf86InterpretEDID(pScrn->scrnIndex, buffer) ; */ if ( (buffer[0]==0) && (buffer[7]==0) ) @@ -2219,8 +2079,6 @@ XGIDDCPreInit(ScrnInfoPtr pScrn) if (xf86LoadSubModule(pScrn, "ddc")) { - xf86LoaderReqSymLists(ddcSymbols, NULL); - if (pXGI->xgi_HwDevExt.jChipType == XG27) { ErrorF("Getting CRT EDID (DAC1-CRT1)...\n"); @@ -2685,8 +2543,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) return FALSE; } - xf86LoaderReqSymLists(vgahwSymbols, NULL); - /* Due to the liberal license terms this is needed for * keeping the copyright notice readable and intact in * binary distributions. Removing this is a copyright @@ -2798,7 +2654,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) "Initializing display adapter through int10\n"); if (xf86LoadSubModule(pScrn, "int10")) { - xf86LoaderReqSymLists(int10Symbols, NULL); pXGI->pInt = xf86InitInt10(pXGI->pEnt->index); } else { @@ -2830,8 +2685,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) return FALSE; } - xf86LoaderReqSymLists(ramdacSymbols, NULL); - /* Set pScrn->monitor */ pScrn->monitor = pScrn->confScreen->monitor; @@ -3695,7 +3548,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) #if !defined(__powerpc__) /* Now load and initialize VBE module. */ if (xf86LoadSubModule(pScrn, "vbe")) { - xf86LoaderReqSymLists(vbeSymbols, NULL); pXGI->pVbe = VBEExtendedInit(pXGI->pInt, pXGI->pEnt->index, SET_BIOS_SCRATCH | RESTORE_BIOS_SCRATCH); if (!pXGI->pVbe) { @@ -4117,7 +3969,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) XGIFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists(fbSymbols, NULL); /* Load XAA if needed */ if (!pXGI->NoAccel) @@ -4139,7 +3990,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) XGIFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists(xaaSymbols, NULL); } #endif @@ -4150,7 +4000,6 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) XGIErrorLog(pScrn, "Could not load exa module\n"); return FALSE; } - xf86LoaderReqSymLists(exaSymbols, NULL); } #endif } @@ -4169,16 +4018,12 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) XGIFreeRec(pScrn); return FALSE; } - xf86LoaderReqSymLists(shadowSymbols, NULL); } /* Load the dri module if requested. */ #ifdef XF86DRI if(pXGI->loadDRI) { - if (xf86LoadSubModule(pScrn, "dri")) { - xf86LoaderReqSymLists(driSymbols, drmSymbols, NULL); - } - else { + if (!xf86LoadSubModule(pScrn, "dri")) { if (!IS_DUAL_HEAD(pXGI)) xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Remove >Load \"dri\"< from the Module section of your XF86Config file\n"); @@ -4771,7 +4616,6 @@ XGIScreenInit(int scrnIndex, ScreenPtr p #if !defined(__powerpc__) if (!IS_DUAL_HEAD(pXGI) || !IS_SECOND_HEAD(pXGI)) { if (xf86LoadSubModule(pScrn, "vbe")) { - xf86LoaderReqSymLists(vbeSymbols, NULL); pXGI->pVbe = VBEExtendedInit(NULL, pXGI->pEnt->index, SET_BIOS_SCRATCH | RESTORE_BIOS_SCRATCH);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor