From: Vijay Purushothaman Subject: [PATCH v2 5/9] drm/i915: Disable CRT hotplug detection for valleyview Date: Thu, 27 Sep 2012 19:13:05 +0530 Message-ID: <1348753389-30736-6-git-send-email-vijay.a.purushothaman@intel.com> References: <1348753389-30736-1-git-send-email-vijay.a.purushothaman@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id D7C809F5C6 for ; Thu, 27 Sep 2012 06:41:45 -0700 (PDT) In-Reply-To: <1348753389-30736-1-git-send-email-vijay.a.purushothaman@intel.com> 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: Intel Graphics List-Id: intel-gfx@lists.freedesktop.org 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); -- 1.7.9.5