diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-12-12 20:12:06 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-12-12 20:12:06 -0500 |
commit | 6ccf5b33d27218ae1c45ab93c122438ed536d8ba (patch) | |
tree | 8d9372fc3aefab377372824a92a9c6c1c3d92171 | |
parent | 1668f2056f56370f1b5681c13f1e14904e301216 (diff) |
RADEON: only enable vblanks if we want them
should fix bug 13610
-rw-r--r-- | src/radeon_dri.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 7136e4e0..618334ea 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -1361,6 +1361,9 @@ Bool RADEONDRISetVBlankInterrupt(ScrnInfoPtr pScrn, Bool on) xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn); int value = 0; + if (!info->want_vblank_interrupts) + on = FALSE; + if (info->directRenderingEnabled && info->pKernelDRMVersion->version_minor >= 28) { if (on) { if (xf86_config->num_crtc > 1 && xf86_config->crtc[1]->enabled) |