summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-11-19 14:02:55 +1000
committerDave Airlie <airlied@redhat.com>2007-11-19 14:02:55 +1000
commit384cd8f52c89d089c6559e2eedbae45641fcd14e (patch)
treeb840d7ff3a131cc3097f0dcb7f2c06cde3d8f46d /src/atombios_crtc.c
parentf3f0e4ec92c935c89ddb2f4241fe4335a521b439 (diff)
parent234b6073054ac7630e82781683e666b94b2f12de (diff)
Merge branch 'agd-atom' of ../xf86-video-ati into agd-atom
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index d0c6a065..e2f3a0b4 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -450,6 +450,7 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
adjusted_mode->CrtcHTotal, adjusted_mode->CrtcVTotal, adjusted_mode->Flags);
if (IS_AVIVO_VARIANT) {
+ RADEONRestoreMemMapRegisters(pScrn, &info->ModeReg);
radeon_crtc->fb_width = adjusted_mode->CrtcHDisplay;
radeon_crtc->fb_height = pScrn->virtualY;
radeon_crtc->fb_pitch = adjusted_mode->CrtcHDisplay;