[Intel-gfx] [Patch 0/3] DRM/I915: Use the child device array to decide whether the given HDMI/DP should be initialzied

Adam Jackson ajax at redhat.com
Fri Sep 18 22:00:55 CEST 2009


On Fri, 2009-09-18 at 08:53 +0800, ykzhao wrote:
> On Fri, 2009-09-18 at 03:20 +0800, Adam Jackson wrote:
> > - TV seems to be device type 1009, and LFP to be 1022, but those aren't
> > in intel_bios.h.  Would be nice to resync that with the BIOS sources.
> It is also ok to add their definition.(TV_TYPE, LFP_TYPE). But now the
> child device array is not used to initialize the TV/LVDS. So it is
> unnecessary to add their definitions.

I think it's desirable for LFP.  The ACPI lid presence hack we're using
now is kind of gross, and I have at least two machines within arm's
reach where it's just plain wrong.

In particular, for mobile parts the child device array seems to always
contain an entry for LFP_TYPE.  However, it appears that addin_offset in
that entry is non-zero iff LVDS really is present.  I'm still collecting
more ROMs to verify this, but so far it looks pretty consistent.

- 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.freedesktop.org/archives/intel-gfx/attachments/20090918/d23d3dcc/attachment.sig>


More information about the Intel-gfx mailing list