summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorAndrew Randrianasulu <randrik@mail.ru>2007-06-22 00:55:00 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-06-22 00:55:00 -0400
commit92e65d5e0d6817ff4c9a08020a0a9b3a8c3c98b0 (patch)
treeb194affce6c7c77fcce973559b13187690d6701e /src/radeon_driver.c
parentb72ff160f908bf3aa9f64705377e92d80360a4f7 (diff)
RADEON: Fix VT switch hangs
- reorder RADEONDRISetVBlankInterrupt() and RADEONDRIResume() - see bug 11287
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index caa478e..4e1868d 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -6931,10 +6931,9 @@ Bool RADEONEnterVT(int scrnIndex, int flags)
}
/* get the DRI back into shape after resume */
+ RADEONDRISetVBlankInterrupt (pScrn, TRUE);
RADEONDRIResume(pScrn->pScreen);
RADEONAdjustMemMapRegisters(pScrn, &info->ModeReg);
-
- RADEONDRISetVBlankInterrupt (pScrn, TRUE);
}
#endif
/* this will get XVideo going again, but only if XVideo was initialised