[Intel-gfx] [PATCH] LVDS: Fix output mode list construction.
Eric Anholt
eric at anholt.net
Tue Oct 13 22:42:57 CEST 2009
On Wed, 2009-10-14 at 06:36 +1000, Dave Airlie wrote:
> On Wed, Oct 14, 2009 at 5:18 AM, Adam Jackson <ajax at redhat.com> wrote:
> > Construct a list of modes smaller than the LVDS panel size if either:
> >
> > - the panel does not have EDID or DisplayID
> > - it has EDID/dID but does not claim to be continuous-frequency (in
> > which case the server would have done it for us already)
> >
> > The old method would attempt to do this by mangling the EDID block and
> > parsed ranges, which was unreasonably fragile, and would fail to do so
> > when EDID existed but claimed only a single mode.
>
> This really should be done in the kernel from what I can see, so all KMS users
> get a consistent list of modes for the LVDS device.
I'd been saying before that it's probably the job of userland to cook up
a bunch of random modes for continuous-frequency outputs, if it wants to
for its interface to users. Some sort of server interface for "give me
a collection of modes below this size at this refresh" (lvds) and "give
me a collection of modes below this size at various refreshes" (vga)
seems like it'd be nice for KMS drivers.
--
Eric Anholt
eric at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091013/7da9148a/attachment.sig>
More information about the Intel-gfx
mailing list