[Intel-gfx] [PATCH] Use enable bit for LVDS detect

Keith Packard keithp at keithp.com
Fri Nov 21 20:00:16 CET 2008


On Fri, 2008-11-21 at 10:08 -0800, Jesse Barnes wrote:

>   if ((I915_READ(LVDS) & LVDS_EN) && i830_lvds_lid_open(pI830))
>     return TRUE;
>   return FALSE;

I'd say we should use the lid detect but not test whether the LVDS is
currently on.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081121/c080e8ba/attachment.sig>


More information about the Intel-gfx mailing list