Messages in this thread | | | From | Ernst Herzberg <> | Subject | Re: Linux 2.6.3-rc3 | Date | Sun, 15 Feb 2004 22:52:17 +0100 |
| |
On Sonntag, 15. Februar 2004 21:11, Peter Osterlund wrote: > Ernst Herzberg <earny@net4u.de> writes: > > Compile warnings with new driver: > > > > [...] > > drivers/video/aty/radeon_base.c: In function > > `radeon_probe_pll_params': drivers/video/aty/radeon_base.c:474: > > warning: `xtal' might be used uninitialized in this function > > This looks like a real bug. I guess the patch below fixes it, but I > can't test it because that code is not executed on my hardware. (And I > doubt it will fix your problem.) > > --- linux/drivers/video/aty/radeon_base.c.old 2004-02-15 > 21:06:02.000000000 +0100 +++ > linux/drivers/video/aty/radeon_base.c 2004-02-15 20:57:22.000000000 > +0100 @@ -566,8 +566,9 @@ > break; > } > > - do_div(vclk, 1000); > - xtal = (xtal * denom) / num; > + vclk *= denom; > + do_div(vclk, 1000 * num); > + xtal = vclk; > > if ((xtal > 26900) && (xtal < 27100)) > xtal = 2700; > > > drivers/video/aty/radeon_base.c: In function `radeon_screen_blank': > > drivers/video/aty/radeon_base.c:944: warning: `val2' might be used > > uninitialized in this function drivers/video/aty/radeon_base.c: In > > function `radeonfb_setcolreg': drivers/video/aty/radeon_base.c:1025: > > warning: `vclk_cntl' might be used uninitialized in this function CC > > net/sunrpc/timer.o > > drivers/video/aty/radeon_base.c: In function `radeon_calc_pll_regs': > > drivers/video/aty/radeon_base.c:1319: warning: `pll_output_freq' might > > be used uninitialized in this function > > I think these warnings are harmless.
This patch does not help, the console is still blank. The monitor shows:
H. Freq 63.98 kHz V. Freq 60.00 HZ Pixel Clock 107.98 Mhz Resolution 1280x1024 Belinea101705
.. but with a black screen...
~Earny - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |