diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-12-05 08:15:59 +0100 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2008-12-05 08:15:59 +0100 |
commit | bae30856f2cb3884387ef347327af6ff00b75854 (patch) | |
tree | 2dc9e10ddc41193837b43dbdbdf3e985eccde657 /src/radeon.h | |
parent | 33638d9e388b330e2f4eb4debd05ba09924cf176 (diff) |
Make VSync for EXA and Xv configurable
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/radeon.h b/src/radeon.h index 051b7658..8427e84c 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -205,7 +205,8 @@ typedef enum { OPTION_TVSTD, OPTION_IGNORE_LID_STATUS, OPTION_DEFAULT_TVDAC_ADJ, - OPTION_INT10 + OPTION_INT10, + OPTION_EXA_VSYNC } RADEONOpts; @@ -601,6 +602,8 @@ struct radeon_accel_state { /* Size of tiles ... set to 65536x65536 if not tiling in that direction */ Bool src_tile_width; Bool src_tile_height; + + Bool vsync; #endif #ifdef USE_XAA @@ -942,11 +945,11 @@ extern Bool radeon_card_posted(ScrnInfoPtr pScrn); #ifdef XF86DRI extern void RADEONWaitForIdleCP(ScrnInfoPtr pScrn); extern void RADEONWaitForVLineCP(ScrnInfoPtr pScrn, PixmapPtr pPix, - int crtc, int start, int stop); + int crtc, int start, int stop, int enable); #endif extern void RADEONWaitForIdleMMIO(ScrnInfoPtr pScrn); extern void RADEONWaitForVLineMMIO(ScrnInfoPtr pScrn, PixmapPtr pPix, - int crtc, int start, int stop); + int crtc, int start, int stop, int enable); /* radeon_crtc.c */ extern void radeon_crtc_dpms(xf86CrtcPtr crtc, int mode); |