diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-11-09 16:24:56 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-11-09 16:24:56 -0500 |
commit | 5febe2c96642f61d006abe6e8081e69d5b95adc0 (patch) | |
tree | b60593cb1a8266f4426a233203b4984e37f05320 /src/atombios_crtc.c | |
parent | 83f170c32c08c74a9e3466ffa0e0a0606c74427b (diff) |
turn off vga control when using ext modes
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r-- | src/atombios_crtc.c | 6 |
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, |