From a15ac59c4d1a15380910be2a7438111b09161c81 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 18 Sep 2006 06:35:28 +1000 Subject: radeon: re-add ATI patch for rn50 modes --- src/radeon_driver.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 532a857e..3fa10c5a 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -1108,9 +1108,12 @@ static void RADEONGetClockInfo(ScrnInfoPtr pScrn) if (info->ChipFamily == CHIP_FAMILY_RV100 && !info->HasCRTC2) { /* Avoid RN50 corruption due to memory bandwidth starvation. * 18 is an empirical value based on the databook and Windows driver. - */ + * + * Empirical value changed to 24 to raise pixel clock limit and + * allow higher resolution modes on capable monitors. + */ pll->max_pll_freq = min(pll->max_pll_freq, - 18 * info->mclk * 100 / pScrn->bitsPerPixel * + 24 * info->mclk * 100 / pScrn->bitsPerPixel * info->RamWidth / 16); } -- cgit v1.2.3