If you have a radeon with an ADC or DVI flat panel display, can you test this patch to radeonfb and let me know how things goes ? I need to know if
- The driver worked without the patch or not - The driver works with the patch or not By 'works', I mean, do you get a display ? Regards, Ben.
===== drivers/video/radeon.h 1.16 vs edited ===== --- 1.16/drivers/video/radeon.h Fri Mar 14 19:07:28 2003 +++ edited/drivers/video/radeon.h Tue Mar 25 16:44:06 2003 @@ -565,7 +565,7 @@ #define TMDS_PLL_EN (1 << 0) #define TMDS_PLLRST (1 << 1) #define TMDS_RAN_PAT_RST (1 << 7) -#define ICHCSEL (1 << 28) +#define TMDS_ICHCSEL (1 << 28) /* FP_HORZ_STRETCH bit constants */ #define HORZ_STRETCH_RATIO_MASK 0xffff ===== drivers/video/radeonfb.c 1.44 vs edited ===== --- 1.44/drivers/video/radeonfb.c Mon Mar 24 12:01:51 2003 +++ edited/drivers/video/radeonfb.c Tue Mar 25 16:44:36 2003 @@ -3053,13 +3053,15 @@ } else { /* DFP */ newmode.fp_gen_cntl |= (FP_FPON | FP_TMDS_EN); - newmode.tmds_transmitter_cntl = (TMDS_RAN_PAT_RST | ICHCSEL) & + newmode.tmds_transmitter_cntl = (TMDS_RAN_PAT_RST | TMDS_ICHCSEL) & ~(TMDS_PLLRST); +#if 0 /* Happens on r200 too, we disable that code for now and see... */ /* There is something wrong with setting TMDS_PLL_EN * bit on older radeon's with ADC monitors */ if (rinfo->arch != RADEON_R100) newmode.tmds_transmitter_cntl |= TMDS_PLL_EN; +#endif newmode.crtc_ext_cntl &= ~CRTC_CRT_ON; }