summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-10 15:33:51 +0200
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-10 15:33:51 +0200
commitbba456232ac9a6218aa7fbd504d6093fa72860cf (patch)
tree80c457a2afa57baf49f5c33c9ccc809f7f8d13c6
parent1779a12a947401e5c6bcf784b47e9b3c80d37204 (diff)
RADEON: fix VT switch
-rw-r--r--src/radeon_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index ab67f494..2afe4dcb 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -4670,6 +4670,7 @@ void RADEONRestoreMode(ScrnInfoPtr pScrn, RADEONSavePtr restore)
RADEONRestoreCommonRegisters(pScrn, restore);
RADEONRestoreCrtcRegisters(pScrn, restore);
RADEONRestoreFPRegisters(pScrn, restore);
+ RADEONRestoreDACRegisters(pScrn, restore);
RADEONRestorePLLRegisters(pScrn, restore);
return;
}
@@ -4699,6 +4700,7 @@ void RADEONRestoreMode(ScrnInfoPtr pScrn, RADEONSavePtr restore)
RADEONRestoreCrtc2Registers(pScrn, restore);
RADEONRestorePLL2Registers(pScrn, restore);
RADEONRestoreFPRegisters(pScrn, restore);
+ RADEONRestoreDACRegisters(pScrn, restore);
RADEONEnableOuputs(pScrn, 2);
} else {
RADEONRestoreMemMapRegisters(pScrn, restore);
@@ -4711,6 +4713,7 @@ void RADEONRestoreMode(ScrnInfoPtr pScrn, RADEONSavePtr restore)
RADEONRestoreCrtcRegisters(pScrn, restore);
RADEONRestorePLLRegisters(pScrn, restore);
RADEONRestoreFPRegisters(pScrn, restore);
+ RADEONRestoreDACRegisters(pScrn, restore);
RADEONEnableOuputs(pScrn, 1);
if (pCRTC2->binding == 1) {
RADEONEnableOuputs(pScrn, 2);
@@ -4727,6 +4730,7 @@ void RADEONRestoreMode(ScrnInfoPtr pScrn, RADEONSavePtr restore)
RADEONRestoreCrtcRegisters(pScrn, restore);
RADEONRestorePLLRegisters(pScrn, restore);
RADEONRestoreFPRegisters(pScrn, restore);
+ RADEONRestoreDACRegisters(pScrn, restore);
ErrorF("finished FP restore\n");
RADEONEnableOutputs(pScrn, 1);