Whoops, I'm wrong.  It turns out it's not in the EDID.  For
desktop systems this is set in the control panel.  For laptops,
the driver keeps a list of known panels.  The iMac is essentially
a laptop.

                Mark.

On Tue, 4 Oct 2005, Benjamin Herrenschmidt wrote:

> >    The iMac looks very "laptop-like" so I'm not surprised it has a
> > 6 bit panel.  It might be in the EDID.  I'm not sure how else
> > software would be able to know.
>
> I'll try to find somebody with access to the appropriate VESA specs to
> find out then. The "other" way to know is what Apple does in OS X for
> things like default panel gamma table, backlight value range, etc...
> they have a looooong table of pretty much every monitor they ever
> shipped with those informations.
>
> Another possibility, if possible (I have to dbl check the driver) would
> be to check the dither setting set by the BIOS/firmware. I'm not sure
> it's set wrong on the iMac, I suspect not, in fact, It's probably just
> nvidiafb and X "nv" that disabling it by default. Maybe if we could
> "read" it's previous state the same way we read the panel size from the
> registers, we could use that as a default value when no option is
> specified in the config file.
>
> In a similar vein, I noticed that the kernel fbdev now have some code to
> calculate timings using the CVT algorithm, and that it actually produces
> a working modeline for this panel based solely on the panel size read
> from registers, while X{Free,.org} just picks a scaled mode as 1440x900
> isn't in it's built-in list. I suppose it would be time to rework
> xf86Modes.c a bit to better deal with flat panels anyway, I'll look into
> it if I ever find time...
>
> Ben.
>
>
> _______________________________________________
> Devel mailing list
> Devel@XFree86.Org
> http://XFree86.Org/mailman/listinfo/devel
>
_______________________________________________
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel

Reply via email to