ChangeSet 1.2304, 2005/03/31 08:49:28-08:00, [EMAIL PROTECTED]

        [PATCH] radeonfb: Preserve TMDS setting
        
        radeonfb tends to override TMDS_TRANSMITTER_CNTL completely, which 
appears
        to be incorrect with some recent flat panels.  This patch changes this 
so
        that we only tweak the bits we want in there and preserve the BIOS value
        for the rest.
        
        Along with the i2c fix, that patch fixes operations on the latest Apple
        cinema displays.
        
        Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 radeon_base.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


diff -Nru a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
--- a/drivers/video/aty/radeon_base.c   2005-03-31 10:28:41 -08:00
+++ b/drivers/video/aty/radeon_base.c   2005-03-31 10:28:41 -08:00
@@ -1743,8 +1743,7 @@
                } else {
                        /* DFP */
                        newmode->fp_gen_cntl |= (FP_FPON | FP_TMDS_EN);
-                       newmode->tmds_transmitter_cntl = (TMDS_RAN_PAT_RST | 
TMDS_ICHCSEL) &
-                                                        ~(TMDS_PLLRST);
+                       newmode->tmds_transmitter_cntl &= ~(TMDS_PLLRST);
                        /* TMDS_PLL_EN bit is reversed on RV (and mobility) 
chips */
                        if (IS_R300_VARIANT(rinfo) ||
                            (rinfo->family == CHIP_FAMILY_R200) || 
!rinfo->has_CRTC2)
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to