1 #ifdef HAVE_XORG_CONFIG_H
2 #include <xorg-config.h>
9 /* Stubs for the static server on platforms that don't support fbdev */
12 fbdevHWGetRec(ScrnInfoPtr pScrn
)
18 fbdevHWFreeRec(ScrnInfoPtr pScrn
)
23 fbdevHWProbe(struct pci_device
*pPci
, char *device
, char **namep
)
29 fbdevHWInit(ScrnInfoPtr pScrn
, struct pci_device
*pPci
, char *device
)
31 xf86Msg(X_ERROR
, "fbdevhw is not available on this platform\n");
36 fbdevHWGetName(ScrnInfoPtr pScrn
)
42 fbdevHWGetDepth(ScrnInfoPtr pScrn
, int *fbbpp
)
48 fbdevHWGetLineLength(ScrnInfoPtr pScrn
)
50 return -1; /* Should cause something spectacular... */
54 fbdevHWGetType(ScrnInfoPtr pScrn
)
60 fbdevHWGetVidmem(ScrnInfoPtr pScrn
)
66 fbdevHWSetVideoModes(ScrnInfoPtr pScrn
)
71 fbdevHWGetBuildinMode(ScrnInfoPtr pScrn
)
77 fbdevHWUseBuildinMode(ScrnInfoPtr pScrn
)
82 fbdevHWMapVidmem(ScrnInfoPtr pScrn
)
88 fbdevHWLinearOffset(ScrnInfoPtr pScrn
)
94 fbdevHWUnmapVidmem(ScrnInfoPtr pScrn
)
100 fbdevHWMapMMIO(ScrnInfoPtr pScrn
)
106 fbdevHWUnmapMMIO(ScrnInfoPtr pScrn
)
112 fbdevHWModeInit(ScrnInfoPtr pScrn
, DisplayModePtr mode
)
118 fbdevHWSave(ScrnInfoPtr pScrn
)
123 fbdevHWRestore(ScrnInfoPtr pScrn
)
128 fbdevHWLoadPalette(ScrnInfoPtr pScrn
, int numColors
, int *indices
,
129 LOCO
* colors
, VisualPtr pVisual
)
134 fbdevHWValidMode(ScrnInfoPtr pScrn
, DisplayModePtr mode
, Bool verbose
, int flags
)
140 fbdevHWSwitchMode(ScrnInfoPtr pScrn
, DisplayModePtr mode
)
146 fbdevHWAdjustFrame(ScrnInfoPtr pScrn
, int x
, int y
)
151 fbdevHWEnterVT(ScrnInfoPtr pScrn
)
157 fbdevHWLeaveVT(ScrnInfoPtr pScrn
)
162 fbdevHWDPMSSet(ScrnInfoPtr pScrn
, int mode
, int flags
)
167 fbdevHWSaveScreen(ScreenPtr pScreen
, int mode
)
173 fbdevHWSwitchModeWeak(void)
175 return fbdevHWSwitchMode
;
178 xf86AdjustFrameProc
*
179 fbdevHWAdjustFrameWeak(void)
181 return fbdevHWAdjustFrame
;
185 fbdevHWEnterVTWeak(void)
187 return fbdevHWEnterVT
;
191 fbdevHWLeaveVTWeak(void)
193 return fbdevHWLeaveVT
;
197 fbdevHWValidModeWeak(void)
199 return fbdevHWValidMode
;
203 fbdevHWDPMSSetWeak(void)
205 return fbdevHWDPMSSet
;
208 xf86LoadPaletteProc
*
209 fbdevHWLoadPaletteWeak(void)
211 return fbdevHWLoadPalette
;
215 fbdevHWSaveScreenWeak(void)
217 return fbdevHWSaveScreen
;