summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-06-03 17:32:43 +1000
committerDave Airlie <airlied@linux.ie>2007-06-03 17:35:22 +1000
commit8ec617f6493dd0aea5d11f92e3d58c3feef8c8fd (patch)
tree898d15eef3a75637ef38e6b04709f130218bb689 /src/radeon_dri.c
parent73d8e3ec8536b4777490b7ba457566f02233811f (diff)
radeon: disable irqs at server start until 3D app starts
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r--src/radeon_dri.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index 97ed357..1b17e2e 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1679,6 +1679,9 @@ Bool RADEONDRIFinishScreenInit(ScreenPtr pScreen)
info->DRICloseScreen = pScreen->CloseScreen;
pScreen->CloseScreen = RADEONDRIDoCloseScreen;
+ /* disable vblank at startup */
+ RADEONDRISetVBlankInterrupt (pScrn, FALSE);
+
return TRUE;
}
@@ -1756,6 +1759,7 @@ void RADEONDRICloseScreen(ScreenPtr pScreen)
"RADEONDRICloseScreen\n");
if (info->irq) {
+ RADEONDRISetVBlankInterrupt (pScrn, FALSE);
drmCtlUninstHandler(info->drmFD);
info->irq = 0;
info->ModeReg.gen_int_cntl = 0;