[PATCH 8/9] handle cea-ext data block and insert mode into mode list.
Adam Jackson
ajax at nwnk.net
Fri Feb 13 10:45:04 PST 2009
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
xorg-devel at lists.x.org list.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20090213/773d0db1/attachment.pgp>
More information about the xorg
mailing list