From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Graunke Subject: Re: Add hook to obtain the irq signal on HDMI connectivity Date: Thu, 24 Nov 2011 16:49:26 -0800 Message-ID: <4ECEE616.606@whitecape.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from homiemail-a14.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by gabe.freedesktop.org (Postfix) with ESMTP id 84D739E830 for ; Thu, 24 Nov 2011 16:48:01 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "Kavuri, Sateesh" Cc: "Intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On 11/24/2011 03:21 AM, Kavuri, Sateesh wrote: > Hi, > > I would like to add a hook to the i915 driver to get a signal whenever an external > connection is made, say a HDMI cable connection. Where would the right place be? > i915_irq.c? > Once I get a signal, I would have to read the EDID data (which I am already done > with) and finally this connection needs to be signaled to the user space (for which > the functionality already exists). > > Can someone point me to the right place? > > Thanks, > Sateesh I believe there is already infrastructure in place for this, so I doubt you'll need to add new hooks to the driver. But display is not my area of expertise; hopefully someone else here can point you at them.