On Mon, 2002-07-15 at 06:40, hy0 wrote: 
> >
> > Not every machine has a BIOS.
> In that case, there are a few more things (in addition to panel size) we
> need to worry about before it can work reliably. Things like PLL ref clock,
> display type ... are all derived from video BIOS image.

Yes, I see now that the panel parameters should be less of a problem if the
display type is known.


> > > Is the DDC detection OK?
> >
> > No, because we don't have a way to determine the display type yet (do
> > you happen to know a way which doesn't require a BIOS?). If I hardcode
> >
> > info->DisplayType = MT_LCD;
> > info->DDCType = DDC_DVI;
> >
> > DDC works (nice!), but there's still the same flicker. Option "DDCModes"
> > isn't used, but I assume not providing any Modes is mostly the same.
> 
> I took a shortcut in determining the display type -- thru video BIOS
> settings. It works in most of cases, but not really reliable as seen in your
> case (I have comments on this inside the code, I think). A more proper way
> to enumerate through all DDC types and probe potential connected monitors.
> Once you have EDID data, you can derive its display type. This should work
> in your case.
> 
> But, in general, you cannot conclude there is no display connected if the
> DDC detection fails. A lot of laptop panels simply are not DDC capable, the
> panel info is hardcoded into the BIOS image (this may not apply to you).

Works fine here, and I think it should work with all Apple laptops equipped
with a Radeon. But that doesn't say anything about desktops of course.

> The combination of two methods will make the auto-detection more reliable.

Sounds promising. Will you do that anyway, or should I look into it?


> As for the flicker problem, maybe you can print out all PLL parameters and
> CRTC settings used by driver and compare them with the settings used for
> FBDev. If the driver cannot access BIOS, it'll use the hardcoded PLL
> parameters, I'm not sure if they are correct in your case.

Probably not. I just talked to Ani Joshi on IRC, he's going to integrate
PLL probing code. With that and display type detection from DDC, things
should be looking great. :)


-- 
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to