1 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/riva_proto.h $ */
3 #ifndef __RIVA_PROTO_H__
4 #define __RIVA_PROTO_H__
7 Bool RivaSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
8 void RivaAdjustFrame(int scrnIndex, int x, int y, int flags);
9 Bool RivaI2CInit(ScrnInfoPtr pScrn);
10 const OptionInfoRec * RivaAvailableOptions(int chipid, int busid);
11 Bool RivaGetScrnInfoRec(PciChipsets *chips, int chip);
14 Bool RivaDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
15 void RivaDACSave(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
16 RivaRegPtr rivaReg, Bool saveFonts);
17 void RivaDACRestore(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
18 RivaRegPtr rivaReg, Bool restoreFonts);
19 void RivaDACLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
20 LOCO *colors, VisualPtr pVisual );
21 Bool RivaDACi2cInit(ScrnInfoPtr pScrn);
25 void RivaEnterLeave(ScrnInfoPtr pScrn, Bool enter);
26 void Riva3Setup(ScrnInfoPtr pScrn);
28 /* in riva_cursor.c */
29 Bool RivaCursorInit(ScreenPtr pScreen);
32 Bool RivaAccelInit(ScreenPtr pScreen);
33 void RivaSync(ScrnInfoPtr pScrn);
34 void RivaResetGraphics(ScrnInfoPtr pScrn);
37 Bool RivaDGAInit(ScreenPtr pScreen);
40 #endif /* __RIVA_PROTO_H__ */