Re: [PATCH 3/3 v2] drm/i915: hot plug/unplug notification to HDMI audio driver

From: Keith Packard
Date: Wed Nov 23 2011 - 14:26:46 EST


On Wed, 23 Nov 2011 16:29:58 +0800, Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote:

> What I need is a hot plug hook that knows whether the monitor is
> plugged or removed, which is only possible if the hook is called
> after ->detect().

That would be mode_set to tell you that the monitor is in use, and the
disable function to tell you when the monitor is no longer in use.

You do not want to do anything to the hardware in the hot_plug paths;
those are strictly informative; telling user space which connectors are
present.

--
keith.packard@xxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature