summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index 5c2d261e..3c61ef78 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -239,7 +239,7 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode)
void *ptr;
AtomBiosArgRec data;
unsigned char *space;
- RADEONSavePtr save = &info->ModeReg;
+ RADEONSavePtr save = info->ModeReg;
if (IS_AVIVO_VARIANT) {
CARD32 temp;
@@ -361,8 +361,8 @@ 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);
+ RADEONInitMemMapRegisters(pScrn, info->ModeReg, info);
+ RADEONRestoreMemMapRegisters(pScrn, info->ModeReg);
if (IS_AVIVO_VARIANT) {
radeon_crtc->fb_width = adjusted_mode->CrtcHDisplay;