[Intel-gfx] [PATCH] detect hdmi monitor by reading edid

Keith Packard keithp at keithp.com
Thu Jul 2 06:31:48 CEST 2009


On Thu, 2009-07-02 at 11:53 +0800, Zhenyu Wang wrote:

> Maybe that could be another interface, we can check for HDMI/DVI/DP type 
> according with EDID block, which likely can be used in .get_modes, so
> we're sure be fast in detect step.

One thing we need to do is cache the EDID data and discard it only when
we suspect that the monitor may have been switched. With hot-plug
interrupts, we could discard all EDID only then, and otherwise simply
return the same data over and over again. That would make this whole
process a lot faster.

-- 
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/20090701/7d9ad094/attachment.sig>


More information about the Intel-gfx mailing list