diff options
author | Dave Airlie <airlied@redhat.com> | 2007-12-07 14:30:32 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2007-12-07 14:30:32 +1000 |
commit | bb5ede557bf32a42eef158ff0fbcfe1c6ede098a (patch) | |
tree | 88055797258b77970be6e925fa616fcce4175621 /src/radeon_video.c | |
parent | 21ed435398e4a398dd8a0a5d7c1d4cc45e916332 (diff) |
radeon: move savedreg/modereg into entity instead of info
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r-- | src/radeon_video.c | 6 |
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; |