summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-11-09 16:35:08 -0500
committerAlex Deucher <alex@botch2.(none)>2007-11-09 16:35:08 -0500
commit8078c299d5941460243944d55051547c1a4d3791 (patch)
tree60ecd2727591d99d9c41b0e06623b47b2c0859ff /src/radeon_crtc.c
parent5febe2c96642f61d006abe6e8081e69d5b95adc0 (diff)
use atom to program plls on r4xx
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 397942ae..a437f978 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -907,18 +907,18 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
ErrorF("restore crtc1\n");
RADEONRestoreCrtcRegisters(pScrn, &info->ModeReg);
ErrorF("restore pll1\n");
- /*if (info->IsAtomBios)
+ if (info->IsAtomBios)
atombios_crtc_set_pll(crtc, adjusted_mode);
- else*/
+ else
RADEONRestorePLLRegisters(pScrn, &info->ModeReg);
break;
case 1:
ErrorF("restore crtc2\n");
RADEONRestoreCrtc2Registers(pScrn, &info->ModeReg);
ErrorF("restore pll2\n");
- /*if (info->IsAtomBios)
+ if (info->IsAtomBios)
atombios_crtc_set_pll(crtc, adjusted_mode);
- else*/
+ else
RADEONRestorePLL2Registers(pScrn, &info->ModeReg);
break;
}