summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Randrianasulu <randrik@mail.ru>2007-06-22 01:01:14 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-06-22 01:01:14 -0400
commitb9fac5695bf8f123b391e3b162c4865258a685dd (patch)
treea68a0c21c35aba61f8cf05cdc58d807a888e42b1 /src
parentec1fd2c388ec2c4033644776ee8588405a3d25f1 (diff)
RADEON: Fix VT switch hangs
- re-order DRI resume functions in EnterVT() - fixes bug 11287
Diffstat (limited to 'src')
-rw-r--r--src/radeon_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 8f6ff2b2..08157d1b 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -5482,10 +5482,10 @@ 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