summaryrefslogtreecommitdiff
path: root/src/radeon_commonfuncs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-12-05 08:15:59 +0100
committerPierre Ossman <pierre@ossman.eu>2008-12-05 08:15:59 +0100
commitbae30856f2cb3884387ef347327af6ff00b75854 (patch)
tree2dc9e10ddc41193837b43dbdbdf3e985eccde657 /src/radeon_commonfuncs.c
parent33638d9e388b330e2f4eb4debd05ba09924cf176 (diff)
Make VSync for EXA and Xv configurable
Diffstat (limited to 'src/radeon_commonfuncs.c')
-rw-r--r--src/radeon_commonfuncs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c
index c2f34511..92e10d29 100644
--- a/src/radeon_commonfuncs.c
+++ b/src/radeon_commonfuncs.c
@@ -637,13 +637,16 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn)
/* inserts a wait for vline in the command stream */
void FUNC_NAME(RADEONWaitForVLine)(ScrnInfoPtr pScrn, PixmapPtr pPix,
- int crtc, int start, int stop)
+ int crtc, int start, int stop, Bool enable)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
uint32_t offset;
ACCEL_PREAMBLE();
+ if (!enable)
+ return;
+
if ((crtc < 0) || (crtc > 1))
return;