diff options
author | Dave Airlie <airlied@linux.ie> | 2007-06-03 17:32:43 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-06-03 17:32:43 +1000 |
commit | 2d40fa55e8d7a1cfb204d66ca4a4d95a3b13d5b5 (patch) | |
tree | ba02efb921d96e4300d29a7846447a583c554f9c /src | |
parent | dcb64a4d3947e5a9fbda4b72e29a5b6102370f07 (diff) |
radeon: disable irqs at server start until 3D app starts
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_dri.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 63c35b45..11f71409 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -1675,6 +1675,9 @@ Bool RADEONDRIFinishScreenInit(ScreenPtr pScreen) info->DRICloseScreen = pScreen->CloseScreen; pScreen->CloseScreen = RADEONDRIDoCloseScreen; + /* disable vblank at startup */ + RADEONDRISetVBlankInterrupt (pScrn, FALSE); + return TRUE; } @@ -1752,6 +1755,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; |