summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-11-09 16:24:56 -0500
committerAlex Deucher <alex@botch2.(none)>2007-11-09 16:24:56 -0500
commit5febe2c96642f61d006abe6e8081e69d5b95adc0 (patch)
treeb60593cb1a8266f4426a233203b4984e37f05320 /src/atombios_crtc.c
parent83f170c32c08c74a9e3466ffa0e0a0606c74427b (diff)
turn off vga control when using ext modes
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index 3a748fc4..5e537310 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -384,6 +384,12 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
if (info->tilingEnabled) {
radeon_crtc->fb_format |= AVIVO_CRTC_MACRO_ADDRESS_MODE;
}
+
+ if (radeon_crtc->crtc_id == 0)
+ OUTREG(AVIVO_VGA1_CONTROL, 0);
+ else
+ OUTREG(AVIVO_VGA2_CONTROL, 0);
+
/* setup fb format and location
*/
OUTREG(AVIVO_CRTC1_EXPANSION_SOURCE + radeon_crtc->crtc_offset,