From: Jesse Barnes Subject: Re: [PATCH v2 2/9] drm/i915: Fix SDVO IER and status bits for Valleyview Date: Thu, 27 Sep 2012 08:13:26 -0700 Message-ID: <20120927081326.64d09c0a@jbarnes-desktop> References: <1348753389-30736-1-git-send-email-vijay.a.purushothaman@intel.com> <1348753389-30736-3-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 oproxy6-pub.bluehost.com (oproxy6-pub.bluehost.com [67.222.54.6]) by gabe.freedesktop.org (Postfix) with SMTP id EAC02A01D3 for ; Thu, 27 Sep 2012 08:13:13 -0700 (PDT) In-Reply-To: <1348753389-30736-3-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: Vijay Purushothaman Cc: Intel Graphics List-Id: intel-gfx@lists.freedesktop.org On Thu, 27 Sep 2012 19:13:02 +0530 Vijay Purushothaman wrote: > Fixed SDVOB and SDVOC bit definitions for Valleyview. > > Signed-off-by: Vijay Purushothaman > Signed-off-by: Ben Widawsky > --- > drivers/gpu/drm/i915/i915_irq.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c > index d915126..1a974d9 100644 > --- a/drivers/gpu/drm/i915/i915_irq.c > +++ b/drivers/gpu/drm/i915/i915_irq.c > @@ -2020,7 +2020,6 @@ static int valleyview_irq_postinstall(struct drm_device *dev) > #endif > > I915_WRITE(VLV_MASTER_IER, MASTER_INTERRUPT_ENABLE); > -#if 0 /* FIXME: check register definitions; some have moved */ > /* Note HDMI and DP share bits */ > if (dev_priv->hotplug_supported_mask & HDMIB_HOTPLUG_INT_STATUS) > hotplug_en |= HDMIB_HOTPLUG_INT_EN; > @@ -2028,15 +2027,14 @@ static int valleyview_irq_postinstall(struct drm_device *dev) > hotplug_en |= HDMIC_HOTPLUG_INT_EN; > if (dev_priv->hotplug_supported_mask & HDMID_HOTPLUG_INT_STATUS) > hotplug_en |= HDMID_HOTPLUG_INT_EN; > - if (dev_priv->hotplug_supported_mask & SDVOC_HOTPLUG_INT_STATUS) > + if (dev_priv->hotplug_supported_mask & SDVOC_HOTPLUG_INT_STATUS_I915) > hotplug_en |= SDVOC_HOTPLUG_INT_EN; > - if (dev_priv->hotplug_supported_mask & SDVOB_HOTPLUG_INT_STATUS) > + if (dev_priv->hotplug_supported_mask & SDVOB_HOTPLUG_INT_STATUS_I915) > hotplug_en |= SDVOB_HOTPLUG_INT_EN; > if (dev_priv->hotplug_supported_mask & CRT_HOTPLUG_INT_STATUS) { > hotplug_en |= CRT_HOTPLUG_INT_EN; > hotplug_en |= CRT_HOTPLUG_VOLTAGE_COMPARE_50; > } > -#endif > > I915_WRITE(PORT_HOTPLUG_EN, hotplug_en); > Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center