6420892 ATI ES1000: resolution too low on Sun 24-inch LCD
authorCarl Switzky <Carl.Switzky@Sun.COM>
Wed, 07 Jun 2006 11:41:14 -0700
changeset 28 d7de7f091eb4
parent 27 87081465ab5f
child 29 449a687b3d6f
6420892 ATI ES1000: resolution too low on Sun 24-inch LCD
XORG_NV/sun-src/xf86-video-ati-6.5.8.0/src/radeon_driver.c
--- a/XORG_NV/sun-src/xf86-video-ati-6.5.8.0/src/radeon_driver.c	Tue Jun 06 15:06:21 2006 -0700
+++ b/XORG_NV/sun-src/xf86-video-ati-6.5.8.0/src/radeon_driver.c	Wed Jun 07 11:41:14 2006 -0700
@@ -1743,9 +1743,12 @@
     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);
     }