diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c index 6d24c2b..3e94505 100644 --- a/src/atombios_crtc.c +++ b/src/atombios_crtc.c @@ -304,8 +304,8 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode) if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) pll_flags |= RADEON_PLL_NO_ODD_POST_DIV; - if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT)) - pll_flags |= (RADEON_PLL_USE_BIOS_DIVS | RADEON_PLL_USE_REF_DIV); + //if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT)) + //pll_flags |= (RADEON_PLL_USE_BIOS_DIVS | RADEON_PLL_USE_REF_DIV); } } diff --git a/src/legacy_crtc.c b/src/legacy_crtc.c index b57ba5f..335653e 100644 --- a/src/legacy_crtc.c +++ b/src/legacy_crtc.c @@ -1765,8 +1765,10 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) pll_flags |= RADEON_PLL_NO_ODD_POST_DIV; - if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT)) - pll_flags |= (RADEON_PLL_USE_BIOS_DIVS | RADEON_PLL_USE_REF_DIV); + if (!info->IsAtomBios) { + if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT)) + pll_flags |= (RADEON_PLL_USE_BIOS_DIVS | RADEON_PLL_USE_REF_DIV); + } } } diff --git a/src/legacy_output.c b/src/legacy_output.c index 7134ee1..748c77e 100644 --- a/src/legacy_output.c +++ b/src/legacy_output.c @@ -351,9 +351,9 @@ RADEONRestoreLVDSRegisters(ScrnInfoPtr pScrn, RADEONSavePtr restore) OUTREG(RADEON_LVDS_GEN_CNTL, restore->lvds_gen_cntl); /*OUTREG(RADEON_LVDS_PLL_CNTL, restore->lvds_pll_cntl);*/ - if (info->ChipFamily == CHIP_FAMILY_RV410) { - OUTREG(RADEON_CLOCK_CNTL_INDEX, 0); - } + //if (info->ChipFamily == CHIP_FAMILY_RV410) { + // OUTREG(RADEON_CLOCK_CNTL_INDEX, 0); + //} } }