diff options
-rw-r--r-- | src/radeon_dri.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 32181473..a192811f 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -1211,6 +1211,12 @@ static void RADEONDRIIrqInit(RADEONInfoPtr info, ScreenPtr pScreen) } else { unsigned char *RADEONMMIO = info->MMIO; info->ModeReg->gen_int_cntl = INREG( RADEON_GEN_INT_CNTL ); + + /* Let the DRM know it can safely disable the vblank interrupts */ + radeon_crtc_modeset_ioctl(XF86_CRTC_CONFIG_PTR(pScrn)->crtc[0], + FALSE); + radeon_crtc_modeset_ioctl(XF86_CRTC_CONFIG_PTR(pScrn)->crtc[0], + TRUE); } } |