On Thu, 2009-02-12 at 15:07 +0800, Ma Ling wrote:
> On Thu, 2009-02-12 at 03:11 +0800, Adam Jackson wrote:
> > This timing list actually brings up an unpleasant topic.  How are
> > interlaced modes supposed to be represented inside the server?  Detailed
> > blocks seem to mostly be written such that 1080i is described as 1920
> > wide, 540 high, with the interlace bit set; ie, that height is field
> > height.  The mode list you've got here, and the standard mode list
> > already in the server, give height as frame height.
> > 
> I notice xf86GetDefaultModes function will search
> xf86DefaultModes table which also contain interlaced mode, but whether
> duplicate interlaced mode line or not depends on interalceAllowed flag
> set by driver, So can we implement the similar function like that to
> handle CEA short video descriptor, and  Mode structure always use 1080
> as VDisplay?

Hmm.  I think I'd rather GetDefaultModes just duplicate the whole list,
and then validate each of {config,output,default}_modes against
interlaceAllowed and doubleScanAllowed.  As it is, output_modes will
have interlaced modes even if the driver says it can't do them, which is
just foolish.

And yeah, I think frame height is the sensible representation for modes
internally.  Now we just need to figure out how to fix up EDID timings
that are in field height, but that's a fight for another day.

BTW, you should probably send the next version of this series to the new
[email protected] list.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to