diff options
author | Andrew Randrianasulu <randrik@mail.ru> | 2007-06-22 00:55:00 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-06-22 00:55:00 -0400 |
commit | 92e65d5e0d6817ff4c9a08020a0a9b3a8c3c98b0 (patch) | |
tree | b194affce6c7c77fcce973559b13187690d6701e | |
parent | b72ff160f908bf3aa9f64705377e92d80360a4f7 (diff) |
RADEON: Fix VT switch hangs
- reorder RADEONDRISetVBlankInterrupt() and RADEONDRIResume()
- see bug 11287
-rw-r--r-- | src/radeon_driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index caa478e6..4e1868d8 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 |