Merge branch 'randr-1.2' into nv50-branch
[nouveau] / src / riva_proto.h
1 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/riva_proto.h $ */
2
3 #ifndef __RIVA_PROTO_H__
4 #define __RIVA_PROTO_H__
5
6 /* in riva_driver.c */
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);
12
13 /* in riva_dac.c */
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);
22
23
24 /* in riva_setup.c */
25 void    RivaEnterLeave(ScrnInfoPtr pScrn, Bool enter);
26 void    Riva3Setup(ScrnInfoPtr pScrn);
27
28 /* in riva_cursor.c */
29 Bool    RivaCursorInit(ScreenPtr pScreen);
30
31 /* in riva_xaa.c */
32 Bool    RivaAccelInit(ScreenPtr pScreen);
33 void    RivaSync(ScrnInfoPtr pScrn);
34 void    RivaResetGraphics(ScrnInfoPtr pScrn);
35
36 /* in riva_dga.c */
37 Bool    RivaDGAInit(ScreenPtr pScreen);
38
39
40 #endif /* __RIVA_PROTO_H__ */
41