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

Ma, Ling ling.ma at intel.com
Fri Jul 3 17:19:04 CEST 2009



>-----Original Message-----
>From: intel-gfx-bounces at lists.freedesktop.org
>[mailto:intel-gfx-bounces at lists.freedesktop.org] On Behalf Of Keith Packard
>Sent: 2009年7月2日 12:32
>To: Zhenyu Wang
>Cc: Ma, Ling; intel-gfx at lists.freedesktop.org
>Subject: Re: [Intel-gfx] [PATCH] detect hdmi monitor by reading edid
>
>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.
Yes, I did as you said: [PATCH] drm/i915: detect hdmi monitor by reading edid
Could you give me a review on it :)
>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.
We once managed to use this approach, but do not get satisfied result,
need to try later.

Thanks
Ma Ling
>
>--
>keith.packard at intel.com


More information about the Intel-gfx mailing list