summaryrefslogtreecommitdiff
path: root/src/radeon_accel.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_accel.c
parent21ed435398e4a398dd8a0a5d7c1d4cc45e916332 (diff)
radeon: move savedreg/modereg into entity instead of info
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r--src/radeon_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index 6028affe..7f05578d 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -322,7 +322,7 @@ void RADEONEngineRestore(ScrnInfoPtr pScrn)
#endif
/* Restore SURFACE_CNTL */
- OUTREG(RADEON_SURFACE_CNTL, info->ModeReg.surface_cntl);
+ OUTREG(RADEON_SURFACE_CNTL, info->ModeReg->surface_cntl);
RADEONWaitForFifo(pScrn, 1);
OUTREG(RADEON_DEFAULT_SC_BOTTOM_RIGHT, (RADEON_DEFAULT_SC_RIGHT_MAX