2 #ifdef HAVE_XORG_CONFIG_H
3 #include <xorg-config.h>
10 /* Stubs for the static server on platforms that don't support fbdev */
14 fbdevHWGetRec(ScrnInfoPtr pScrn
)
20 fbdevHWFreeRec(ScrnInfoPtr pScrn
)
26 fbdevHWProbe(pciVideoPtr pPci
, char *device
, char **namep
)
32 fbdevHWInit(ScrnInfoPtr pScrn
, pciVideoPtr pPci
, char *device
)
34 xf86Msg(X_ERROR
, "fbdevhw is not available on this platform\n");
39 fbdevHWGetName(ScrnInfoPtr pScrn
)
45 fbdevHWGetDepth(ScrnInfoPtr pScrn
, int *fbbpp
)
51 fbdevHWGetLineLength(ScrnInfoPtr pScrn
)
53 return -1; /* Should cause something spectacular... */
57 fbdevHWGetType(ScrnInfoPtr pScrn
)
63 fbdevHWGetVidmem(ScrnInfoPtr pScrn
)
69 fbdevHWSetVideoModes(ScrnInfoPtr pScrn
)
74 fbdevHWGetBuildinMode(ScrnInfoPtr pScrn
)
80 fbdevHWUseBuildinMode(ScrnInfoPtr pScrn
)
85 fbdevHWMapVidmem(ScrnInfoPtr pScrn
)
91 fbdevHWLinearOffset(ScrnInfoPtr pScrn
)
97 fbdevHWUnmapVidmem(ScrnInfoPtr pScrn
)
103 fbdevHWMapMMIO(ScrnInfoPtr pScrn
)
109 fbdevHWUnmapMMIO(ScrnInfoPtr pScrn
)
115 fbdevHWModeInit(ScrnInfoPtr pScrn
, DisplayModePtr mode
)
121 fbdevHWSave(ScrnInfoPtr pScrn
)
126 fbdevHWRestore(ScrnInfoPtr pScrn
)
131 fbdevHWLoadPalette(ScrnInfoPtr pScrn
, int numColors
, int *indices
,
132 LOCO
*colors
, VisualPtr pVisual
)
137 fbdevHWValidMode(int scrnIndex
, DisplayModePtr mode
, Bool verbose
, int flags
)
143 fbdevHWSwitchMode(int scrnIndex
, DisplayModePtr mode
, int flags
)
149 fbdevHWAdjustFrame(int scrnIndex
, int x
, int y
, int flags
)
154 fbdevHWEnterVT(int scrnIndex
, int flags
)
160 fbdevHWLeaveVT(int scrnIndex
, int flags
)
165 fbdevHWDPMSSet(ScrnInfoPtr pScrn
, int mode
, int flags
)
170 fbdevHWSaveScreen(ScreenPtr pScreen
, int mode
)
176 fbdevHWSwitchModeWeak(void) { return fbdevHWSwitchMode
; }
178 xf86AdjustFrameProc
*
179 fbdevHWAdjustFrameWeak(void) { return fbdevHWAdjustFrame
; }
182 fbdevHWEnterVTWeak(void) { return fbdevHWEnterVT
; }
185 fbdevHWLeaveVTWeak(void) { return fbdevHWLeaveVT
; }
188 fbdevHWValidModeWeak(void) { return fbdevHWValidMode
; }
191 fbdevHWDPMSSetWeak(void) { return fbdevHWDPMSSet
; }
193 xf86LoadPaletteProc
*
194 fbdevHWLoadPaletteWeak(void) { return fbdevHWLoadPalette
; }
197 fbdevHWSaveScreenWeak(void) { return fbdevHWSaveScreen
; }