summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorHenry Zhao <henryz@ati.com>2006-09-18 03:09:43 +1000
committerDave Airlie <airlied@starflyer-ubuntu.(none)>2006-09-18 03:09:43 +1000
commit39fcac431eba60adf2d4e357cfc811dbae36a4e1 (patch)
tree7fc664b29ba09090be87d387d9ddf0163c3d005e /src/radeon_driver.c
parent7d9e2b450f0fa42553156f57572a6dab70a0ea13 (diff)
Bump up clock rate for ES1000 to allow higher resolutions
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 4b79f281..2d913c23 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -1694,9 +1694,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);
}