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:35:22 +1000 |
commit | 8ec617f6493dd0aea5d11f92e3d58c3feef8c8fd (patch) | |
tree | 898d15eef3a75637ef38e6b04709f130218bb689 | |
parent | 73d8e3ec8536b4777490b7ba457566f02233811f (diff) |
radeon: disable irqs at server start until 3D app starts
-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 97ed357f..1b17e2ef 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; |