summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2008-04-03 22:11:48 -0400
committerAlex Deucher <alex@botch2.com>2008-04-03 22:11:48 -0400
commit950e9860643c20acde0eca4e4ff26baacc1f2b69 (patch)
treebe814818535c3d2fdb6b7f86a61128e1f8f29221 /src/atombios_crtc.c
parent88a1fe4a94c5d11aff22734b21c89890e4428cd5 (diff)
Revert "RADEON: memmap rework 1"
This reverts commit dd8ee1b444f4b973a1e0fadca5f943f2162b5e94. Conflicts: src/radeon.h src/radeon_driver.c This rework seems to have caused more trouble than it was worth.
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index 08f8386d..51981a75 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -403,6 +403,9 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
ErrorF("Mode %dx%d - %d %d %d\n", adjusted_mode->CrtcHDisplay, adjusted_mode->CrtcVDisplay,
adjusted_mode->CrtcHTotal, adjusted_mode->CrtcVTotal, adjusted_mode->Flags);
+ RADEONInitMemMapRegisters(pScrn, info->ModeReg, info);
+ RADEONRestoreMemMapRegisters(pScrn, info->ModeReg);
+
if (IS_AVIVO_VARIANT) {
CARD32 fb_format;