xf86-video-ati: Branch 'master'

Alex Deucher agd5f at kemper.freedesktop.org
Wed Mar 4 08:04:54 PST 2009


 src/atombios_crtc.c |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 592bcac52f113a95923a8f1cb8427e7552d5670b
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Wed Mar 4 10:53:20 2009 -0500

    ATOM: don't use fixed ref div for LVDS
    
    The bios doesn't provide one.  If there are problems
    with certain panels, we may need to adjust the PLL flags
    in certain cases.
    
    Should fix bug 20458

diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index af79145..bf207bf 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -203,7 +203,7 @@ atombios_set_crtc_timing(atomBiosHandlePtr atomBIOS, SET_CRTC_TIMING_PARAMETERS_
 }
 
 void
-atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode, int pll_flags)
+atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode)
 {
     RADEONCrtcPrivatePtr radeon_crtc = crtc->driver_private;
     RADEONInfoPtr  info = RADEONPTR(crtc->scrn);
@@ -219,6 +219,7 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode, int pll_flags)
     xf86OutputPtr output;
     RADEONOutputPrivatePtr radeon_output = NULL;
     radeon_encoder_ptr radeon_encoder = NULL;
+    int pll_flags = 0;
 
     void *ptr;
     AtomBiosArgRec data;
@@ -350,7 +351,6 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
     int i, ret;
     SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION crtc_timing;
     Bool tilingChanged = FALSE;
-    int pll_flags = 0;
     memset(&crtc_timing, 0, sizeof(crtc_timing));
 
     if (info->allowColorTiling) {
@@ -373,9 +373,6 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
 		    need_tv_timings = 2;
 
 	    }
-
-	    if (radeon_output->MonType == MT_LCD)
-	      pll_flags |= RADEON_PLL_USE_REF_DIV;
 	}
     }
 
@@ -484,7 +481,7 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
 		   0);
     }
 
-    atombios_crtc_set_pll(crtc, adjusted_mode, pll_flags);
+    atombios_crtc_set_pll(crtc, adjusted_mode);
 
     atombios_set_crtc_timing(info->atomBIOS, &crtc_timing);
 


More information about the xorg-commit mailing list