summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-12-07 14:30:32 +1000
committerDave Airlie <airlied@redhat.com>2007-12-07 14:30:32 +1000
commitbb5ede557bf32a42eef158ff0fbcfe1c6ede098a (patch)
tree88055797258b77970be6e925fa616fcce4175621 /src/radeon_dri.c
parent21ed435398e4a398dd8a0a5d7c1d4cc45e916332 (diff)
radeon: move savedreg/modereg into entity instead of info
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r--src/radeon_dri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index 7136e4e0..dbfa8d9e 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1197,7 +1197,7 @@ static void RADEONDRIIrqInit(RADEONInfoPtr info, ScreenPtr pScreen)
info->irq = 0;
} else {
unsigned char *RADEONMMIO = info->MMIO;
- info->ModeReg.gen_int_cntl = INREG( RADEON_GEN_INT_CNTL );
+ info->ModeReg->gen_int_cntl = INREG( RADEON_GEN_INT_CNTL );
}
}
@@ -1774,7 +1774,7 @@ void RADEONDRICloseScreen(ScreenPtr pScreen)
RADEONDRISetVBlankInterrupt (pScrn, FALSE);
drmCtlUninstHandler(info->drmFD);
info->irq = 0;
- info->ModeReg.gen_int_cntl = 0;
+ info->ModeReg->gen_int_cntl = 0;
}
/* De-allocate vertex buffers */