diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:48:59 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:48:59 +0000 |
commit | b56dd6bacff59e17249b5a1427f99edf93657f30 (patch) | |
tree | 35b54cb736b90c40f13185173092c178038b7e8c /src/nv_proto.h | |
parent | 6962e55a393c6b1cddf6b23f9c39842234b4ef7d (diff) |
merge latest (4.3.99.16) from XFree86 (vendor) branch
Diffstat (limited to 'src/nv_proto.h')
-rw-r--r-- | src/nv_proto.h | 60 |
1 files changed, 37 insertions, 23 deletions
diff --git a/src/nv_proto.h b/src/nv_proto.h index 013f57a..f526a71 100644 --- a/src/nv_proto.h +++ b/src/nv_proto.h @@ -1,46 +1,60 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_proto.h,v 1.8 2002/11/26 23:41:59 mvojkovi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/nv_proto.h,v 1.10 2003/07/31 20:24:29 mvojkovi Exp $ */ #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); -xf86MonPtr NVdoDDC(ScrnInfoPtr pScrn); +Bool NVSwitchMode(int scrnIndex, DisplayModePtr mode, int flags); +void NVAdjustFrame(int scrnIndex, int x, int y, int flags); +Bool NVI2CInit(ScrnInfoPtr pScrn); /* 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 ); +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 ); +Bool NVDACi2cInit(ScrnInfoPtr pScrn); + /* in nv_video.c */ void NVInitVideo(ScreenPtr); void NVResetVideo (ScrnInfoPtr pScrnInfo); /* 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); -void NV20Setup(ScrnInfoPtr pScrn); +void RivaEnterLeave(ScrnInfoPtr pScrn, Bool enter); +void NVCommonSetup(ScrnInfoPtr pScrn); /* in nv_cursor.c */ -Bool NVCursorInit(ScreenPtr pScreen); +Bool NVCursorInit(ScreenPtr pScreen); /* in nv_xaa.c */ -Bool NVAccelInit(ScreenPtr pScreen); -void NVSync(ScrnInfoPtr pScrn); -void NVResetGraphics(ScrnInfoPtr pScrn); +Bool NVAccelInit(ScreenPtr pScreen); +void NVSync(ScrnInfoPtr pScrn); +void NVResetGraphics(ScrnInfoPtr pScrn); +void NVDmaKickoff(NVPtr pNv); +void NVDmaWait(NVPtr pNv, int size); /* in nv_dga.c */ -Bool NVDGAInit(ScreenPtr pScreen); +Bool NVDGAInit(ScreenPtr pScreen); + +/* in riva_hw.c */ +void NVCalcStateExt(NVPtr,struct _riva_hw_state *,int,int,int,int,int,int); +void NVLoadStateExt(NVPtr,struct _riva_hw_state *); +void NVUnloadStateExt(NVPtr,struct _riva_hw_state *); +void NVSetStartAddress(NVPtr,CARD32); +int NVShowHideCursor(NVPtr,int); +void NVLockUnlock(NVPtr,int); + +/* in nv_shadow.c */ +void NVRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox); +void NVRefreshArea8(ScrnInfoPtr pScrn, int num, BoxPtr pbox); +void NVRefreshArea16(ScrnInfoPtr pScrn, int num, BoxPtr pbox); +void NVRefreshArea32(ScrnInfoPtr pScrn, int num, BoxPtr pbox); +void NVPointerMoved(int index, int x, int y); #endif /* __NV_PROTO_H__ */ |