summaryrefslogtreecommitdiff
path: root/src/radeon_video.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_video.c
parent21ed435398e4a398dd8a0a5d7c1d4cc45e916332 (diff)
radeon: move savedreg/modereg into entity instead of info
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r--src/radeon_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 3f0209e..99b74eb 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -1430,7 +1430,7 @@ RADEONAllocAdaptor(ScrnInfoPtr pScrn)
* 0 for PIXCLK < 175Mhz, and 1 (divide by 2)
* for higher clocks, sure makes life nicer
*/
- dot_clock = info->ModeReg.dot_clock_freq;
+ dot_clock = info->ModeReg->dot_clock_freq;
if (dot_clock < 17500)
info->ecp_div = 0;
@@ -2552,9 +2552,9 @@ RADEONDisplayVideo(
/* Figure out which head we are on for dot clock */
if (radeon_crtc->crtc_id == 1)
- dot_clock = info->ModeReg.dot_clock_freq_2;
+ dot_clock = info->ModeReg->dot_clock_freq_2;
else
- dot_clock = info->ModeReg.dot_clock_freq;
+ dot_clock = info->ModeReg->dot_clock_freq;
if (dot_clock < 17500)
ecp_div = 0;