diff options
Diffstat (limited to 'source/x/x11/patch/xf86-video-xgixp/0002-Remove-symbol-lists-as-they-are-not-used-any-more.patch')
-rw-r--r-- | source/x/x11/patch/xf86-video-xgixp/0002-Remove-symbol-lists-as-they-are-not-used-any-more.patch | 176 |
1 files changed, 176 insertions, 0 deletions
diff --git a/source/x/x11/patch/xf86-video-xgixp/0002-Remove-symbol-lists-as-they-are-not-used-any-more.patch b/source/x/x11/patch/xf86-video-xgixp/0002-Remove-symbol-lists-as-they-are-not-used-any-more.patch new file mode 100644 index 00000000..3460782f --- /dev/null +++ b/source/x/x11/patch/xf86-video-xgixp/0002-Remove-symbol-lists-as-they-are-not-used-any-more.patch @@ -0,0 +1,176 @@ +From e881cbb7cc4aa2d3a4477fd3e0681dc35075457a Mon Sep 17 00:00:00 2001 +From: Egbert Eich <eich@freedesktop.org> +Date: Fri, 19 Jul 2013 12:10:57 +0200 +Subject: [PATCH 2/5] Remove symbol lists as they are not used any more + +Remove symbol lists once used by the old Metrolink module +loader to ensure that all symbols used by the driver are +present. +This module loader has been dropped ages ago, the function +calls into this module loader to perform this verification +has been dropped from this driver howver the symbol lists +have survived - not referenced from anywhere any more. + +Reviewed-by: <wharms@bfs.de> +Signed-off-by: Egbert Eich <eich@freedesktop.org> +--- + src/xgi_driver.c | 143 ------------------------------------------------------- + 1 file changed, 143 deletions(-) + +diff --git a/src/xgi_driver.c b/src/xgi_driver.c +index 8ce071b..c98fcf7 100644 +--- a/src/xgi_driver.c ++++ b/src/xgi_driver.c +@@ -149,149 +149,6 @@ static void xg47_setup_fb_wrap(ReadMemoryProcPtr *read_ptr, + WriteMemoryProcPtr *write_ptr, DrawablePtr pDraw); + static void xg47_finish_fb_wrap(DrawablePtr pDraw); + +- +-static const char *vgahwSymbols[] = { +- "vgaHWBlankScreen", +- "vgaHWddc1SetSpeedWeak", +- "vgaHWFreeHWRec", +- "vgaHWGetHWRec", +- "vgaHWGetIOBase", +- "vgaHWGetIndex", +- "vgaHWInit", +- "vgaHWLock", +- "vgaHWMapMem", +- "vgaHWProtect", +- "vgaHWRestore", +- "vgaHWSave", +- "vgaHWSaveScreen", +- "vgaHWSetMmioFuncs", +- "vgaHWUnlock", +- NULL +-}; +- +-static const char *ddcSymbols[] = { +- "xf86DoEDID_DDC1", +- "xf86DoEDID_DDC2", +- "xf86PrintEDID", +- "xf86SetDDCproperties", +- NULL +-}; +- +-static const char *i2cSymbols[] = { +- "xf86CreateI2CBusRec", +- "xf86I2CBusInit", +- NULL +-}; +- +-static const char *fbSymbols[] = { +-#if X_BYTE_ORDER == X_BIG_ENDIAN +- "wfbPictureInit", +- "wfbScreenInit", +-#else +- "fbPictureInit", +- "fbScreenInit", +-#endif +- NULL +-}; +- +-static const char *xaaSymbols[] = { +- "XAACreateInfoRec", +- "XAAestroyInfoRec", +- "XAAFillSolidRects", +- "XAAGetCopyROP", +- "XAAGetPatternROP", +- "XAAInit", +- "XAAScreenIndex", +- "XAAStippleScanlineFuncLSBFirst", +- "XAAOverlayFBfuncs", +- "XAACachePlanarMonoStipple", +- "XAAHelpPatternROP", +- NULL +-}; +- +-static const char *ramdacSymbols[] = { +- "xf86CreateCursorInfoRec", +- "xf86DestroyCursorInfoRec", +- "xf86InitCursor", +- NULL +-}; +- +-static const char *drmSymbols[] = { +- "drmGetInterruptFromBusID", +- "drmCtlInstHandler", +- "drmCtlUninstHandler", +- "drmCommandNone", +- "drmCommandRead", +- "drmCommandWrite", +- "drmCommandWriteRead", +- "drmFreeVersion", +- "drmGetLibVersion", +- "drmGetVersion", +- "drmMap", +- "drmUnmap", +- NULL +-}; +- +-static const char *driSymbols[] = { +- "DRICloseScreen", +- "DRICreateInfoRec", +- "DRIDestroyInfoRec", +- "DRIFinishScreenInit", +- "DRIGetContext", +- "DRIGetDeviceInfo", +- "DRIGetSAREAPrivate", +- "DRILock", +- "DRIQueryVersion", +- "DRIScreenInit", +- "DRIUnlock", +- "DRICreatePCIBusID", +- NULL +-}; +- +-static const char *vbeSymbols[] = { +- "VBEInit", +- "VBEDPMSSet", +- "vbeDoEDID", +- "vbeFree", +- NULL +-}; +- +-static const char *int10Symbols[] = { +- "xf86ExecX86int10", +- "xf86FreeInt10", +- "xf86InitInt10", +- NULL +-}; +- +-static const char *shadowSymbols[] = { +- "shadowInit", +- NULL +-}; +- +-static const char *fbdevHWSymbols[] = { +- "fbdevHWInit", +- "fbdevHWUseBuildinMode", +- "fbdevHWGetLineLength", +- "fbdevHWGetVidmem", +- "fbdevHWDPMSSet", +- /* colormap */ +- "fbdevHWLoadPaletteWeak", +- /* ScrnInfo hooks */ +- "fbdevHWAdjustFrameWeak", +- "fbdevHWEnterVT", +- "fbdevHWLeaveVT", +- "fbdevHWModeInit", +- "fbdevHWRestore", +- "fbdevHWSave", +- "fbdevHWSwitchModeWeak", +- "fbdevHWValidModeWeak", +- "fbdevHWMapMMIO", +- "fbdevHWMapVidmem", +- "fbdevHWUnmapMMIO", +- "fbdevHWUnmapVidmem", +- NULL +-}; +- + #ifdef XSERVER_LIBPCIACCESS + #define XGI_DEVICE_MATCH(d, i) \ + { 0x18ca, (d), PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, (i) } +-- +2.3.5 + |