ChangeSet 1.2279, 2005/03/31 08:42:14-08:00, [EMAIL PROTECTED]

        [PATCH] radeonfb: DDC i2c fix
        
        The radeonfb code for DDC probing (like it's X.org counterpart) uses to
        leave the DDC clock & data lines asserted after the probing is complete.
        This causes problems with some Apple monitors like the new Cinema HD 
23",
        who will turn themselves off when that happens.  This fixes it.
        
        Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 radeon_i2c.c |    6 ++++++
 1 files changed, 6 insertions(+)


diff -Nru a/drivers/video/aty/radeon_i2c.c b/drivers/video/aty/radeon_i2c.c
--- a/drivers/video/aty/radeon_i2c.c    2005-03-31 10:22:32 -08:00
+++ b/drivers/video/aty/radeon_i2c.c    2005-03-31 10:22:32 -08:00
@@ -236,6 +236,12 @@
                if (edid)
                        break;
        }
+       /* Release the DDC lines when done or the Apple Cinema HD display
+        * will switch off
+        */
+       OUTREG(reg, INREG(reg) & ~(VGA_DDC_CLK_OUT_EN | VGA_DDC_DATA_OUT_EN));
+       (void)INREG(reg);
+
        if (out_edid)
                *out_edid = edid;
        if (!edid) {
-
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