summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.(none)>2006-10-15 16:40:08 -0400
committerAlex Deucher <alex@t41p.(none)>2006-10-15 16:40:08 -0400
commit457178f418983041ea59df703a17513a47d17044 (patch)
treedaab89713728c0868b686caee6a1936aabd0bd29 /src/radeon_driver.c
parent3fb3f410931a13542fdd4c51c4c9ecada7b37d76 (diff)
Disable all ouputs on initial mode set. The ones we want will get
enabled by RADEONEnableDisplay().
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 97370ca3..28a16723 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -5760,6 +5760,12 @@ static void RADEONRestoreMode(ScrnInfoPtr pScrn, RADEONSavePtr restore)
return;
}
+ /* Disable all outputs at initial mode set. the ones we want will
+ get set by RADEONEnableDisplay()
+ */
+ if (!info->IsSwitching && !info->IsSecondary)
+ RADEONDisableDisplays(pScrn);
+
/* When changing mode with Dual-head card, care must be taken for
* the special order in setting registers. CRTC2 has to be set
* before changing CRTC_EXT register. In the dual-head setup, X