From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH v2 5/9] drm/i915: Disable CRT hotplug detection for valleyview Date: Fri, 28 Sep 2012 16:51:21 +0200 Message-ID: <20120928145120.GL2098@bremse> References: <1348753389-30736-1-git-send-email-vijay.a.purushothaman@intel.com> <1348753389-30736-6-git-send-email-vijay.a.purushothaman@intel.com> <20120927082015.7c977aba@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bk0-f49.google.com (mail-bk0-f49.google.com [209.85.214.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 07D259E7FE for ; Fri, 28 Sep 2012 07:51:26 -0700 (PDT) Received: by bkwj4 with SMTP id j4so3332779bkw.36 for ; Fri, 28 Sep 2012 07:51:25 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20120927082015.7c977aba@jbarnes-desktop> 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: Jesse Barnes Cc: Intel Graphics List-Id: intel-gfx@lists.freedesktop.org On Thu, Sep 27, 2012 at 08:20:15AM -0700, Jesse Barnes wrote: > On Thu, 27 Sep 2012 19:13:05 +0530 > Vijay Purushothaman wrote: > > > Temporary work around to avoid spurious crt hotplug interrupts. > > > > Signed-off-by: Vijay Purushothaman > > Signed-off-by: Gajanan Bhat > > --- > > drivers/gpu/drm/i915/intel_crt.c | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c > > index c42b980..5f30364 100644 > > --- a/drivers/gpu/drm/i915/intel_crt.c > > +++ b/drivers/gpu/drm/i915/intel_crt.c > > @@ -308,6 +308,13 @@ static bool valleyview_crt_detect_hotplug(struct drm_connector *connector) > > bool ret; > > u32 save_adpa; > > > > + /* > > + * Disable crt detect hotplug for VLV X0. Spurious hot plug > > + * detect calls crashses the X0 system > > + */ > > + if (IS_VALLEYVIEW(dev)) > > + return false; > > + > > save_adpa = adpa = I915_READ(ADPA); > > DRM_DEBUG_KMS("trigger hotplug detect cycle: adpa=0x%x\n", adpa); > > > > Not sure about this one; your platform seems to be less stable than > mine when it comes to both VGA port handling and legacy VGA I/O... But > I have no problem with it either, I just know it works ok on at least > some of the SDVs, probably depending on board rework and firmware > status. > > Acked-by: Jesse Barnes Since it's unclear whether we need this, I'll punt on this patch here. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch