Re: "nv" driver: Option "FPDither" default value

Benjamin Herrenschmidt <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <1128379861.8267.121.camel@gaston>
>    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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.