diff options
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index eaf5d27b..2e503afd 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -3546,8 +3546,10 @@ I830LeaveVT(int scrnIndex, int flags) if (pI830->directRenderingOpen) { DRILock(screenInfo.screens[pScrn->scrnIndex], 0); - I830DRISetVBlankInterrupt (pScrn, FALSE); - drmCtlUninstHandler(pI830->drmSubFD); + if (!pI830->memory_manager) { + I830DRISetVBlankInterrupt (pScrn, FALSE); + drmCtlUninstHandler(pI830->drmSubFD); + } } #endif |