From: Sven L. <lu...@dp...> - 2003-03-06 10:33:14
|
On Thu, Mar 06, 2003 at 06:05:37PM +0800, Antonino Daplas wrote: > Yes, there is. Using the "stale" pixelclock, htotal and vtotal, > calculate hsync and vsync. Compare this with your monitor's limit -- if > any fall outside, the entire mode, pixelclock and all is not valid. > > (see fb_get_mode() and fb_validate_mode() in fbmon.c) > > And if you use very narrow vsync and hsync ranges, then the "stale" > pixelclock will always most certainly be invalid. BTW, do we have an easy way of knowing if it is an LCD or analog monitor which is attached to the card (or even a TV) ? I think the radeonfb knows how to do this, not sure though. Friendly, Sven Luther |