summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/nv/nv_proto.h
blob: ca8d8c529fd2214079dbf861d389ad7c5039612c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* $XFree86$ */

#ifndef __NV_PROTO_H__
#define __NV_PROTO_H__

/* in nv_driver.c */
Bool    NVSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
void    NVAdjustFrame(int scrnIndex, int x, int y, int flags);

/* in nv_dac.c */
void    NVRamdacInit(ScrnInfoPtr pScrn);
Bool    NVDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
void    NVDACSave(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
                  NVRegPtr nvReg, Bool saveFonts);
void    NVDACRestore(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
                     NVRegPtr nvReg, Bool restoreFonts);
void    NVDACLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
                         LOCO *colors, VisualPtr pVisual );

/* in nv_setup.c */
void    RivaEnterLeave(ScrnInfoPtr pScrn, Bool enter);
void    NV1Setup(ScrnInfoPtr pScrn);
void    NV3Setup(ScrnInfoPtr pScrn);
void    NV4Setup(ScrnInfoPtr pScrn);
void    NV10Setup(ScrnInfoPtr pScrn);

/* in nv_cursor.c */
Bool    NVCursorInit(ScreenPtr pScreen);

/* in nv_xaa.c */
Bool    NVAccelInit(ScreenPtr pScreen);
void    NVSync(ScrnInfoPtr pScrn);

/* in nv_dga.c */
Bool    NVDGAInit(ScreenPtr pScreen);

#endif /* __NV_PROTO_H__ */