summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-10-16 10:35:17 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-10-16 11:18:06 +0800
commit871728a0cbba12579c830e67020cc0c69c1611bb (patch)
treeae57f4195a7ad35038a31884828befaa31c1681e /src/i830_driver.c
parent2419bce9efbff63529074e64af5ec5c2e62e368b (diff)
Don't handle irq in GEM mode
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c6
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