~ubuntu-branches/ubuntu/raring/xserver-xorg-video-nouveau/raring

« back to all changes in this revision

Viewing changes to src/nv_proto.h

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2009-07-08 08:31:59 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090708083159-43u08h03oku0d1h1
Tags: 1:0.0.10~git+20090708+ef3a386-0ubuntu1
* New upstream snapshot
  + Too many git commits to usefully list in changelog.  Lots of fixes,
    especially for nv5x and nv6x chips.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
PixmapPtr NVGetDrawablePixmap(DrawablePtr pDraw);
20
20
void NVAccelFree(ScrnInfoPtr pScrn);
21
21
 
22
 
/* in nv_driver.c */
23
 
Bool   NVI2CInit(ScrnInfoPtr pScrn);
24
 
 
25
22
/* in nv_dri.c */
26
23
Bool NVDRIScreenInit(ScrnInfoPtr pScrn);
27
24
Bool NVDRIFinishScreenInit(ScrnInfoPtr pScrn);
28
25
void NVDRICloseScreen(ScrnInfoPtr pScrn);
29
 
extern const char *drmSymbols[], *driSymbols[];
30
26
Bool NVDRIGetVersion(ScrnInfoPtr pScrn);
31
27
 
32
28
/* in nouveau_dri2.c */
33
29
Bool nouveau_dri2_init(ScreenPtr pScreen);
34
30
void nouveau_dri2_fini(ScreenPtr pScreen);
35
31
 
36
 
/* in nv_dac.c */
37
 
Bool   NVDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
38
 
void   NVDACSave(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
39
 
                 NVRegPtr nvReg, Bool saveFonts);
40
 
void   NVDACRestore(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
41
 
                    NVRegPtr nvReg, Bool restoreFonts);
42
 
void   NVDACLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
43
 
                        LOCO *colors, VisualPtr pVisual );
44
 
Bool   NVDACi2cInit(ScrnInfoPtr pScrn);
45
 
 
46
32
/* in nouveau_xv.c */
47
33
void NVInitVideo(ScreenPtr);
48
34
void NVTakedownVideo(ScrnInfoPtr);
73
59
Bool nouveau_exa_pixmap_is_onscreen(PixmapPtr pPixmap);
74
60
bool nouveau_exa_pixmap_is_tiled(PixmapPtr ppix);
75
61
 
76
 
/* in nv_hw.c */
77
 
void NVCalcStateExt(ScrnInfoPtr,struct nouveau_mode_state *,int,int,int,int,int,int);
78
 
void NVLoadStateExt(ScrnInfoPtr pScrn,struct nouveau_mode_state *);
79
 
void NVUnloadStateExt(NVPtr,struct nouveau_mode_state *);
80
 
void NVSetStartAddress(NVPtr,CARD32);
 
62
/* in nouveau_wfb.c */
 
63
void nouveau_wfb_setup_wrap(ReadMemoryProcPtr *, WriteMemoryProcPtr *,
 
64
                            DrawablePtr);
 
65
void nouveau_wfb_finish_wrap(DrawablePtr);
 
66
void nouveau_wfb_init();
81
67
 
82
68
/* in nv_shadow.c */
83
69
void NVRefreshArea(ScrnInfoPtr pScrn, int num, BoxPtr pbox);
90
76
int run_tmds_table(ScrnInfoPtr pScrn, struct dcb_entry *dcbent, int head, int pxclk);
91
77
int get_pll_limits(ScrnInfoPtr pScrn, uint32_t limit_match, struct pll_lims *pll_lim);
92
78
uint8_t * nouveau_bios_embedded_edid(ScrnInfoPtr pScrn);
 
79
int nouveau_bios_run_display_table(ScrnInfoPtr, struct dcb_entry *, int pxclk);
93
80
 
94
81
/* nv_crtc.c */
95
82
void nv_crtc_set_digital_vibrance(xf86CrtcPtr crtc, int level);
108
95
void NVWriteVgaGr(NVPtr pNv, int head, uint8_t index, uint8_t value);
109
96
uint8_t NVReadVgaGr(NVPtr pNv, int head, uint8_t index);
110
97
void NVSetOwner(NVPtr pNv, int owner);
 
98
int nouveau_hw_get_current_head(ScrnInfoPtr pScrn);
111
99
void NVBlankScreen(NVPtr pNv, int head, bool blank);
112
100
void nouveau_hw_setpll(ScrnInfoPtr pScrn, uint32_t reg1,
113
101
                       struct nouveau_pll_vals *pv);
247
235
 
248
236
/* nv50_sor.c */
249
237
void NV50SorSetFunctionPointers(nouveauOutputPtr output);
250
 
DisplayModePtr GetLVDSNativeMode(ScrnInfoPtr pScrn);
251
238
 
252
239
/* nv50_connector.c */
253
240
void NV50ConnectorInit(ScrnInfoPtr pScrn);
272
259
extern void exaMoveInPixmap(PixmapPtr pPixmap);
273
260
#endif
274
261
 
 
262
extern Bool wfbPictureInit(ScreenPtr, PictFormatPtr, int);
 
263
 
275
264
#endif /* __NV_PROTO_H__ */
276
265