From: Simon Farnsworth Subject: Re: [PATCH] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI Date: Tue, 20 Sep 2011 15:18:34 +0100 Message-ID: <201109201518.35248.simon.farnsworth@onelan.co.uk> References: <1316528258-23006-1-git-send-email-simon.farnsworth@onelan.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from claranet-outbound-smtp00.uk.clara.net (claranet-outbound-smtp00.uk.clara.net [195.8.89.33]) by gabe.freedesktop.org (Postfix) with ESMTP id 290CFA0AEA for ; Tue, 20 Sep 2011 07:18:39 -0700 (PDT) In-Reply-To: <1316528258-23006-1-git-send-email-simon.farnsworth@onelan.co.uk> 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: Keith Packard Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tuesday 20 September 2011, Simon Farnsworth wrote: > I was seeing a nasty 5 frame glitch every 10 seconds, caused by the > poll for connection on DVI attached by SDVO. > > As my SDVO DVI supports hotplug detect interrupts, the fix is to > enable them, and hook them in to the various bits of driver > infrastructure so that they work reliably. > > With lots of help from Adam Jackson on IRC. > > Signed-off-by: Simon Farnsworth > --- > Changes from v3: > > * As per Chris Wilson's comment, move the hotplug enable from > intel_sdvo_init to intel_sdvo_dvi_init. Should correctly enable HPD > if only one of a multifunction SDVO pair supports HPD. > Note that I forgot to update the subject line - this is patch v4. -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/